2.5.53 compile error
Hi there!
I'm trying to compile 2.5.53, getting the following error:
make -f scripts/Makefile.build obj=drivers/media/video
gcc -Wp,-MD,drivers/media/video/.videodev.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=videodev -DKBUILD_MODNAME=videodev -DEXPORT_SYMTAB -c -o drivers/media/video/videodev.o drivers/media/video/videodev.c
ld -m elf_i386 -r -o drivers/media/video/videodev.ko drivers/media/video/videodev.o
gcc -Wp,-MD,drivers/media/video/.v4l2-common.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=v4l2_common -DKBUILD_MODNAME=v4l2_common -DEXPORT_SYMTAB -c -o drivers/media/video/v4l2-common.o drivers/media/video/v4l2-common.c
ld -m elf_i386 -r -o drivers/media/video/v4l2-common.ko drivers/media/video/v4l2-common.o
gcc -Wp,-MD,drivers/media/video/.bttv-driver.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=bttv_driver -DKBUILD_MODNAME=bttv -c -o drivers/media/video/bttv-driver.o drivers/media/video/bttv-driver.c
gcc -Wp,-MD,drivers/media/video/.bttv-cards.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=bttv_cards -DKBUILD_MODNAME=bttv -c -o drivers/media/video/bttv-cards.o drivers/media/video/bttv-cards.cdrivers/media/video/bttv-cards.c: In function `miro_pinnacle_gpio':drivers/media/video/bttv-cards.c:1742: `AUDC_CONFIG_PINNACLE' undeclared (first use in this function) drivers/media/video/bttv-cards.c:1742: (Each undeclared identifier is reported only once drivers/media/video/bttv-cards.c:1742: for each function it appears in.)
make[3]: *** [drivers/media/video/bttv-cards.o] Error 1
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
david:/usr/src/linux-2.5.53# grep -r AUDC_CONFIG_PINNACLE * drivers/media/video/bttv-cards.c: bttv_call_i2c_clients(btv,AUDC_CONFIG_PINNACLE,&id);
Turning off BT848 support fixes this.
Signature · 3 lines
Regards, David Parrish 0410 586 121
On Thu, 2 Jan 2003, David Parrish wrote:
| Hi there! | | I'm trying to compile 2.5.53, getting the following error: | | drivers/media/video/bttv-cards.c: In function `miro_pinnacle_gpio': | drivers/media/video/bttv-cards.c:1742: `AUDC_CONFIG_PINNACLE' undeclared (first use in this function) | drivers/media/video/bttv-cards.c:1742: (Each undeclared identifier is reported only once | drivers/media/video/bttv-cards.c:1742: for each function it appears in.) | make[3]: *** [drivers/media/video/bttv-cards.o] Error 1 | make[2]: *** [drivers/media/video] Error 2 | make[1]: *** [drivers/media] Error 2 | make: *** [drivers] Error 2 | | | david:/usr/src/linux-2.5.53# grep -r AUDC_CONFIG_PINNACLE * | drivers/media/video/bttv-cards.c: bttv_call_i2c_clients(btv,AUDC_CONFIG_PINNACLE,&id); | | Turning off BT848 support fixes this.
Yes, this is old news. :(
Patches for media/video/ are available at
http://bytesex.org/patches/2.5/
Signature · 1 line
~Randy
Sorry, that should be 2.5.54.
Quoted 35 lines · David Parrish
Date: Thu, 2 Jan 2003 15:45:43 +1100
From: David Parrish <[email protected]>
To: Kernel Mailing List <[email protected]>
Subject: 2.5.53 compile errorHi there!
I'm trying to compile 2.5.53, getting the following error:
make -f
scripts/Makefile.buildobj=drivers/media/video
gcc -Wp,-MD,drivers/media/video/.videodev.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=videodev -DKBUILD_MODNAME=videodev -DEXPORT_SYMTAB -c -odrivers/media/video/videodev.odrivers/media/video/videodev.c
ld -melf_i386-r -odrivers/media/video/videodev.kodrivers/media/video/videodev.o
gcc -Wp,-MD,drivers/media/video/.v4l2-common.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=v4l2_common -DKBUILD_MODNAME=v4l2_common -DEXPORT_SYMTAB -c -odrivers/media/video/v4l2-common.odrivers/media/video/v4l2-common.c
ld -melf_i386-r -odrivers/media/video/v4l2-common.kodrivers/media/video/v4l2-common.o
gcc -Wp,-MD,drivers/media/video/.bttv-driver.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=bttv_driver -DKBUILD_MODNAME=bttv -c -odrivers/media/video/bttv-driver.odrivers/media/video/bttv-driver.c
gcc -Wp,-MD,drivers/media/video/.bttv-cards.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=bttv_cards -DKBUILD_MODNAME=bttv -c -odrivers/media/video/bttv-cards.odrivers/media/video/bttv-cards.cdrivers/media/video/bttv-cards.c: In function `miro_pinnacle_gpio':drivers/media/video/bttv-cards.c:1742: `AUDC_CONFIG_PINNACLE' undeclared (first use in this function)drivers/media/video/bttv-cards.c:1742: (Each undeclared identifier is reported only oncedrivers/media/video/bttv-cards.c:1742: for each function it appears in.)
make[3]: *** [drivers/media/video/bttv-cards.o] Error 1
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2david:/usr/src/linux-2.5.53# grep -r AUDC_CONFIG_PINNACLE * drivers/media/video/bttv-cards.c: bttv_call_i2c_clients(btv,AUDC_CONFIG_PINNACLE,&id);Turning off BT848 support fixes this.
Signature · 3 lines
Regards, David Parrish 0410 586 121
Signature · 3 lines
Regards, David Parrish 0410 586 121