Overview
Features
Download
Documentation
Community
Add-Ons & Services

Solaris with GCC build issue

A general discussion forum.

Solaris with GCC build issue

Postby initzero » 20 Nov 2012, 09:16

Hi Poco peeps,

Anyone got successful in building poco library in solaris?

Poco Version: poco-1.4.4-all

Platform :
$ uname -a
SunOS initzero 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V440

$ cat /etc/release
Solaris 9 9/05 s9s_u8wos_05 SPARC
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 04 August 2005

Below is how I configure and build poco.
Code: Select all
$ ./configure --prefix=/home/initzero/BUILD_tools/solaris/poco
   --include-path=/home/initzero/openssl_SOLARIS/openssl-install/include
   --library-path=/home/initzero/openssl_SOLARIS/openssl-install/lib
   --config=SunOS-GCC
   --omit=Data/ODBC,Data/MySQL
$ make


Below is the issue I encountered.
Code: Select all
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libPocoFoundationd.so.14: open failed: No such file or directory
ld: fatal: File processing errors. No output written to /home/initzero/POCO_library/poco-1.4.4-all-solaris/lib/SunOS/sun4u/libPocoFoundationd.so.14


I already tried to change the ld to use the gnu ld instead of the solaris ld but another issue pops out and its much complicated.

Hope someone can help shed light to this issue :( I already wasted 3 days on this issue. Please help.
initzero
 
Posts: 1
Joined: 20 Nov 2012, 06:03

Re: Solaris with GCC build issue

Postby rakesh » 20 Nov 2012, 17:49

I have no idea if the same applies to SPARC builds, but I have been compiling Poco on Solaris 11 with GCC for quite a while now. The page documents what I normally have to do to get the libraries to build.

http://sptci.com/docs/openindiana/poco.html
rakesh
 
Posts: 78
Joined: 13 Apr 2011, 17:43
Location: Chicago


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests