I'm trying to build ffmpeg cvs with imlib2. Here's ffmpeg confgure test for imlib2:

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

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


Is this an imlib problem, or is the configure test incorrect?

sean

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar � get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to