>>>>> "Juan" == Juan M Courcoul <[EMAIL PROTECTED]> writes:

    Juan> I would like to get Nessus up and running in a Mac Powerbook
    Juan> running MacOS X (10.1.3) but haven't been too successful.

[problems linking nasl to _lrand48 and _srand48 elided]

I have the same problem building NASL on MacOS X.  According to the
lrand48 man page, one need only add the appropriate include
(stdlib.h), but when I compile a test program consisting only of a
call to lrand48, the compiler tells me it cannot resolve "_lrand48".
In fact, the "lrand48" and "_lrand48" symbols do not exist in any
libraries currently installed on my G3 system (including OpenSSL).

What I did was to cut the relevant code from FreeBSD's libc (look
under libc/gens/ in CVS) and paste it into libnessus/rand.c.

I don't grok autoconf, so I'll leave a permanent patch up to someone
with a clue.

-- 
Matthew X. Economou <[EMAIL PROTECTED]> - Unsafe at any clock speed!
"We're born with a number of powerful instincts, which are found across all
 cultures.  Chief amongst these are a dislike of snakes, a fear of falling,
 and a hatred of popup windows." --Vlatko Juric-Kokic

Reply via email to