Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!lll-tis!mordor!sri-spam!robert From: robert@spam.istc.sri.com Newsgroups: comp.sys.hp Subject: Where are the netinet files? Message-ID: <12104@sri-spam.istc.sri.com> Date: 12 Apr 88 22:53:21 GMT Sender: nobody@sri-spam.istc.sri.com Reply-To: robert@spam.istc.sri.com () Organization: SRI International Lines: 39 I'm in the process of porting some software from a Sun 3/75 to an HP 9000/300. The biggest problem I've encountered thus far is finding a lot of the .h system files on the HP that are on the Sun. I've in- cluded below what differnces I've noted thus far, which are by no means the last. Several problems revolve around the lack of many files which are normally in /usr/include/netinet. What's different between the HP and Sun --------------------------------------- 1. /usr/include/sys/time.h exists on the Sun but doesn't on the HP. It was deleted and /usr/include/time.h was used exclusively. 2. sys/ttychars.h exists on the Sun but doesn't on the HP. It was deleted and /usr/include/sys/termio.h was used. 3. /usr/include/sys/ttydev.h exists on the Sun but doesn't on the HP, it was simply deleted from the gated Makefile. 4. /usr/include/netinet/in_systm.h exists on the Sun but not on the HP. It is the first of several netinet files which I cannot find on the HP. In addition, I've ported some code which uses TCP sockets for IPC. I tried to use the libBSD.a to get the bzero, et. al. functions, but couldn't. The diagnostic from the HP C compiler complained about un- resolved globals (bzero). I finally got it to work by including the full pathname of /usr/lib/libBSD.a to be compiled with the other object files. The "-lBSD" argument to cc didn't work, even though my reading of the cc man page indicates that it should. Any help with this problem as well as the missing files mentioned above would be of great help. Thanks, ---------------------------------------------------------------- Robert Allen, robert@spam.istc.sri.com 415-859-2143 (work phone, days) ----------------------------------------------------------------