Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!helios!n025fc From: n025fc@tamuts.tamu.edu (Kevin Weller) Newsgroups: comp.soft-sys.andrew Subject: Re: Andrew without Internet? Message-ID: Date: 14 Mar 91 19:39:46 GMT References: Sender: usenet@helios.TAMU.EDU Distribution: comp Organization: Texas A&M University, Computer Science Department Lines: 59 In-reply-to: gk5g+@ANDREW.CMU.EDU's message of 11 Mar 91 17:55:41 GMT I wrote: >> I >> thought I configured the installation accordingly, but it seems that >> some source in the overhead library requires true networking support; >> my compile is currently stuck on overhead/util/lib/getaddr.c since my >> machine HAS NO INTERNET ADDRESS to get. In article gk5g+@ANDREW.CMU.EDU (Gary Keim) writes: > Can you send the build errors? If you have the proper include files > this module should compile regardless of you network situation. Please > report which of the include file in that module are actually on your > system. > > Gary Keim > ATK Group I have , which defines the sockaddr and sockaddr_un data structures, plus a few manifest constants. I do NOT have any or header files, which several of the sources in overhead/util/lib need for other structures and constants, such as sockaddr_in, ifreq, SIOCGIFCONF, SOCK_DGRAM, etc. I am also missing and files (makedepend looks for them), which I have always thought were available on only a few platforms; there is no conditional compilation about them, though. Here's a transcript of compile messages for getaddr.c: gcc -DNOSTDHDRS /lib/386/Slibgnu.a /lib/386/Slibsocket.a /lib/386/Slibd\ ir.a /lib/386/Slibmalloc.a /lib/386/Slibx.a /usr/lib/libX11.a /u/users/kevin/li\ b/c/klw.a -c -I. -O -I/usr/local/lib/andrew/include/atk -I/usr/local/lib/andre\ w/include -I//usr/local/lib/gcc-include -I//usr/include getaddr.c getaddr.c: In function getaddr: getaddr.c:27: storage size of `ifc' isn't known getaddr.c:28: storage size of `ifs' isn't known getaddr.c:31: `SOCK_DGRAM' undeclared (first use this function) getaddr.c:31: (Each undeclared identifier is reported only once getaddr.c:31: for each function it appears in.) getaddr.c:34: `ifc' undeclared (first use this function) getaddr.c:34: `ifs' undeclared (first use this function) getaddr.c:36: `SIOCGIFCONF' undeclared (first use this function) getaddr.c:40: invalid use of undefined type `struct ifreq' getaddr.c:45: invalid use of undefined type `struct sockaddr_in' getaddr.c:46: invalid use of undefined type `struct sockaddr_in' -- Kev -- ------------------------------------------------------------------------------ Kevin L. Weller /-------+--------------------\ internet: n025fc@tamuts.tamu.edu | aTm | GIG 'EM, AGGIES! | CIS: 73327,1447 (but I rarely log on) \-------+--------------------/ ------------------------------------------------------------------------------ %SYS-E-BADOPSYS, Fatal system error, DEC VMS halting / "And now for something -SYS-I-GETUNIX, Replace with UNIX immediately! / completely different." ----------------------------------------------------------------- Monty Python