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?

--- eet.orig/src/lib/Makefile.am        2009-09-10 15:40:32.000000000 +1000
+++ eet/src/lib/Makefile.am     2009-09-10 15:42:13.000000000 +1000
@@ -30,7 +30,7 @@ eet_node.c \
 eet_utils.c
 
 libeet_la_CFLAGS = @EET_CFLAGS@ @DEBUG_CFLAGS@
-libeet_la_LIBADD = @GNUTLS_LIBS@ @OPENSSL_LIBS@ @EFL_COVERAGE_LIBS@ @EET_LIBS@ 
@EINA_LIBS@ @EVIL_LIBS@ -lz -ljpeg -lm
+libeet_la_LIBADD = @GNUTLS_LIBS@ @OPENSSL_LIBS@ @EFL_COVERAGE_LIBS@ @EET_LIBS@ 
@EINA_LIBS@ @EVIL_LIBS@ -lz -ljpeg -lm -ldl -lrt
 libeet_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info 
@version_info@ @release_info@
 
 EXTRA_DIST = Eet_private.h

------------------------------------------------------------------------------
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