Busy Box [bug -fix]
Patrick S
pda1to8 at gmail.com
Tue May 16 08:11:43 UTC 2006
Hi, Developers,
Busybox is a great piece of software I have every seen!.
I recently use buildroot to build embedded linux, during the process, it
gives me the following errors:
------------------------------------------------------
[sp at spf-pc5-linux busybox]$make
....
LINK busybox_unstripped
/home/sp/buildroot/build_arm/busybox/libbusybox.so: undefined reference to
`llist_free_one'
collect2: ld returned 1 exit status
make[1]: *** [busybox_unstripped] error 1
make: *** [_all] error 2
------------------------------------------------------
I found the helper function has some incorrectness: libbb/list.c
the #ifdef is for every single function, which is fine, however,
L_llst_freerequires the
L_llist_free_one to be defined as well.
What I did was to move the function llist_free_one into the bracket defined
by #ifdef L_llist_free, and remove the block #ifdef L_llist_free_one
attached is the patch for your convenience. (created by diff -Naur )
- Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20060516/97edf19e/attachment-0002.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llist.c.patch
Type: text/x-patch
Size: 671 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060516/97edf19e/attachment.bin
More information about the busybox
mailing list