Re: solaris and Xpm failure



You will need to add '-lXpm' to the command line for gcc.  A lot of times,
the easiest way to do this is: 
	CC='gcc -lXpm' make
This lets you get by without editing the Makefile.  Of course, you really
_should_ edit the Makefile.  Incidentally, you HAVE run configure since
installing Xpm, right?  Re-running configure might clear up your problem
pretty quickly.

Patrick


On Wed, 2 Sep 1998, Federspiel wrote:

> Hello,
> I've installed all the libs Patrick subscribed (libpng, z, Xpm), the
> first error was fixed, but now the hell break through.
> Any Idee.
> Thanks
>                             Christian
> 
> I've installed Xpm-3.4k as bin distribution.
> #
> /bin/sh ../libtool --mode=link gcc -g -O2  -o htmltest  test.o
> ../gtk-xmhtml/libgtkxmhtml.la -L/usr/local/lib -L/usr/openwin/lib
> -R/usr/openwin/lib -lgtk-1.1 -lgdk-1.1 -lglib-1.1 -lXext -lX11 -lsocket
> -lnsl -lm ../intl/libintl.a -lm -lresolv -lsocket -lnsl
> gcc -g -O2 -o .libs/htmltest test.o -R/usr/local/lib
> ../gtk-xmhtml/.libs/libgtkxmhtml.so -L/var/src/xpm-3.4k/lib
> -L/var/src/xpm-3.4k/lib -L/usr/local/lib -L/usr/openwin/lib -lgtk-1.1
> -lgdk-1.1 -lglib-1.1 -lXext -lX11 -lsocket -lnsl -lm -lm -lresolv
> -lsocket -lnsl -L/usr/local/lib -L/usr/openwin/lib -R/usr/openwin/lib
> -lgtk-1.1 -lgdk-1.1 -lglib-1.1 -lXext -lX11 -lsocket -lnsl -lm
> ../intl/libintl.a -lm -lresolv -lsocket -lnsl
> Undefined                       first referenced
>  symbol                             in file
> XpmFreeXpmImage                     ../gtk-xmhtml/.libs/libgtkxmhtml.so
> XpmCreateXpmImageFromBuffer         ../gtk-xmhtml/.libs/libgtkxmhtml.so
> XpmGetErrorString                   ../gtk-xmhtml/.libs/libgtkxmhtml.so
> XpmFreeXpmInfo                      ../gtk-xmhtml/.libs/libgtkxmhtml.so
> XpmCreateXpmImageFromData           ../gtk-xmhtml/.libs/libgtkxmhtml.so
> ld: fatal: Symbol referencing errors. No output written to
> .libs/htmltest
> make: *** [htmltest] Error 1
> #
> 
> 
> 
> -- 
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 

----------------------------------------------------------------------
Conventionality is not morality ... To pluck the mask from the face of 
the Pharisee is not to lift an impious hand to the Crown of Thorns.
  			    Charlotte Bronte (see Isaiah 29:13-14)
----------------------------------------------------------------------



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