Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ucbcad!ucbvax!ZORAC.ARPA!tim From: tim@ZORAC.ARPA (Tim Pointing) Newsgroups: comp.sys.sgi Subject: Re: (none) Message-ID: <8712072032.AA13097@zorac.ARPA> Date: Mon, 7-Dec-87 15:32:10 EST Article-I.D.: zorac.8712072032.AA13097 Posted: Mon Dec 7 15:32:10 1987 Date-Received: Sun, 13-Dec-87 04:56:36 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 13 The solution to your problem is quite simple. The cause of the problem is that the "-l" flag on cc is the only one that is position depenant. The "-lbsd" should one of the last things on the compile line - it has to come after all of the object modules and libraries that reference things from the library. The correct line from the above compile line would be: cc -I/usr/include/sun -I/usr/include/bsd -o lwpr lwpr.o -lcap -lbsd (assuming the "cap" library referneced things in the bsd library and not vice versa.) Tim Pointing, DCIEM tim@zorac.arpa