Re: NNTPC: Solaris snag

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

 




> > 	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.
> > 
> 
> The problem with this is that, presently, genexterns.sh doesn't
> obey #ifdefs, meaning that on systems that do have usleep() a conflict
> in the automatically generated extern for the libproff usleep results.
> 
> You should be able to get usleep() on solaris with -lbsd or -lcompat
> or by (not sure this is the correct path) setting cc to /usr/ucb/bin/cc
> 
> -- 
> "Of all tyrannies a tyranny sincerely  exercised for the good of its victims 
>  
>  may be the most  oppressive.  It may be better to live under  robber barons 
>  
>  than  under  omnipotent  moral busybodies,  The robber baron's  cruelty may 
>  
>  sometimes sleep,  his cupidity may at some point be satiated; but those who 
>  
>  torment us for own good  will torment us  without end,  for they do so with 
>  the approval of their own conscience."    -   C.S. Lewis, _God in the Dock_ 
> +---------------------+--------------------+---------------------------------
> -+
> |Julian Assange RSO   | PO Box 2031 BARKER | Secret Analytic Guy Union       
>  |
> |proff@suburbia.net   | VIC 3122 AUSTRALIA | finger for PGP key hash ID =    
>  |
> |proff@gnu.ai.mit.edu | FAX +61-3-98199066 | 0619737CCC143F6DEA73E27378933690
>  |
> +---------------------+--------------------+---------------------------------
> -+
> 
> 
	It doesn't have to be external as all the references are within
	libproff/utils.c.

	There are too many problems with the BSD compatability libraries
	to use them.

	As for genexterns.sh, it should be smarter if this is the case.

	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