Re: Help - trouble compiling gnome-libs



On Sun, Apr 05, 1998 at 12:55:56PM -0500, Ed Davison wrote:
> I have been trying to get gnome-libs 0.13 to compile and was having lots
> of errors.  Upgraded to gcc 2.8.0 and things are better except for the
> following:
> 
> ../libgnomeui/.libs/libgnomeui.so: undefined reference to
> `gdk_imlib_destroy_image'
[...]

Hello, I just resolved this same problem :

I guess you did like I did : install Imlib after trying to compile
gnome-libs. Hence config.cache contains still 'no imlib', and linking
doesn't set -lgdk_imlib ...

You just have to "rm config.cache" to make ld use -lgdk_imlib.

But then I also had to add  -L/usr/local/lib to the command used to
link.
How could one add this in a more automated way ?
(I also had to do
'CPPFLAGS="-I/usr/local/include -L/usr/local/lib" ./configure'  ,
like stated by INSTALL, to make it find gtk)

BTW, I'm using egcs 1.0.2.

-- 
 ____________________________________________________________________
|                                                                    |
|  David FAURE                  Phone : Intl.(+33) 4 72 82 94 85     |
|  Departement Informatique             Natl. 04 72 82 94 85         |
|  I.N.S.A  Chambre I 009                                            |
|  69621 VILLEURBANNE CEDEX     E-mail : David.Faure@insa-lyon.fr    |
|  FRANCE                                                            |
|  http://www.insa-lyon.fr/People/AEDI/dfaure/index.html             |
|____________________________________________________________________|



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