freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] New problem compiling ft2demos 2.1.9


From: Peter Kovar
Subject: Re: [Devel] New problem compiling ft2demos 2.1.9
Date: Tue, 23 Nov 2004 15:32:40 +0100

Try to add linking with math library:
 -lm

> # make
> ../freetype2/builds/unix/libtool --mode=link gcc -o 
> /tmp/ft2demos-2.1.9/bin/ftview /tmp/ft2demos-2.1.9/obj/ftview.o -lz 
> /tmp/freetype2/objs/libfreetype.la  /tmp/ft2demos-2.1.9/obj/common.o 
> /tmp/ft2demos-2.1.9/obj/graph.a -R/usr/X11R6/lib -L/usr/X11R6/lib -lX11
> gcc -o /tmp/ft2demos-2.1.9/bin/.libs/ftview 
> /tmp/ft2demos-2.1.9/obj/ftview.o /tmp/ft2demos-2.1.9/obj/common.o 
> /tmp/freetype2/objs/.libs/libfreetype.so -lz 
> /tmp/ft2demos-2.1.9/obj/graph.a -L/usr/X11R6/lib -lX11 -Wl,--rpath 
> -Wl,/usr/X11R6/lib
> /tmp/ft2demos-2.1.9/obj/ftview.o(.text+0x1c5e): In function `main':
> : undefined reference to `pow'
> /tmp/ft2demos-2.1.9/obj/graph.a(gblender.o)(.text+0x453): In function 
> `gblender_init':
> : undefined reference to `pow'
> /tmp/ft2demos-2.1.9/obj/graph.a(gblender.o)(.text+0x488): In function 
> `gblender_init':
> : undefined reference to `pow'
> /tmp/ft2demos-2.1.9/obj/graph.a(gblender.o)(.text+0x4d8): In function 
> `gblender_init':
> : undefined reference to `pow'
> /tmp/ft2demos-2.1.9/obj/graph.a(gblender.o)(.text+0x602): In function 
> `gblender_init':
> : undefined reference to `pow'
> collect2: ld returned 1 exit status
> make: *** [/tmp/ft2demos-2.1.9/bin/ftview] Error 1
> 
> _______________________________________________
> Devel mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/devel

Attachment: signature.asc
Description: Toto je digitálne podpísaná časť správy


reply via email to

[Prev in Thread] Current Thread [Next in Thread]