Click to See Complete Forum and Search --> : Unix Network Programming


silkk
11-14-2002, 05:38 PM
Hi,
has anyone else read the Unix Network Programming Book by:Richard Stevens.

I just got the book and looks really good. my question is all the source code is available and was wandering has anyone compiled it succesfully under redhat cause i cant seem to make the
lib directory properly.
Here is the link for all the source code he uses in the book for his programs:
http://www.kohala.com/start/unpv12e.html

Maybe someone else can try it and see if the have problems as well... I tyred to contact him but i think he is passed away.

Rüpel
11-14-2002, 05:56 PM
i suppose you did check that compile problems (http://www.kohala.com/start/unpv12e.problems.html) page he offers at his website?

just wanted to mention that, no offense! ;)

silkk
11-14-2002, 07:48 PM
Yah i have read the compile errors:
But cant find the error im getting anywhere
the error when i try to "make" the "lib" directory:

gcc -g -02 -D_REENTRANT -Wall -c -o connect_nonb.o connect_nonb.c
In file concluded from coonect_nonb.c:1:
unp.h:114: redefinition of 'struct in_pktinfo'
make: *** [connect_nonb.o] Error 1

Any UNIX proggrammers that can HELP!:confused:

Trying to compile it under RedHat