OpenWrt Forum Archive

Topic: busybox don't compil because of undefined reference to `ipkg_op'

The content of this topic has been archived on 6 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Just fetched the 5349 revision of the svn trunk and tried to compil it for Broadcom BCM47xx/53xx [2.6].

Before this, it look for tar in /usb/bin/tar but under my system tar was only found under /bin/tar, I have added a symlink but I don't see any reason to specify a path for tar ???

make V=99 ends with :

/usr/src/CVS/trunk/build_mipsel/busybox-1.2.1/networking/ether-wake.c:243:3: warning: #warning Need to implement ether_hostton() for uClibc
/usr/src/CVS/trunk/build_mipsel/busybox-1.2.1/networking/netmsg.c: In function `netmsg_main':
/usr/src/CVS/trunk/build_mipsel/busybox-1.2.1/networking/netmsg.c:22: warning: unused variable `i'
/usr/src/CVS/trunk/build_mipsel/busybox-1.2.1/networking/udhcp/options.c:44: warning: initializer-string for array of chars is too long
/usr/src/CVS/trunk/build_mipsel/busybox-1.2.1/networking/udhcp/options.c:44: warning: (near initialization for `dhcp_options[26].name')
/tmp/ccC5ssgU.o: In function `ipkg_main':
ipkg.c:(.text.ipkg_main+0xc): undefined reference to `ipkg_op'
collect2: ld returned 1 exit status
make[6]: *** [busybox_unstripped] Error 1
make[5]: *** [all] Error 2
make[5]: Leaving directory `/usr/src/CVS/trunk/build_mipsel/busybox-1.2.1'
make[4]: *** [/usr/src/CVS/trunk/build_mipsel/busybox-1.2.1/.built] Error 2
make[4]: Leaving directory `/usr/src/CVS/trunk/package/busybox'
make[3]: *** [busybox-compile] Error 2
make[3]: Leaving directory `/usr/src/CVS/trunk/package'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/usr/src/CVS/trunk/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/usr/src/CVS/trunk'
make: *** [world] Error 2

I have the very same error. I tried some other older revisions because of kernel-downgrading.
That busybox 1.2.1 compile error occurs since 9 or 10 svn checkouts. Now I am at r5794.

Can anybody give me a hint, where I have to look?

Here's the output:

/home/sven/openWrt/kamikaze/trunk/build_mipsel/busybox-1.2.1/networking/netmsg.c: In function `netmsg_main':
/home/sven/openWrt/kamikaze/trunk/build_mipsel/busybox-1.2.1/networking/netmsg.c:22: warning: unused variable `i'
/home/sven/openWrt/kamikaze/trunk/build_mipsel/busybox-1.2.1/networking/udhcp/options.c:44: warning: initializer-string for array of chars is too long
/home/sven/openWrt/kamikaze/trunk/build_mipsel/busybox-1.2.1/networking/udhcp/options.c:44: warning: (near initialization for `dhcp_options[26].name')
/tmp/cczMCuip.o: In function `ipkg_main':
ipkg.c:(.text.ipkg_main+0xc): undefined reference to `ipkg_op'
collect2: ld returned 1 exit status
make[6]: *** [busybox_unstripped] Error 1
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/sven/openWrt/kamikaze/trunk/build_mipsel/busybox-1.2.1'
make[4]: *** [/home/sven/openWrt/kamikaze/trunk/build_mipsel/busybox-1.2.1/.built] Error 2
make[4]: Leaving directory `/home/sven/openWrt/kamikaze/trunk/package/busybox'
make[3]: *** [busybox-compile] Error 2
make[3]: Leaving directory `/home/sven/openWrt/kamikaze/trunk/package'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/home/sven/openWrt/kamikaze/trunk/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/sven/openWrt/kamikaze/trunk'
make: *** [world] Fehler 2
sven@thinkpad:~/openWrt/kamikaze/trunk$

Thanks and CU

(Last edited by szsoftware on 24 Jan 2007, 21:25)

Current revision builds busybox 1.3.1; compiles fine here.

(Not terribly interested in bugs which only exist in old revisions)

Hi,

I also think it's not the best choice, playing with old revisions.

But till now, the bcm43xx driver in 2.6 isnt working and nobody has suggestions or informations, wether and how it is working or not.
So I tried going back step by step to a maybe working revision, e.g. with an older kernel.
Everything failed. Ah, using 2.6 instead of 2.4 depends on my zd1211 problem.
Kamikaze's zd1211 driver isnt available in 2.4 anymore since 3636.

If I could figure it out, turning it on again, I would be glad.

Any suggestions or help?

Thanks a lot,
Sven

The discussion might have continued from here.