[kde-solaris] KDE 3.1, Sun CC 8

Stefan Teleman steleman at nyc.rr.com
Tue Apr 22 21:48:44 CEST 2003


Hi!

The problem is that the Makefile is not being generated correctly. You 
need to add the following to the Makefile in mcop_mt:

libmcop_mt_la_LIBADD = $(top_builddir)/mcop/libmcop.la \ 						  
		$(top_builddir)/flow/gsl/libgsl.la $(LIBPTHREAD) $(LIBPOSIX4)

( ... snip ... )
LIBS = -lpthread -lposix4

--Stefan

-----

On Tuesday 22 April 2003 17:25, Benjamin S Carrell wrote:
> Hi,
>
> I've been trying to compile kde 3.1.1 on solaris 9 with sun one CC
> version 8 (CC: Sun C++ 5.5 EA2 2003/01/09) with gnu make 3.80. 
> During the linking of libmcop_mt, it dies with an undefined symbol
> error, can anyone help me identifying the library in question?  The
> error i get is below:
>
>
> Making all in mcop_mt make[2]: Entering directory
> `/export/home/carrell/src/kde/arts-1.1.1/mcop_mt' /bin/bash
> ../libtool --silent --mode=link --tag=CXX CC
> -I/opt/SUNWspro/prod/include/CC/Cstd -lCrun -lCstd -o
> libmcop_mt.la.closure libmcop_mt_la_closure.lo -no-undefined
> -version-info 1:0 -mt threads_posix.lo ../mcop/libmcop.la -lpthread
> -lposix4
> libtool: link: warning: `-version-info' is ignored for programs
> Undefined 	first referenced
>  symbol 	 in file
> gsl_g_log 	 .libs/threads_posix.o
> gsl_g_print_fd	 .libs/threads_posix.o
> ld: fatal: Symbol referencing errors. No output written to
> .libs/libmcop_mt.la.closure make[2]: *** [libmcop_mt.la.closure]
> Error 1
> make[2]: Leaving directory
> `/export/home/carrell/src/kde/arts-1.1.1/mcop_mt' make[1]: ***
> [all-recursive] Error 1
> make[1]: Leaving directory
> `/export/home/carrell/src/kde/arts-1.1.1' make: *** [all] Error 2
>
>
> I have tried having it link against gnu libgsl, but that has no
> effect. Could it just be an incompatibility with sun's new
> compiler?
>
> Thanks
> Ben Carrell
>
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management: 
> http://mail.kde.org/mailman/listinfo/kde-solaris. Archives:
> http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.

-- 
Stefan Teleman          'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com                          -Monty Python



More information about the kde-solaris mailing list