Re: Error building ORBit2 on Gnome CVS tip



On Mon, 2002-08-19 at 02:54, Michael Meeks wrote:
> Hi Ian,
> 
> 	Looks like you're building with HEAD glib - I forget precicely what
> change was made to glib - but AFAIR it was such that everything using
> threads that built with it broke.
> 
> 	I forget the fix we need; eitherway I believe downgrading to glib-2.0.X
> will make things work.
> 

For me, changing -pthread to -lpthread in gthread-2.0.pc did the trick.


> On Sat, 2002-08-17 at 02:02, Ian Hickson wrote:
> > Hi.
> > 
> > I'm trying to build ORBit2 from Gnome CVS tip, using "rebuild.sh".
> > 
> > I get the errors listed below in config.log. All the modules before
> > ORBit2 build fine. (Well, after switching aclocal and automake to be
> > pointing sometimes to the 1.4 and sometimes the 1.6 versions, anyway.)
> > 
> > Anyone have any ideas?
> > 
> > 
> > 
> > configure:9066: gcc -o conftest -g -O2   conftest.c     -Wl,--export-dynamic  -L/home/ianh/development/gnome/head/INSTALL/lib -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -llinc    >&5
> > /home/ianh/development/gnome/head/INSTALL/lib/libgthread-2.0.so: undefined reference to `pthread_create'
> > /home/ianh/development/gnome/head/INSTALL/lib/libgthread-2.0.so: undefined reference to `pthread_getspecific'
> > /home/ianh/development/gnome/head/INSTALL/lib/libgthread-2.0.so: undefined reference to `pthread_key_create'
> > /home/ianh/development/gnome/head/INSTALL/lib/libgthread-2.0.so: undefined reference to `pthread_attr_setstacksize'
> > /home/ianh/development/gnome/head/INSTALL/lib/libgthread-2.0.so: undefined reference to `pthread_mutex_trylock'
> > /home/ianh/development/gnome/head/INSTALL/lib/libgthread-2.0.so: undefined reference to `pthread_join'
> > /home/ianh/development/gnome/head/INSTALL/lib/libgthread-2.0.so: undefined reference to `pthread_cond_timedwait'
> > /home/ianh/development/gnome/head/INSTALL/lib/libgthread-2.0.so: undefined reference to `pthread_setspecific'
> > collect2: ld returned 1 exit status
> > configure:9069: $? = 1
> > configure: program exited with status 1
> > configure: failed program was:
> > #line 9057 "configure"
> > #include "confdefs.h"
> >  #include <stdio.h>
> >              main ()
> >              {
> >                return 0;
> >              }
> > configure:9081: error: Linking is badly borked on your system. Please ensure your library path is correct                   Check config.log for details - check near the end of the log above 'failed program was'
> > 
> > 
> > Thanks in advance,
> > -- 
> > Ian Hickson                                      )\._.,--....,'``.    fL
> > "meow"                                          /,   _.. \   _\  ;`._ ,.
> > http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
> > 
> > _______________________________________________
> > orbit-list mailing list
> > orbit-list@gnome.org
> > http://mail.gnome.org/mailman/listinfo/orbit-list
> -- 
>  mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list





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