[omniORB] Latest omniORB 3.0.4 fails to compile on Solaris

Mark Zimmerman markzimm@frii.com
Wed, 15 May 2002 11:05:38 -0600


On Wed, May 15, 2002 at 10:25:27AM -0600, Mark Zimmerman wrote:
> Greetings:
> 
> I just did a fresh CVS download and attempted to compile on Solaris 7
> and 8. Both failed with the following error:
> 
> "tcpSocketMTfactory.cc", line 628: Error: SOL_TCP is not defined.
> "tcpSocketMTfactory.cc", line 1292: Error: SOL_TCP is not defined.
> 2 Error(s) detected.
> 

I fixed this by using IPPROTO_TCP in place of SOL_TCP. IPPROTO_TCP is
defined in netinet/in.h and is present on all of the systems that are
available to me (Solaris 7 and 8, Linux, AIX).

-- Mark