On Sat, 01 May 2004 19:17:41 -0400 sean <[EMAIL PROTECTED]> babbled:

> ffmpeg configure uses this to test for imlib2:

missing -lm :)

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


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
熊耳 - 車君 (数田)                  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


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

Reply via email to