Welcome, Guest. Please login or register.

Author Topic: bsdsocket library  (Read 2415 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline siglerTopic starter

  • Newbie
  • *
  • Join Date: Jul 2004
  • Posts: 6
    • Show only replies by sigler
bsdsocket library
« on: April 25, 2005, 09:15:08 PM »
Hello,

I'm trying to use the bsdsocket library. I managed to find some header files somewhere. In the bsdsocket.h it says:

"$Id: bsdsocket.h,v 4.3 1996/03/26 07:45:52 jraja Exp $"

I've copied enough of the files to "gg/os-include/" in the gcc installation so that I don't get any "file not found" errors.

But when I #include in my program, I get lots of prototype declaration conflicts with the file "gg/include/sys/socket.h" (Which I haven't explicitly included)

Can anyone help me on the right approach to installing the header and prototype files correctly? And I couldn't find any documentation either.

thanks,

--
Sigurd Lerstad
 

Offline Zerohero

  • Newbie
  • *
  • Join Date: Oct 2003
  • Posts: 27
    • Show only replies by Zerohero
    • http://www.zerohero.se/
Re: bsdsocket library
« Reply #1 on: April 26, 2005, 12:26:40 AM »
Hello!

I think you need to use the -noixemul switch, otherwise it will load the networking that's in ixemul.library...

Depending on what SDK you got you also need to "fix" the inlcudes with a tool like fd2inline or fd2pragma.

Regards,
Jocke 'Zerohero' Birging
Is that all you got? I\\\'ll take your best shot!