Subject: Re: swapctl make errors
To: Hisashi T Fujinaka <htodd@fls.portland.or.us>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 06/15/1997 13:56:56
On Sat, 14 Jun 1997 23:52:31 -0700 (PDT) 
 Hisashi T Fujinaka <htodd@fls.portland.or.us> wrote:

 > I have been snubbed when I ask about mcount errors. What about this one?

...the mcount errors... no idea... I haven't yet run across such a
problem...

However, regarding mcount, make sure your /usr/share/mk/* files are
completely up to date, and rebuild libc from scratch (make clean first).

This one... you need to build and install a new libc, since the missing
function is a system call stub.

 > ===> swapctl
 > cc  -static -o swapctl swapctl.o swaplist.o 
 > swapctl.o: Undefined symbol `_swapctl' referenced from text segment
 > swapctl.o: Undefined symbol `_swapctl' referenced from text segment
 > swapctl.o: Undefined symbol `_swapctl' referenced from text segment
 > swaplist.o: Undefined symbol `_swapctl' referenced from text segment
 > swaplist.o: Undefined symbol `_swapctl' referenced from text segment
 > *** Error code 1
 > 
 > Stop.
 > *** Error code 1
 > 
 > Stop.
 > 

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939