Modify

Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#4999 closed defect (fixed)

Compilation error for ucmb on bcm63xx

Reported by: Daniel Dickinson <cshore@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:

Description

ucmb fails to build with the following errors:

make[3]: Leaving directory `/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/feeds/packages/net/ttcp'
make[3]: Entering directory `/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/feeds/packages/lang/twisted'
make[3]: Leaving directory `/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/feeds/packages/lang/twisted'
make[3]: Entering directory `/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/feeds/packages/utils/ucmb'
mkdir -p /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb
cp -fpR ./driver/* /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/
touch /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/.prepared_eef17072fdc082869ac2e94f99a4bae7
(cd /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/./; if [ -x ./configure ]; then /usr/bin/find /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ -name config.guess | xargs -r -n1 cp /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/scripts/config.guess; /usr/bin/find /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ -name config.sub | xargs -r -n1 cp /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts " CPPFLAGS="-I/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/staging_dir/target-mips_uClibc-0.9.29/usr/include -I/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/staging_dir/target-mips_uClibc-0.9.29/include " LDFLAGS="-L/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/staging_dir/toolchain-mips_gcc-4.1.2_uClibc-0.9.29/usr/lib -L/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/staging_dir/toolchain-mips_gcc-4.1.2_uClibc-0.9.29/lib -L/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/staging_dir/target-mips_uClibc-0.9.29/usr/lib -L/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/staging_dir/target-mips_uClibc-0.9.29/lib "   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=i486-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/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 /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/.configured
make -C "/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/linux-2.6.27.21" CROSS_COMPILE="mips-openwrt-linux-uclibc-" ARCH="mips" SUBDIRS="/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb" EXTRA_CFLAGS="" modules
make[4]: Entering directory `/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/linux-2.6.27.21'
  CC [M]  /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.o
In file included from /home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.c:26:
include/linux/spi/spi_bitbang.h:23: error: field 'work' has incomplete type
/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.c: In function 'ucmb_write':
/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.c:355: warning: unused variable 'chunk_size'
/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.c:355: warning: unused variable 'current_size'
/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.c:355: warning: unused variable 'i'
/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.c: In function 'ucmb_probe':
/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.c:453: error: 'struct spi_gpio_platform_data' has no member named 'sck'
/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.c:454: error: 'struct spi_gpio_platform_data' has no member named 'mosi'
/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.c:455: error: 'struct spi_gpio_platform_data' has no member named 'miso'
/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.c:456: error: 'struct spi_gpio_platform_data' has no member named 'num_chipselect'
make[5]: *** [/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/ucmb.o] Error 1
make[4]: *** [_module_/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb] Error 2
make[4]: Leaving directory `/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/linux-2.6.27.21'
make[3]: *** [/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/build_dir/linux-brcm63xx/ucmb/.built] Error 2
make[3]: Leaving directory `/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/feeds/packages/utils/ucmb'
make[2]: *** [package/feeds/packages/ucmb/compile] Error 2
make[2]: Leaving directory `/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt'
make[1]: *** [/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt/staging_dir/target-mips_uClibc-0.9.29/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/daniel/Projects/openwrt-comtrend/kamikaze-8.09-cshore/openwrt'
make: *** [world] Error 2

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by florian

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

Fixed with [15466].

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.