Modify

Opened 5 years ago

Last modified 4 years ago

#12560 new defect

sierra-directip does not build in r34436

Reported by: risa2000 Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: Cc:

Description

Building ImageBuilder for ar71xx from trunk (r34436) gives error on kmod-usb-sierra-directip package.

make[3]: Entering directory `/home/risa/openwrt/openwrt/package/system/sierra-directip'
make -C "/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/linux-3.6.8" CROSS_COMPILE="mips-openwrt-linux-uclibc-" ARCH="mips" SUBDIRS="/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip" EXTRA_CFLAGS="" modules
make[4]: Entering directory `/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/linux-3.6.8'
  CC [M]  /home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.o
/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.c:1328:16: error: 'usb_serial_probe' undeclared here (not in a function)
/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.c:1329:16: error: 'usb_serial_disconnect' undeclared here (not in a function)
/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.c: In function 'sierra_init':
/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.c:1372:2: error: implicit declaration of function 'usb_serial_register' [-Werror=implicit-function-declaration]
/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.c:1386:2: error: implicit declaration of function 'usb_serial_deregister' [-Werror=implicit-function-declaration]
/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.c: In function '__check_nmea':
/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.c:1405:1: warning: return from incompatible pointer type [enabled by default]
/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.c: In function '__check_debug':
/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.c:1408:1: warning: return from incompatible pointer type [enabled by default]
cc1: some warnings being treated as errors
make[5]: *** [/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/sierra.o] Error 1
make[4]: *** [_module_/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip] Error 2
make[4]: Leaving directory `/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/linux-3.6.8'
make[3]: *** [/home/risa/openwrt/openwrt/build_dir/linux-ar71xx_generic_uClibc-0.9.33.2/sierra-directip/.built] Error 2
make[3]: Leaving directory `/home/risa/openwrt/openwrt/package/system/sierra-directip'
make[2]: *** [package/system/sierra-directip/compile] Error 2
make[2]: Leaving directory `/home/risa/openwrt/openwrt'
make[1]: *** [/home/risa/openwrt/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/risa/openwrt/openwrt'
make: *** [world] Error 2

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by anonymous

Running into the same problem on rt305x. Sierra's code has been unchanged for a long time (and still matches most current code on their website.) My current thought is this code is attempting to build before usbserial. Will attempt to confirm that.

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 new .
Author


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

 
Note: See TracTickets for help on using tickets.