Skip to contentSkip to conversation

problem compiling modoule mt9t031 in current v4l-dvb-hg

DISCUSSION Halim Sahin 4 participants 4 messages Mar 7, 2010 – Mar 11, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Folks,
I was not able to build v4l-dvb from hg (checked out today).

/root/work/v4l-dvb/v4l/mt9t031.c:729: error: unknown field 'runtime_suspend' specified in initializer /root/work/v4l-dvb/v4l/mt9t031.c:730: error: unknown field 'runtime_resume' specified in initializer /root/work/v4l-dvb/v4l/mt9t031.c:730: warning: initialization from incompatible pointer type make[3]: *** [/root/work/v4l-dvb/v4l/mt9t031.o] Error 1
make[2]: *** [_module_/root/work/v4l-dvb/v4l] Error 2
make[1]: *** [default] Fehler 2
make: *** [all] Fehler 2
Kernel 2.6.31 (x86_64)
regards
Halim

#1 lore raw

Hi,

Quoted 4 lines · Halim Sahin

Hi Folks,
I was not able to build v4l-dvb from hg (checked out today).

Quoted 8 lines

/root/work/v4l-dvb/v4l/mt9t031.c:729: error: unknown field 'runtime_suspend' specified in initializer /root/work/v4l-dvb/v4l/mt9t031.c:730: error: unknown field 'runtime_resume' specified in initializer /root/work/v4l-dvb/v4l/mt9t031.c:730: warning: initialization from incompatible pointer type make[3]: *** [/root/work/v4l-dvb/v4l/mt9t031.o] Error 1
make[2]: *** [_module_/root/work/v4l-dvb/v4l] Error 2
make[1]: *** [default] Fehler 2
make: *** [all] Fehler 2
Kernel 2.6.31 (x86_64)

What is the CONFIG_PM setting in your environment?

Regards,

Márton Németh

#2 lore raw
In reply to Halim Sahin
Quoted 4 lines · Halim Sahin

Hi Folks,
I was not able to build v4l-dvb from hg (checked out today).

Quoted 8 lines

/root/work/v4l-dvb/v4l/mt9t031.c:729: error: unknown field 'runtime_suspend' specified in initializer /root/work/v4l-dvb/v4l/mt9t031.c:730: error: unknown field 'runtime_resume' specified in initializer /root/work/v4l-dvb/v4l/mt9t031.c:730: warning: initialization from incompatible pointer type make[3]: *** [/root/work/v4l-dvb/v4l/mt9t031.o] Error 1
make[2]: *** [_module_/root/work/v4l-dvb/v4l] Error 2
make[1]: *** [default] Fehler 2
make: *** [all] Fehler 2
Kernel 2.6.31 (x86_64)

runtime-pm has been introduced after 2.6.31.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

#3 lore raw
In reply to Halim Sahin

Hi,

Quoted 4 lines · Halim Sahin

Hi Folks,
I was not able to build v4l-dvb from hg (checked out today).

Quoted 11 lines

/root/work/v4l-dvb/v4l/mt9t031.c:729: error: unknown field 'runtime_suspend' specified in initializer /root/work/v4l-dvb/v4l/mt9t031.c:730: error: unknown field 'runtime_resume' specified in initializer /root/work/v4l-dvb/v4l/mt9t031.c:730: warning: initialization from incompatible pointer type make[3]: *** [/root/work/v4l-dvb/v4l/mt9t031.o] Error 1
make[2]: *** [_module_/root/work/v4l-dvb/v4l] Error 2
make[1]: *** [default] Fehler 2
make: *** [all] Fehler 2
Kernel 2.6.31 (x86_64)
regards
Halim

Thanks for your report.
This issue was resolved, refresh your branch.

Cheers
Douglas