Date: Wed, 10 May 2006 22:24:46 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Miks Tenteris <tenteris@gmail.com> Cc: gnome@freebsd.org Subject: Re: Problems compiling avahi-0.6.10_1 FreeBSD 6.0-RELEASE Message-ID: <1147314286.89732.17.camel@shumai.marcuscom.com> In-Reply-To: <9fe1c77f0605101625o45db75cbv@mail.gmail.com> References: <9fe1c77f0605101625o45db75cbv@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-ky/6qHC23A92CHC2N5KY Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2006-05-11 at 02:25 +0300, Miks Tenteris wrote: > Hello, >=20 > I have problems compiling avahi-0.6.10_1 on > FreeBSD localhost 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 > 09:36:13 UTC 2005 =20 > root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >=20 > # gcc -v > Using built-in specs. > Configured with: FreeBSD/i386 system compiler > Thread model: posix > gcc version 3.4.4 [FreeBSD] 20050518 >=20 >=20 > error message: >=20 > Making all in avahi-discover-standalone > gmake[2]: Entering directory > `/usr/ports/net/avahi/work/avahi-0.6.10/avahi-discover-standalone' > /bin/sh /usr/ports/net/avahi/work/gnome-libtool --tag=3DCC --mode=3Dlink > cc -I.. '-DDEBUG_TRAP=3D__asm__("int $3")' -O2 -fno-strict-aliasing > -pipe -std=3Dc99 -Wall -W -Wextra -pedantic -pipe -Wformat > -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal > -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes > -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels > -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align > -Wwrite-strings -Winline -L/usr/local/lib -o > avahi-discover-standalone avahi_discover_standalone-main.o=20 > ../avahi-common/libavahi-common.la ../avahi-glib/libavahi-glib.la > ../avahi-core/libavahi-core.la -L/usr/local/lib -lglib-2.0 -liconv =20 > -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib > -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -latk-1.0 > -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lXfixes -lcairo > -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lXrender > -lX11 -lXext -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv =20 > -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib > -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -lXrandr -lXi > -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor > -lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz > -lpango-1.0 -lm -lXrender -lX11 -lXext -lgobject-2.0 -lgmodule-2.0 > -lglib-2.0 -liconv > cc -I.. "-DDEBUG_TRAP=3D__asm__(\"int \$3\")" -O2 -fno-strict-aliasing > -pipe -std=3Dc99 -Wall -W -Wextra -pedantic -pipe -Wformat > -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal > -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes > -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels > -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align > -Wwrite-strings -Winline -o .libs/avahi-discover-standalone > avahi_discover_standalone-main.o -Wl,--rpath -Wl,/usr/local/lib > -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib > ../avahi-common/.libs/libavahi-common.so > ../avahi-glib/.libs/libavahi-glib.so > ../avahi-core/.libs/libavahi-core.so > /usr/ports/net/avahi/work/avahi-0.6.10/avahi-common/.libs/libavahi-common= .so > -L/usr/X11R6/lib /usr/X11R6/lib/libglade-2.0.so > /usr/X11R6/lib/libgtk-x11-2.0.so /usr/local/lib/libxml2.so > /usr/X11R6/lib/libgdk-x11-2.0.so -lXrandr -lXi -lXinerama > /usr/local/lib/libatk-1.0.so /usr/X11R6/lib/libgdk_pixbuf-2.0.so > /usr/X11R6/lib/libpangocairo-1.0.so -lXcursor -lXfixes > /usr/local/lib/libcairo.so -lpng /usr/local/lib/libglitz.so > /usr/X11R6/lib/libpangoft2-1.0.so /usr/X11R6/lib/libfontconfig.so > /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lz > /usr/X11R6/lib/libpango-1.0.so -lm -lXrender -lX11 -lXext > /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so > /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so > /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath > -Wl,/usr/X11R6/lib > ../avahi-common/.libs/libavahi-common.so: undefined reference to > `pthread_create' > ../avahi-common/.libs/libavahi-common.so: undefined reference to `pthread= _equal' > ../avahi-common/.libs/libavahi-common.so: undefined reference to `pthread= _join' > gmake[2]: *** [avahi-discover-standalone] Error 1 > gmake[2]: Leaving directory > `/usr/ports/net/avahi/work/avahi-0.6.10/avahi-discover-standalone' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/net/avahi/work/avahi-0.6.10' > gmake: *** [all] Error 2 > *** Error code 2 >=20 > Stop in /usr/ports/net/avahi. > *** Error code 1 >=20 >=20 >=20 > Please advice what to do next. There's something wrong with your linking. Instead of linking to shared objects, it's linking directly to the .so files. Since I cannot reproduce this, I suggest rebuilding all dependencies of avahi. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-ky/6qHC23A92CHC2N5KY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEYqBub2iPiv4Uz4cRArzvAKCOnieyLp9YsxNvJuLtS6uyX+hqcgCcDv+I Ll7FNLBi8yAaiiGaIQx04HI= =hT5c -----END PGP SIGNATURE----- --=-ky/6qHC23A92CHC2N5KY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1147314286.89732.17.camel>