Configure test problem, they should really use the imlib2-config to
determine the CFLAGS and LDFLAGS. In this case, you could probably fix
the problem by adding -lm to the cc command.

-- 
------------------------------------------------------------------------
| Nathan Ingersoll          \\  Computer Systems & Network Coordinator |
| [EMAIL PROTECTED]   \\  http://www.ruralcenter.org            |
| http://ningerso.atmos.org/  \\  Rural Health Resource Center         |
------------------------------------------------------------------------

On Sat, May 01, 2004 at 09:20:08PM -0400, sean darcy wrote:
> 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

Attachment: signature.asc
Description: Digital signature

Reply via email to