Re: Pango wont compile



Hi Patrik,

It's because you need to link against the thread library, you should really be seeing a -lthread switch.

James

Im having problems with Pango and also problems on where I should turn myself to get some help with this. Pangos own website doesnt say much but it directs me to gtk and hopefully there is someone here who might help me out. Running FreeBSD and trying to install pango from port but it fails saying this: cc -O -pipe -Wall -o .libs/pango-querymodules querymodules.o -L/usr/local/lib -L/usr/X11R6/lib ./.libs/libpangox-1.0.so ./.libs/libpangoxft-1.0.so /usr/ports/x11-toolkits/pango/work/pango-1.4.0/pango/.libs/libpangoft2-1.0.so -lXft /usr/X11R6/lib/libXrender.so /usr/X11R6/lib/libX11.so /usr/X11R6/lib/libXau.so /usr/X11R6/lib/libXdmcp.so ./.libs/libpangoft2-1.0.so /usr/ports/x11-toolkits/pango/work/pango-1.4.0/pango/.libs/libpango-1.0.so -lfontconfig -lfreetype -lz ./.libs/libpango-1.0.so -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -Wl,--rpath -Wl,/usr/X11R6/lib
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_signal'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_broadcast'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_init'
/usr/X11R6/lib/libX11.so: undefined reference to `getpwuid_r'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_unlock'
/usr/X11R6/lib/libX11.so: undefined reference to `getpwnam_r'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_self'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_destroy'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_lock'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_wait'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_destroy'
/usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_init'
gmake[4]: *** [pango-querymodules] Error 1
gmake[4]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.4.0/pango'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.4.0/pango'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.4.0/pango'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.4.0'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/x11-toolkits/pango.
*** Error code 1
Stop in /usr/ports/net/ethereal. What might be the problem here? And how do I solve it? If im in the complete wrong place, is there someone who knows another mailing-list which maybe could help me out? Best Regards,
Patrik Jansson

------------------------------------------------------------------------

_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list


--
James Williamson
Name On The Net Ltd
web: http://www.nameonthe.net
email: james nameonthe net
phone: +44 (0)870 1657215




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]