Date: Sat, 31 May 2014 17:19:51 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Thomas Mueller <mueller6724@bellsouth.net> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: print/cups-base won't build due to dwarf error in /usr/bin/ld Message-ID: <CAN6yY1vke%2B2Me9PwwXax2ydOajXhDdK=R76GWJ_XMx%2BZXHmpjA@mail.gmail.com> In-Reply-To: <998322.7188.bm@smtp119.sbc.mail.ne1.yahoo.com> References: <998322.7188.bm@smtp119.sbc.mail.ne1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 31, 2014 at 2:25 PM, Thomas Mueller <mueller6724@bellsouth.net> wrote: > I am trying to build cups-related ports needed for print/hplip, but the > latest error is > > /usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only > handles vers > > ion 2 information. > > uname -a shows > > > FreeBSD amelia4 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r265264: Sat May 3 > 16:20:39 UTC 2014 root@amelia4:/usr/obj/usr/src/sys/SANDY11NC amd64 > > This is followed by undefined references avahi-related: > > ../cups/libcups.a(http-support.o): In function `_httpResolveURI': > > http-support.c:(.text+0x1e80): undefined reference to > `avahi_simple_poll_new' > > http-support.c:(.text+0x1eaa): undefined reference to > `avahi_simple_poll_set_fun > > c' > > http-support.c:(.text+0x1eb2): undefined reference to > `avahi_simple_poll_get' > > http-support.c:(.text+0x1ed4): undefined reference to `avahi_client_new' > > http-support.c:(.text+0x1f23): undefined reference to > `avahi_service_resolver_ne > > w' > > http-support.c:(.text+0x1f4a): undefined reference to > `avahi_simple_poll_iterate > > ' > > http-support.c:(.text+0x1fbb): undefined reference to > `avahi_service_resolver_ne > > w' > > http-support.c:(.text+0x2023): undefined reference to > `avahi_simple_poll_iterate > > ' > > http-support.c:(.text+0x2054): undefined reference to `avahi_client_free' > > http-support.c:(.text+0x2060): undefined reference to > `avahi_simple_poll_free' > > ../cups/libcups.a(http-support.o): In function `http_client_cb': > > http-support.c:(.text+0x214e): undefined reference to > `avahi_simple_poll_quit' > > ../cups/libcups.a(http-support.o): In function `http_resolve_cb': > > http-support.c:(.text+0x228f): undefined reference to > `avahi_service_resolver_fr > > ee' > http-support.c:(.text+0x2313): undefined reference to > `avahi_string_list_find' > > http-support.c:(.text+0x2332): undefined reference to > `avahi_string_list_find' > > http-support.c:(.text+0x234f): undefined reference to > `avahi_string_list_get_pai > > r' > > http-support.c:(.text+0x2505): undefined reference to > `avahi_simple_poll_quit' > > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > > gmake[3]: *** [ippserver] Error 1 > > gmake[3]: Leaving directory > `/usr/ports/print/cups-base/work11/cups-1.7.2/test' > > gmake[2]: *** [all] Error 1 > > gmake[2]: Leaving directory `/usr/ports/print/cups-base/work11/cups-1.7.2' > > *** Error code 1 > > > > Stop. > > I type this in a text-mode newcons, sorry for inelegant formatting, it > seems there is a lot of unwanted double-spacing such as I never get in > xterm or syscons. > > But what is this dwarf error. Do I need to source-update FreeBSD-current > installation, would that give me a more workable /usr/bin/ld? > > Tom > Seems like this version of cups absolutely requires zeroconf. You can configure with either avahi or mdnsresponder, but the build fails if neither is specified. I have not looked into it to tell if this is an error in the port or that cups now will only run when a zeroconf resolver is available. Not sure about the dwarf error. I have only seen that when building with debug, so I am surprised to see it during the build. It may not be a real issue. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vke%2B2Me9PwwXax2ydOajXhDdK=R76GWJ_XMx%2BZXHmpjA>