problem compiling modoule mt9t031 in current v4l-dvb-hg
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
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
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/
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