Mail Archives: djgpp/1998/03/02/05:11:14
On Sun, 1 Mar 1998, ckchan wrote:
> What i mean here is say i need netdb.h in certain program, that header file
> can't be found in djgpp's include folder. But it is available in linux's
> usr/include folder. What can i do to port the header file to djgpp ??
Your *real* problem is not the missing header. The functions that this
header declares are missing from the DJGPP library. Copying a header
won't help, because the linker won't find these functions which the code
you are trying to compile needs.
You need to find a library which implements the netdb functionality, and
which will compile and work in a DJGPP program. When you find such a
library, it will most probably come with the netdb.h header.
Sorry, I don't know where (or indeed if) such a library is available.
- Raw text -