[kde-solaris] KDELIBS 3.1.1 Build Error

Brian Foddy kde-solaris@mail.kde.org
Fri Mar 28 17:40:01 2003


As a quick workaround, I tried simply adding a -lz on the end of the 
erroring
command and it worked fine.  Looks like a small config/makefile bug.
Don't know if its Sun specific or not.

Brian


Brian Foddy wrote:

> On solaris 2.8 with GCC 3.2.2 I've run into the following build
> error on KDELIBS:
>
> ...
> ld: warning: file 
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/../../../libstdc++.so: 
> linked to /usr/local/lib/./libstdc++.so: attempted multiple inclusion 
> of file
> Undefined                       first referenced
> symbol                             in file
> gzread                              
> svgicons/.libs/libkdesvgicons.a(ksvgiconengine.o)  (symbol belongs to 
> implicit dependency /usr/lib/libz.so.1)
> gzopen                              
> svgicons/.libs/libkdesvgicons.a(ksvgiconengine.o)  (symbol belongs to 
> implicit dependency /usr/lib/libz.so.1)
> gzclose                             
> svgicons/.libs/libkdesvgicons.a(ksvgiconengine.o)  (symbol belongs to 
> implicit dependency /usr/lib/libz.so.1)
> ld: fatal: Symbol referencing errors. No output written to 
> .libs/libkdecore.la.closure
> collect2: ld returned 1 exit status
> make[3]: *** [libkdecore.la.closure] Error 1
> make[3]: Leaving directory 
> `/opt/local/build/kde311/kdelibs-3.1.1/kdecore'
>
>
> The first time I was using the standard provided libz with the OS, 
> then I tried
> installing a downloaded libz in /usr/local/lib, but the same result.  
> I'm thinking
> I need some directive on the configure to help it out, but I can't 
> find the exact syntax.
> Any ideas?
>
> Thanks,
> Brian
>
>
> ___________________________________________________
> 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.
>
>