Re: Can't compile Control Center on Solaris



On Thu, Oct 04, 2001 at 09:42:50AM -0500, Kim Scarborough wrote:
> Boy, compiling gnome stuff on Solaris is a nightmare. Today's problem is
> that I'm stuck on control-center 1.4.0.1. The configure works, and the
> make almost finishes (I think), but it dies here:
> 
> gcc -I/opt/include -Wall -Wunused -o .libs/file-types-capplet
> file-types-capplet.o file-types-capplet-dialogs.o file-types-icon-entry.o
> ../../control-center/.libs/libcapplet.so -L/opt/pkgs/ORBit-0.5.8/lib
> -L/opt/pkgs/glib-1.2.10/lib -lORBitCosNaming -lORBit -lIIOP -lORBitutil
> -lglib -lresolv -lnsl -lsocket -lm -lm -ldl
> -L/opt/pkgs/gnome-libs-1.4.1.2/lib -L/opt/pkgs/imlib-1.9.10/lib
> -L/opt/pkgs/gtk+-1.2.10/lib -L/usr/openwin/lib -lgnorba -lORBitCosNaming
> -lORBit -lIIOP -lORBitutil -lresolv -lgnomeui -lart_lgpl -lgdk_imlib -lSM
> -lICE -lgtk -lgdk -lgmodule -ldl -lXext -lX11 -lsocket -lnsl -lm -lgnome
> -lgnomesupport -ldb-3 -lglib -L/opt/pkgs/ORBit-0.5.8/lib
> -L/opt/pkgs/glib-1.2.10/lib -lORBitCosNaming -lORBit -lIIOP -lORBitutil
> -lglib -lresolv -lnsl -lsocket -lm -L/opt/pkgs/gnome-vfs-1.0.2/lib
> -lgnomevfs -lgdk_pixbuf libuuid/libuuid.a
> -R/opt/pkgs/control-center-1.4.0.1/lib -R/usr/openwin/lib
> 
> Undefined                       first referenced
>  symbol                             in file
> oaf_server_info_prop_lookup         file-types-capplet-dialogs.o  (symbol
> belongs to implicit dependency /opt/lib/liboaf.so.0)

OK, I'm no Solaris expert, but I think we've seen this problem before.
Note that the compile line above has no "-loaf" component. So the
compiler fails. But it also thumbs its nose at you right at the end by
saying that it really does know where the library is, but since you
didn't include it specificly, it isn't going to finish the job. (At
least, I _think_ that's what is causing the problem).

So, try to get -loaf into the list of compiler flags. I'm not familiar
with the control center's Makefile, so I can't point you to exactly
where, but that is the general idea.

Hope this helps.

Cheers,
Malcolm

-- 
The hardness of butter is directly proportional to the softness of the bread.




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