LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   bttv + slackware 2.4.20 kernel compile (http://www.linuxquestions.org/questions/linux-general-1/bttv-slackware-2-4-20-kernel-compile-56263/)

neenee 04-22-2003 10:44 AM

bttv + slackware 2.4.20 kernel compile
 
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=v4l2_common -DEXPORT_SYMTAB -c v4l2-common.c
v4l2-common.c:302: redefinition of `v4l2_video_std_fps'
v4l2-common.c:91: `v4l2_video_std_fps' previously defined here
v4l2-common.c:314: redefinition of `v4l2_video_std_construct'
v4l2-common.c:103: `v4l2_video_std_construct' previously defined here
v4l2-common.c:334: redefinition of `v4l2_field_names'
v4l2-common.c:123: `v4l2_field_names' previously defined here
v4l2-common.c:345: redefinition of `v4l2_type_names'
v4l2-common.c:134: `v4l2_type_names' previously defined here
v4l2-common.c:353: redefinition of `v4l2_ioctl_names'
v4l2-common.c:142: `v4l2_ioctl_names' previously defined here
v4l2-common.c:411: redefinition of `__kstrtab_v4l2_video_std_fps'
v4l2-common.c:200: `__kstrtab_v4l2_video_std_fps' previously defined here
v4l2-common.c:411: redefinition of `__ksymtab_v4l2_video_std_fps'
v4l2-common.c:200: `__ksymtab_v4l2_video_std_fps' previously defined here
v4l2-common.c:412: redefinition of `__kstrtab_v4l2_video_std_construct'
v4l2-common.c:201: `__kstrtab_v4l2_video_std_construct' previously defined here
v4l2-common.c:412: redefinition of `__ksymtab_v4l2_video_std_construct'
v4l2-common.c:201: `__ksymtab_v4l2_video_std_construct' previously defined here
v4l2-common.c:414: redefinition of `__kstrtab_v4l2_field_names'
v4l2-common.c:203: `__kstrtab_v4l2_field_names' previously defined here
v4l2-common.c:414: redefinition of `__ksymtab_v4l2_field_names'
v4l2-common.c:203: `__ksymtab_v4l2_field_names' previously defined here
v4l2-common.c:415: redefinition of `__kstrtab_v4l2_type_names'
v4l2-common.c:204: `__kstrtab_v4l2_type_names' previously defined here
v4l2-common.c:415: redefinition of `__ksymtab_v4l2_type_names'
v4l2-common.c:204: `__ksymtab_v4l2_type_names' previously defined here
v4l2-common.c:416: redefinition of `__kstrtab_v4l2_ioctl_names'
v4l2-common.c:205: `__kstrtab_v4l2_ioctl_names' previously defined here
v4l2-common.c:416: redefinition of `__ksymtab_v4l2_ioctl_names'
v4l2-common.c:205: `__ksymtab_v4l2_ioctl_names' previously defined here
v4l2-common.c:513: redefinition of `v4l2_video_std_fps'
v4l2-common.c:302: `v4l2_video_std_fps' previously defined here
v4l2-common.c:525: redefinition of `v4l2_video_std_construct'
v4l2-common.c:314: `v4l2_video_std_construct' previously defined here
v4l2-common.c:545: redefinition of `v4l2_field_names'
v4l2-common.c:334: `v4l2_field_names' previously defined here
v4l2-common.c:556: redefinition of `v4l2_type_names'
v4l2-common.c:345: `v4l2_type_names' previously defined here
v4l2-common.c:564: redefinition of `v4l2_ioctl_names'
v4l2-common.c:353: `v4l2_ioctl_names' previously defined here
v4l2-common.c:622: redefinition of `__kstrtab_v4l2_video_std_fps'
v4l2-common.c:411: `__kstrtab_v4l2_video_std_fps' previously defined here
v4l2-common.c:622: redefinition of `__ksymtab_v4l2_video_std_fps'
v4l2-common.c:411: `__ksymtab_v4l2_video_std_fps' previously defined here
v4l2-common.c:623: redefinition of `__kstrtab_v4l2_video_std_construct'
v4l2-common.c:412: `__kstrtab_v4l2_video_std_construct' previously defined here
v4l2-common.c:623: redefinition of `__ksymtab_v4l2_video_std_construct'
v4l2-common.c:412: `__ksymtab_v4l2_video_std_construct' previously defined here
v4l2-common.c:625: redefinition of `__kstrtab_v4l2_field_names'
v4l2-common.c:414: `__kstrtab_v4l2_field_names' previously defined here
v4l2-common.c:625: redefinition of `__ksymtab_v4l2_field_names'
v4l2-common.c:414: `__ksymtab_v4l2_field_names' previously defined here
v4l2-common.c:626: redefinition of `__kstrtab_v4l2_type_names'
v4l2-common.c:415: `__kstrtab_v4l2_type_names' previously defined here
v4l2-common.c:626: redefinition of `__ksymtab_v4l2_type_names'
v4l2-common.c:415: `__ksymtab_v4l2_type_names' previously defined here
v4l2-common.c:627: redefinition of `__kstrtab_v4l2_ioctl_names'
v4l2-common.c:416: `__kstrtab_v4l2_ioctl_names' previously defined here
v4l2-common.c:627: redefinition of `__ksymtab_v4l2_ioctl_names'
v4l2-common.c:416: `__ksymtab_v4l2_ioctl_names' previously defined here
{standard input}: Assembler messages:
{standard input}:564: Error: symbol `v4l2_field_names' is already defined
{standard input}:577: Error: symbol `v4l2_type_names' is already defined
{standard input}:588: Error: symbol `v4l2_ioctl_names' is already defined
{standard input}:849: Error: symbol `__kstrtab_v4l2_video_std_fps' is already defined
{standard input}:856: Error: symbol `__ksymtab_v4l2_video_std_fps' is already defined
{standard input}:864: Error: symbol `__kstrtab_v4l2_video_std_construct' is already defined
{standard input}:871: Error: symbol `__ksymtab_v4l2_video_std_construct' is already defined
{standard input}:878: Error: symbol `__kstrtab_v4l2_field_names' is already defined
{standard input}:885: Error: symbol `__ksymtab_v4l2_field_names' is already defined
{standard input}:892: Error: symbol `__kstrtab_v4l2_type_names' is already defined
{standard input}:899: Error: symbol `__ksymtab_v4l2_type_names' is already defined
{standard input}:906: Error: symbol `__kstrtab_v4l2_ioctl_names' is already defined
{standard input}:913: Error: symbol `__ksymtab_v4l2_ioctl_names' is already defined
{standard input}:921: Error: symbol `v4l2_field_names' is already defined
{standard input}:934: Error: symbol `v4l2_type_names' is already defined
{standard input}:945: Error: symbol `v4l2_ioctl_names' is already defined
{standard input}:1206: Error: symbol `__kstrtab_v4l2_video_std_fps' is already defined
{standard input}:1213: Error: symbol `__ksymtab_v4l2_video_std_fps' is already defined
{standard input}:1221: Error: symbol `__kstrtab_v4l2_video_std_construct' is already defined
{standard input}:1228: Error: symbol `__ksymtab_v4l2_video_std_construct' is already defined
{standard input}:1235: Error: symbol `__kstrtab_v4l2_field_names' is already defined
{standard input}:1242: Error: symbol `__ksymtab_v4l2_field_names' is already defined
{standard input}:1249: Error: symbol `__kstrtab_v4l2_type_names' is already defined
{standard input}:1256: Error: symbol `__ksymtab_v4l2_type_names' is already defined
{standard input}:1263: Error: symbol `__kstrtab_v4l2_ioctl_names' is already defined
{standard input}:1270: Error: symbol `__ksymtab_v4l2_ioctl_names' is already defined
make[4]: *** [v4l2-common.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.20/drivers/media/video'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/media/video'
make[2]: *** [_subdir_video] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/media'
make[1]: *** [_subdir_media] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/drivers'
make: *** [_dir_drivers] Error 2

at the 'make bzImage' step, i see that ^

what is that? (apart from a mess) any ideas are appreciated.

zapp 05-24-2003 11:31 AM

I am getting those errors too, or atleast was at one time. I got so frustrated with what patches and diff's had been applied and everything that I'm starting over with a fresh kernel source tree, and the latest things off the v4l / bttv site.

Will post reply if it works.


Side note: Isn't it frustrating how poorly documented this linux tv stuff is??? The only docs out there are from roughly 2001, before the 2.4 kernel!

neenee 05-25-2003 05:30 PM

i figured it out by now btw. :)

dickkniep 05-25-2003 05:40 PM

What was wrong?


All times are GMT -5. The time now is 10:32 PM.