Hi Preetish,

On Wednesday 20 October 2010 12:52:39 Preetish wrote:
>
> Hello Laurent
> 
> I must have been half asleep when I was trying to do this . Sorry
> about that. However now that I have gcc on my system, I am still not
> able to compile it :
> 
> ---- snip ----
> 
> make
> make -C /exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l
> make[1]: Entering directory
> `/exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l' creating symbolic
> links...
> make -C firmware prep
> make[2]: Entering directory
> `/exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l/firmware'
> make[2]: Leaving directory
> `/exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l/firmware'
> make -C firmware
> make[2]: Entering directory
> `/exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l/firmware'
> make[2]: Nothing to be done for `default'.
> make[2]: Leaving directory
> `/exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l/firmware'
> Kernel build directory is /lib/modules/2.6.18-194.el5/build
> make -C /lib/modules/2.6.18-194.el5/build
> SUBDIRS=/exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l  modules
> make[2]: Entering directory `/usr/src/kernels/2.6.18-194.el5-x86_64'
>   CC [M]  /exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l/tuner-xc2028.o
> In file included from
> /exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l/tuner-xc2028.c:19:
> /exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l/compat.h:133: error:
> static declaration of 'strict_strtoul' follows non-static declaration
> include/linux/kernel.h:141: error: previous declaration of
> 'strict_strtoul' was here
> make[3]: ***
> [/exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l/tuner-xc2028.o] Error 1
> make[2]: *** [_module_/exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l]
> Error 2 make[2]: Leaving directory
> `/usr/src/kernels/2.6.18-194.el5-x86_64' make[1]: *** [default] Error 2
> make[1]: Leaving directory
> `/exports/preetish/Rpms/v4l-dvb-1da5fed5c8b2/v4l' make: *** [all] Error 2
> 
> ---- snip ----
> 
> Can you suggest what else am I missing .

RHEL 5.5 seems to have backported the strict_strtoul function to 2.6.18. You 
should be able to fix that by editing v4l/compat.h and removing the 
strict_strtoul definition.

Several other functions could have been backported as well. If so you will 
need to modify v4l/compat.h accordingly.

-- 
Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to