Problems Faced While Building OpenPegasus on Solaris Platform

<[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
Hi,

 

We are facing some problems while compiling open-pegasus on Solaris
platform. The following are the 2 ways that we tried :

 

OPTION 1

 

       Compiler Options

 

1.       Open-Pegasus version : 2.10

2.       Compiler : /usr/sfw/bin/gcc

3.       Make : /usr/sfw/bin/gmake

4.       PEGASUS_PLATFORM : SOLARIS_IX86_CC

 

Problems faced

 

1.       Had to re-map CXX = cc to CXX = gcc; from
"platform_SOLARIS_CC.mak"

2.       Had to remove compiler flags : FLAGS += +w -KPIC -mt -xildoff;
from "platform_SOLARIS_CC.mak"

3.       Had to re-map CC to gcc in "pegasus/src/utils/chksrc".

4.       The compilation triggered fine; continued till some files but
then reported the following errors :

 

HTTPAcceptor.cpp: In member function `void
Pegasus::HTTPAcceptor::_bind()':

HTTPAcceptor.cpp:453: error: invalid conversion from `SocketLength*' to
`socklen_t*'

HTTPAcceptor.cpp:453: error:   initializing argument 3 of `int
getsockname(int, sockaddr*, socklen_t*)'

HTTPAcceptor.cpp: In member function `void
Pegasus::HTTPAcceptor::_acceptConnection()':

HTTPAcceptor.cpp:744: error: invalid conversion from `SocketLength*' to
`socklen_t*'

HTTPAcceptor.cpp:744: error:   initializing argument 3 of `int
accept(int, sockaddr*, socklen_t*)'

 

OPTION 2

       Compiler Options

 

1.       Open-Pegasus version : 2.10

2.       Compiler : ucbcc (from Solaris Studio) soft linked to the "cc"
compiler

3.       Make : /usr/sfw/bin/gmake

4.       PEGASUS_PLATFORM : SOLARIS_IX86_CC

 

Problems faced

 

1.       Had to remove compiler flags : FLAGS += +w -KPIC -mt -xildoff;
from "platform_SOLARIS_CC.mak"

2.       The compilation did not go through as lot of shared object
libraries were reported as unidentified by ucb-cc/cc.

 

Is this a known issue or am I doing anything wrong? Kindly suggest.

 

Regards,

Biswapratap.

 

     

"Education is not preparation for life; education is life itself"

Let's educate someone today !!

 


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
image001.jpg (image/jpeg, 2.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.