On Thu, 10 Sep 2009 15:42 +1000, Simon Horman wrote :
> As reported in track ticket 377 (amongst other things), eet seems
> to fail to build (on Debian).
> 
> # svn checkout FOO/eet
> # cd eet
> # ./autogen.sh
> # make
> [snip]
> libtool: link: gcc -std=gnu99 -Wall -O2 -fomit-frame-pointer -pipe 
> -Wl,--as-needed -o .libs/eet eet-eet_main.o  ../../src/lib/.libs/libeet.so
> ../../src/lib/.libs/libeet.so: undefined reference to `clock_gettime'
> ../../src/lib/.libs/libeet.so: undefined reference to `dlsym'
> ../../src/lib/.libs/libeet.so: undefined reference to `dlerror'
> ../../src/lib/.libs/libeet.so: undefined reference to `pthread_spin_lock'
> ../../src/lib/.libs/libeet.so: undefined reference to `pthread_spin_unlock'
> ../../src/lib/.libs/libeet.so: undefined reference to `pthread_spin_init'
> ../../src/lib/.libs/libeet.so: undefined reference to `dladdr'
> ../../src/lib/.libs/libeet.so: undefined reference to `pthread_spin_destroy'
> ../../src/lib/.libs/libeet.so: undefined reference to `dlopen'
> ../../src/lib/.libs/libeet.so: undefined reference to `dlclose'
> collect2: ld returned 1 exit status
> make[3]: *** [eet] Error 1
> make[3]: Leaving directory `/home/horms/projects/e/svn/trunk/eet/src/bin'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/horms/projects/e/svn/trunk/eet/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/horms/projects/e/svn/trunk/eet'
> make: *** [all] Error 2
> 
> A simple solution seems to be to link libeet against ldl and lrt as
> follows. Is this acceptable?

That looks *a lot* like one of eet's dependencies is missing proper linking,
rather as eet itself - as it doesn't have any pthread code nor dlopen code. Have
you checked whether eina is correctly linked against libdl and libpthread ?

Regards,
-- 
Albin Tonnerre

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to