Mailing List Archive

fresh cvs checkout won't build
Hi All,

I'm new to this list, so this will probably seem like a stupid question,
but please just point me to the correct resource to read and I will.
This afternoon I did a fresh cvs checkout of the HEAD branch, and
"libnasl" will not build successfully. It compiles a bunch of stuff
correctly, an then it blows out at the point below. Anyone have any
ideas what I am doing wrong?

Thanks,
Rick Ross

---
gcc -pipe -g -O2 `sh ./cflags` -I. -I/build/nessus/libnasl/include -o
nasl -DVERSION=\"2.1.0\" nasl.c nasl_packet_forgery.o nasl_socket.o
nasl_crypto.o nasl_http.o nasl_host.o nasl_text_utils.o
nasl_nessusd_glue.o nasl_misc_funcs.o nasl_unsafe.o capture_packet.o
nasl_grammar.tab.o nasl_tree.o nasl_var.o exec.o nasl_lex_ctxt.o
nasl_func.o nasl_init.o strutils.o regex.o lfind.o smb_crypt.o
smb_crypt2.o md5.o hmacmd5.o preparse.o nasl_server.o nasl_debug.o
-lrpcsvc `/usr/local/bin/nessus-config --libs`
preparse.o(.text+0x659): In function `nasl_saved_parsed_cell':
/build/nessus/libnasl/nasl/preparse.c:366: undefined reference to
`nasl_regorig'
collect2: ld returned 1 exit status
make[1]: *** [nasl] Error 1
make[1]: Leaving directory `/build/nessus/libnasl/nasl'
make: *** [all] Error 2
---
Re: fresh cvs checkout won't build [ In reply to ]
On Sat, Mar 06, 2004 at 02:27:47PM -0500, Rick Ross wrote:
> Hi All,
>
> I'm new to this list, so this will probably seem like a stupid question,
> but please just point me to the correct resource to read and I will.
> This afternoon I did a fresh cvs checkout of the HEAD branch, and
> "libnasl" will not build successfully. It compiles a bunch of stuff
> correctly, an then it blows out at the point below. Anyone have any
> ideas what I am doing wrong?

Nothing wrong on your side. I fixed the configure scripts, please do :

cd libnasl
make distclean
cvs -z9 update configure configure.in
./configure
make



-- Renaud