[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-18 17:20:04
|
Bennett Todd <be...@ra...> writes: > 2006-03-17T16:46:36 James Antill: >> Here's a patch: >> >> http://www.and.org/patches/and-httpd-2006-03-17-inline.patch > > And alas, another failure: > > gcc -Os -ffunction-sections -fdata-sections -s -Wl,--gc-sections -o and-httpd and_httpd-mime_types.o and_httpd-httpd_conf_main.o and_httpd-httpd_conf_req.o and_httpd-httpd_policy.o and_httpd-httpd_policy_inline.o and_httpd-bag.o and_httpd-conf.o and_httpd-cntl.o and_httpd-date.o and_httpd-evnt.o and_httpd-hexdump.o and_httpd-opt.o and_httpd-opt_policy.o and_httpd-opt_serv.o and_httpd-vlg.o and_httpd-conf_inline.o and_httpd-opt_policy_inline.o and_httpd-httpd.o and_httpd-and-httpd.o -s -Wl,--gc-sections /usr/lib/libvstr.a /usr/lib/libsocket_poll.a /usr/lib/libtimer_q.a > and_httpd-opt_policy_inline.o(.bss.in6addr_any+0x0): multiple definition of `in6addr_any' > and_httpd-httpd_policy_inline.o(.bss.in6addr_any+0x0): first defined here > and_httpd-opt_policy_inline.o(.bss.in6addr_loopback+0x0): multiple definition of `in6addr_loopback' > and_httpd-httpd_policy_inline.o(.bss.in6addr_loopback+0x0): first defined here > collect2: ld returned 1 exit status > make[2]: *** [and-httpd] Error 1 > make[2]: Leaving directory `/var/tmp/bpmbuild.26475/build/and-httpd-0.99.7/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/var/tmp/bpmbuild.26475/build/and-httpd-0.99.7/src' > make: *** [all-recursive] Error 1 Argghh ... that's the same error, the patch I posted failed to include the changes to the .c files. Sorry. Here's the updated patch with the .c file changes too: http://www.and.org/patches/and-httpd-2006-03-18-inline.patch -- James Antill -- ja...@an... http://www.and.org/and-httpd |