Unix network programming; compiling source code problem

Unix network programming; compiling source code problem

Post by iconmagl » Thu, 22 Jun 2000 04:00:00



Hi! I am new to unix network programming. I am currently learning
from the book "Unix Network Programming; networking APIs: Sockets and XTI"

I followed the instruction on README. After I've compiled by command
"./configure", then try to compile the subdirectories, it gives an error
like follows:

for example,


gcc -g -02 -D_REENTRANT -Wall -c -o daytimetcpcli.o daytimetcpcli.c
In file included from daytimetcpcli.c:1:
unp.h:144:redefinition of 'struct in_pktinfo'
make: *** [daytimetcpcli.0] Error 1

I don't know why there's error and couldn't find any clue. I compiled it on
linux redhat 6.2 and the source code was downloaded from
http://wwwkahola.com/start
source file: unpv12e.tar.gz

Anyone can help, I would be very appreicate

thank you!

 
 
 

Unix network programming; compiling source code problem

Post by iconmagl » Thu, 22 Jun 2000 04:00:00


Hi! I am new to unix network programming. I am currently learning
from the book "Unix Network Programming; networking APIs: Sockets and XTI"

I followed the instruction on README. After I've compiled by command
"./configure", then try to compile the subdirectories, it gives an error
like follows:

for example,


gcc -g -02 -D_REENTRANT -Wall -c -o daytimetcpcli.o daytimetcpcli.c
In file included from daytimetcpcli.c:1:
unp.h:144:redefinition of 'struct in_pktinfo'
make: *** [daytimetcpcli.0] Error 1

I don't know why there's error and couldn't find any clue. I compiled it on
linux redhat 6.2 and the source code was downloaded from
http://www.kahola.com/start
source file: unpv12e.tar.gz

Anyone can help, I would be very appreicate

thank you!

 
 
 

1. Unix network programming; compiling source code problem

Hi! I am new to unix network programming. I am currently learning
from the book "Unix Network Programming; networking APIs: Sockets and XTI"
I followed the instruction on README. After I've compiled by command
"./configure", then try to compile the subdirectories, it gives an error
like follows:

for example,


gcc -g -02 -D_REENTRANT -Wall -c -o daytimetcpcli.o daytimetcpcli.c
In file included from daytimetcpcli.c:1:
unp.h:144:redefinition of 'struct in_pktinfo'
make: *** [daytimetcpcli.0] Error 1

I don't know why there's error and couldn't find any clue. I compiled it on
linux redhat 6.2 and the source code was downloaded from
http://www.kahola.com/start
source file: unpv12e.tar.gz

Anyone can help, thank you!

2. How to: IBM Trackpoint USB keyboard

3. source code from Unix networking programming Networking APIs:Sockets and XTI

4. Error configuring mysql

5. problems with config source code of unix network programming volume2..

6. Logitech Quickcam Express/Canon Canoscan 600

7. W: Source Code for "UNIX System V Network Programming, Stephen A. Rago

8. processor level 4 ....

9. difficulty compiling the Unix Network Programming libs and code

10. learning unix programming by studying unix source code ?

11. FTP sites with 'UNIX Network Programming' book program code?

12. A problem with compiling Unix Network Programming v1(Stevens)

13. Advanced UNIX Programming source code