Re: small configure.in patch



Erwann Chenede <Erwann Chenede Sun COM> writes:

> [....]
> >
> >I don't think this is quite right - in fact, the intent of the
> >GTK+ configure.in 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/libgdk_pixbuf-1.3.so 
> -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/libtiff.so
> ceil                                .libs/libgdk_pixbuf-1.3.so
> pow                                 /opt/gnome/lib/libtiff.so
> sqrt                                /opt/gnome/lib/libtiff.so
> floor                               .libs/libgdk_pixbuf-1.3.so
> exp                                 /opt/gnome/lib/libtiff.so
> ld: fatal: Symbol referencing errors. No output written to 
> .libs/make-inline-pixbuf
> 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 ?

Adding $(MATH_LIB) to LDADDS in gdk-pixbuf/Makefile.am should be
correct and sufficient.
                                        Owen





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