[And-httpd-devel] Re: and-httpd --- socket_poll.h and timer_q.h?
Status: Beta
Brought to you by:
james-antill
From: James A. <ja...@an...> - 2006-03-20 01:40:48
|
Bennett Todd <be...@ra...> writes: > 2006-03-18T17:19:17 James Antill: >> Here's the updated patch with the .c file changes too: >> >> http://www.and.org/patches/and-httpd-2006-03-18-inline.patch > > gcc -Os -ffunction-sections -fdata-sections -s -Wl,--gc-sections -o and-dir_sort and_dir_sort-opt.o and_dir_sort-bag.o and_dir_sort-and-dir_sort.o -s -Wl,--gc-sections /usr/lib/libvstr.a > and_dir_sort-bag.o(.text.bag_cb_sort_key_vers+0x15): In function `bag_cb_sort_key_vers': > : undefined reference to `strverscmp' > collect2: ld returned 1 exit status > make[2]: *** [and-dir_sort] Error 1 > make[2]: Leaving directory `/var/tmp/bpmbuild.11853/build/and-httpd-0.99.7/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/var/tmp/bpmbuild.11853/build/and-httpd-0.99.7/src' > make: *** [all-recursive] Error 1 > > Looks like I need to find a way to tell it, yes, this is Linux, but > no, it's not glibc. Yeh, my fault ... that's on the fix list, but I want a non-trivial fix so haven't got around to it. At the top of bag.c there is: #ifndef __GLIBC__ # define strverscmp(x, y) strcmp(x, y) #endif ...I assume uLibc is defining that due to a lot of things assuming GLibc == Linux. Changing it to an #if 1 will work fine, if I don't do the right fix for the next release I'll autoconf it properly. -- # James Antill -- ja...@an... :0: * ^From: .*james@and\.org /dev/null |