[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-17 16:47:18
|
Bennett Todd <be...@ra...> writes: > 2006-03-15T16:47:19 Bennett Todd: >> 2006-03-15T11:00:28 James Antill: >> > Ahh, you don't have libcap in your distro? >> >> I didn't, but only because it hadn't come up before. I'll try and add it. >> >> > [...] ... this patch should work around that: >> >> But I'll try to test that patch for you first. > > Alas: > > 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.29389/build/and-httpd-0.99.7/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/var/tmp/bpmbuild.29389/build/and-httpd-0.99.7/src' > make: *** [all-recursive] Error 1 Wow ... now that's something I didn't expect. Here's a patch: http://www.and.org/patches/and-httpd-2006-03-17-inline.patch -- James Antill -- ja...@an... http://www.and.org/and-httpd |