Modify

Opened 8 years ago

Closed 8 years ago

#4308 closed defect (fixed)

qc-usb build failure on x86-alix at r13492

Reported by: seniorr@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

During a "Select all packages" build, ran into this:

make[3]: Entering directory `/aux2/src/openwrt/feeds/packages/multimedia/qc-usb'
gzip -dc /src_archive/openwrt/dl/qc-usb-0.6.6.tar.gz | /bin/tar -C /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/.. -xf -

Applying ./patches/001-linux_2_6.patch using plaintext: 
patching file qc-driver.c
patching file qc-memory.c
touch /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/.prepared_452f4fc3b41d5e85dd2508f11dbfb179
(cd /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/./; if [ -x ./configure ]; then /usr/bin/X11/find /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/ -name config.guess | xargs -r -n1 cp /aux2/src/openwrt/scripts/config.guess; /usr
/bin/X11/find /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/ -name config.sub | xargs -r -n1 cp /aux2/src/openwrt/scripts/config.sub; AR=i386-linux-uclibc-ar AS="i386-linux-uclibc-gcc -c -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts"
 LD=i386-linux-uclibc-ld NM=i386-linux-uclibc-nm CC="i386-linux-uclibc-gcc" GCC="i386-linux-uclibc-gcc" CXX="i386-linux-uclibc-g++" RANLIB=i386-linux-uclibc-ranlib STRIP=i386-linux-uclibc-strip OBJCOPY=i386-linux-uclibc-objcopy OBJDUMP=i386-linux-uclibc-
objdump SIZE=i386-linux-uclibc-size CFLAGS="-O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts " CXXFLAGS="-O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts " CPPFLAGS="-I/aux2/src/openwrt/staging_dir/i386/usr/include -I/aux2/src/openwrt/staging_d
ir/i386/include " LDFLAGS="-L/aux2/src/openwrt/staging_dir/toolchain-i386_gcc4.1.2/lib -L/aux2/src/openwrt/staging_dir/i386/usr/lib -L/aux2/src/openwrt/staging_dir/i386/lib " PKG_CONFIG_PATH="/aux2/src/openwrt/staging_dir/i386/usr/lib/pkgconfig:/aux2/src
/openwrt/staging_dir/host/usr/lib/pkgconfig" PKG_CONFIG_LIBDIR="/aux2/src/openwrt/staging_dir/i386/usr/lib/pkgconfig"  ./configure --target=i386-linux --host=i386-linux --build=i486-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-p
refix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls ; fi; )
touch /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/.configured
make -C /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6 LINUX_DIR="/aux2/src/openwrt/build_dir/linux-x86_generic/linux-2.6.27.7" ARCH="i386" CROSS_COMPILE="i386-linux-uclibc-" CC="i386-linux-uclibc-gcc" LD="i386-linux-uclibc-gcc -nodefaultlibs
 -nostartfiles" USER_OPT="" quickcam.ko
make[4]: Entering directory `/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6'
make -C "/aux2/src/openwrt/build_dir/linux-x86_generic/linux-2.6.27.7" SUBDIRS="/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6" modules V=1 USER_OPT=""
make[5]: Entering directory `/aux2/src/openwrt/build_dir/linux-x86_generic/linux-2.6.27.7'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            \
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
        echo;                                                           \
        /bin/false)
mkdir -p /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/.tmp_versions ; rm -f /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/.tmp_versions/*
make -f scripts/Makefile.build obj=/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6
  i386-linux-uclibc-gcc -Wp,-MD,/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/.qc-driver.o.d  -nostdinc -isystem /aux2/src/openwrt/staging_dir/toolchain-i386_gcc4.1.2/lib/gcc/i386-linux-uclibc/4.1.2/include -D__KERNEL__ -Iinclude  -I/aux2/sr
c/openwrt/build_dir/linux-x86_generic/linux-2.6.27.7/arch/x86/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -m32 -msoft-float -mregpar
m=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i386 -mtune=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/
mach-default -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)"  -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.o /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c
In file included from /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c:47:
/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/quickcam.h:129:1: warning: "BIT" redefined
In file included from include/linux/kernel.h:15,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:11,
                 from include/linux/videodev2.h:60,
                 from include/linux/videodev.h:16,
                 from /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/quickcam.h:95,
                 from /aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c:47:
include/linux/bitops.h:6:1: warning: this is the location of the previous definition
/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c: In function 'qc_i2c_init':
/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c:827: warning: assignment from incompatible pointer type
/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c: In function 'qc_isoc_start':
/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c:1869: warning: assignment from incompatible pointer type
/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c: In function 'qc_v4l_ioctl':
/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c:2531: error: 'struct video_device' has no member named 'type'
/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c: At top level:
/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.c:3010: error: unknown field 'type' specified in initializer
make[6]: *** [/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/qc-driver.o] Error 1
make[5]: *** [_module_/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6] Error 2
make[5]: Leaving directory `/aux2/src/openwrt/build_dir/linux-x86_generic/linux-2.6.27.7'
make[4]: *** [quickcam.ko] Error 2
make[4]: Leaving directory `/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6'
make[3]: *** [/aux2/src/openwrt/build_dir/linux-x86_generic/qc-usb-0.6.6/.built] Error 2
make[3]: Leaving directory `/aux2/src/openwrt/feeds/packages/multimedia/qc-usb'
make[2]: *** [package/feeds/packages/qc-usb/compile] Error 2
make[2]: Leaving directory `/aux2/src/openwrt'
make[1]: *** [/aux2/src/openwrt/staging_dir/i386/stamp/.package_compile] Error 2
make[1]: Leaving directory `/aux2/src/openwrt'
make: *** [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Masked with [14089].

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.