# imlib probe
cat > $TMPC << EOF #include <X11/Xlib.h> #include <Imlib2.h> int main( void ) { return (int) imlib_load_font("foo"); } EOF
imlib2=no if $cc -o $TMPE $TMPC -lImlib2 > /dev/null 2>&1 ; then imlib2=yes fi
which fails with imlib2-1.1: cat tmpc.c #include <X11/Xlib.h> #include <Imlib2.h> int main( void ) { return (int) imlib_load_font("foo"); }
gcc -o tmpe tmpc.c -lImlib2
/usr/lib/gcc-lib/athlon-redhat-linux/3.3.3/../../../libImlib2.so: undefined reference to `sqrt'
/usr/lib/gcc-lib/athlon-redhat-linux/3.3.3/../../../libImlib2.so: undefined reference to `floor'
/usr/lib/gcc-lib/athlon-redhat-linux/3.3.3/../../../libImlib2.so: undefined reference to `cos'
/usr/lib/gcc-lib/athlon-redhat-linux/3.3.3/../../../libImlib2.so: undefined reference to `sin'
/usr/lib/gcc-lib/athlon-redhat-linux/3.3.3/../../../libImlib2.so: undefined reference to `pow'
/usr/lib/gcc-lib/athlon-redhat-linux/3.3.3/../../../libImlib2.so: undefined reference to `atan'
/usr/lib/gcc-lib/athlon-redhat-linux/3.3.3/../../../libImlib2.so: undefined reference to `hypot'
collect2: ld returned 1 exit status
I've rebuilt imlib2.
Is this an imlib2 issue or is the configure test incorrect?
sean
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel