Re: small patch

>I don't think this is quite right - in fact, the intent of the
>GTK+ is that $(LIBS) is never used at all, since
>we have all sorts of different libraries that might be needed.
>What is the particular link error you are seeing? 
>                                        Owen

That's strange, here it is the link error I'm getting without my patch :

gcc -g -O2 -g -Wall -I/export/home/multihead/install/include/glib-2.0 
-I/export/home/multihead/install/lib/glib-2.0/include -o 
.libs/make-inline-pixbuf make-inline-pixbuf.o .libs/ 
-L/export/home/multihead/install/lib -lgobject-1.3 -lgmodule-1.3 -ldl -lglib-1.3 
-liconv -L/export/home/multihead/install/lib -lgobject-1.3 -lgmodule-1.3 -ldl 
-lglib-1.3 -liconv -ltiff -ljpeg -lpng -lz -R/export/home/multihead/install/lib
Undefined			first referenced
 symbol  			    in file
log                                 /opt/gnome/lib/
ceil                                .libs/
pow                                 /opt/gnome/lib/
sqrt                                /opt/gnome/lib/
floor                               .libs/
exp                                 /opt/gnome/lib/
ld: fatal: Symbol referencing errors. No output written to 
collect2: ld returned 1 exit status

If I apply that change it the -lm is included and the linker doesn't 
complain anymore.

So if this is not the right place to modify to get -lm included
could you tell me were should I look ?



[ I speak for myself, not for my employer. ]
  Erwann Chénedé, Sun Microsystems Ireland
  Desktop Applications & Middleware Group

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