LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Where can I find compilable/executable Ping source code (https://www.linuxquestions.org/questions/programming-9/where-can-i-find-compilable-executable-ping-source-code-91200/)

johnsont 09-10-2003 07:14 AM

Where can I find compilable/executable Ping source code
 
Where can I find compilable source code for the Ping program? I have seen some Ping.c source code, but I cannot compile it because I do not have and cannot find all of the needed header files. I would like to tailor the output of the ping program for an evolutionary algorithm that I am working on. I am running a recent version of Red Hat Linux.
Thanks,
Todd

Hko 09-10-2003 10:39 AM

Re: Where can I find compilable/executable Ping source code
 
Quote:

Originally posted by johnsont
but I cannot compile it because I do not have and cannot find all of the needed header files.
Then install them. Probably installing the "glibc-devel....rpm" package will do.

oulevon 09-10-2003 10:48 AM

Like Hko said, just install them. Most of them are standard files. You find the source and the story about the program from the guy who created it. click here

Lugh 09-12-2003 12:20 PM

go to www.kohala.com/~rstevens
get the unix network programming volume 1 ed 2 source code.
I think the file is an acronym along those lines, unpv1...
What you want is in the ping directory.
The source is 5 years old, you'll need to edit one to two files
for things to compile properly.


All times are GMT -5. The time now is 08:06 PM.