This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Connect system call in SCO


>    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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]