Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!FORSYTHE.STANFORD.EDU!STAFF.SAS%CHIP.UChicago From: STAFF.SAS%CHIP.UChicago@FORSYTHE.STANFORD.EDU.UUCP Newsgroups: comp.sys.sgi Subject: Re: (none) Message-ID: <8712071315.aa04091@SMOKE.BRL.ARPA> Date: Mon, 7-Dec-87 13:05:44 EST Article-I.D.: SMOKE.8712071315.aa04091 Posted: Mon Dec 7 13:05:44 1987 Date-Received: Sat, 12-Dec-87 15:43:01 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 42 Thank-you Brendan Eich and Steve Dempsey for your replys concerning BSD compatiability. I now have another question for the net: I have complied, linked, and ranlib'ed a new library called 'libcap' which depends on 'libbsd' for compatiability functions. All seens fine until I go to link 'libbsd' and 'libcap' with one of the example applications in the package. I get undefined symbols from one of the libraries -- 'libbsd' if it is first on the link line and 'libcap' if it is first on the link line. I think that I have created the 'libcap' wrongly, but I have not been able to figure out where I when wrong. Here is the library installation: install: $(LIBCAP) install -U BSD42 $(LIBCAP) $(LIBDIR) ranlib $(LIBDIR)/$(LIBCAP) and here is the compili/link of the sample application: cc -O -I/usr/include/sun -I/usr/include/bsd -c lwpr.c cc -lbsd -I/usr/include/sun -I/usr/include/bsd -o lwpr lwpr.o -lcap Undefined: _gettimeofday _socket _recvmsg _select _ffs _sendmsg _bind _inet_addr _gethostbyname *** Error code 1 Any help is usefull. SaS -------