Re: NNTPC: Solaris snag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> Compiling the latest nntpcache under Solaris 2.4.  Here is the
> tail end of the compile.  I am not a programmer so any help
> would be immensly appreciated.
> 
> thanx
> John Daigneault
> 
> *************************
> 
> a - utils.o
> a - time.o
> a - pattern.o
> a - str.o
> ar: creating libproff.a
> ar: writing libproff.a
> ranlib libproff.a
> Hmmm, looks like your system doesn't have ranlib..
> or you have dot in your path before ranlib
> 
> Delete the file object/ranlib if the latter
> make[1]: Leaving directory `/usr/local/nntpcache/libproff'
> gcc -pipe -Wall -g -O  -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1
> -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_
> H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1
> -DHAVE_SYS_VFS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDA
> RG_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_VALLOC=1 -DHAVE_MMAP=1
> -DRETSIGTYPE=void -DHAVE_STATFS=1 -DHAVE_STATVFS=1  -I.   -c confused.c
> -o confused.o
> gcc -pipe -Wall -o confused confused.o libproff/libproff.a
> Undefined                       first referenced
>  symbol                             in file
> usleep                              libproff/libproff.a(utils.o)
> ld: fatal: Symbol referencing errors. No output written to confused
> make: *** [confused] Error 1
> /usr/local/nntpcache >
> 
> 
	In libproff/utils.c there is a "#ifndef HAVE_USLEEP". The
	function name should be "usleep" not "PLusleep". A patch for this
	has been sent along with some others bug fixes.

	Note: the code will infinitly recurse unless you reorder the
	functions calls check_child() and signal() in sigchld().

	Mark
--
Mark Andrews, CSIRO Div Maths & Stats
Locked Bag 17, North Ryde, NSW 2113, Australia.
PHONE:	+61 2 325 3148			     INTERNET: marka@syd.dms.csiro.au
MOBIL:  +61 41 942 9884               UUCP:....!uunet!syd.dms.csiro.au!marka


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux