This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Connect system call in SCO
- From: Robert Lipe <robertlipe at usa dot net>
- To: "Rakshit Karnavat , Gurgaon" <rakshit at ggn dot hcltech dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 11 Dec 2001 11:02:25 -0600
- Subject: Re: Connect system call in SCO
- References: <5F0021EEA434D511BE7300D0B7B6AB5301AAC71D@MAIL2>
> It is a multithreaded program, using both INET and UNIX domain sockets.
I suspect that's the key clue. OpenServer doesn't support threads.
Look at whatever packaging you're using that's dummying up threads.
That package is presumably responsible for "fixing" errno to make it
thread-safe.
> But it was set to -2146297092(junk probably).
> I don't have a clue what this is.
It may be that your compilatino line isn't turning on whatever manifest
your thread package is using to wrap errno.
RJL