[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntop-dev
Subject:    [Ntop-dev] Ntop segfault on Solaris8
From:       "Brett Meehan" <brettmeehan () qantas ! com ! au>
Date:       2003-09-15 2:01:01
Message-ID: OF04D8BAE4.3ED76DFA-ON4A256D9D.00184117 () qantas ! com ! au
[Download RAW message or body]

Folks,

I am still trying to get a working ntop in my own unique way ;-)

Have applied Chris Turbeville's fingerprint patch to todays ntop cvs and
still getting a segfault. I am now guesing that this may be due to me
excluding iconv from the configure, so am now trying to get it to build
including iconv. When I leave $NTOP/configureextra/SOLARIS8 with LDFLAGS="
-L/usr/local/lib -lnsl -lsocket -liconv ${LDFLAGS}" configure dies with the
pcap_open_live error but I get the following in config.log (the real
problem).


configure:7790: gcc -o conftest -g -O2 -I/usr/local/include -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs  -fPIC  -DSOLARIS -I/usr/local/include -L/usr/local/lib
-L/usr/lib -lnsl -lsocket -liconv  -L/usr/local/lib conftest.c  >&5
ld: fatal: library -liconv: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status




so I go looking for the solaris iconv  (tried to build glibc for solaris
but it is not supported on sparc solaris8)
$ cd /usr
$ find . -name *iconv* -print
./lib/iconv
./lib/iconv/sparcv9/geniconvtbl.so
./lib/iconv/geniconvtbl
./lib/iconv/iconv_data
./lib/iconv/geniconvtbl.so
./bin/geniconvtbl
./bin/iconv
./include/iconv.h

to me this indicated the root for glib should be /usr so I add in my
configure  --with-glib-root=/usr but get the same error (ld: fatal: library
-liconv: not found).

then I change $NTOP/configureextra/SOLARIS8  to LDFLAGS="-L/usr/local/lib
-L/usr/lib -lnsl -lsocket -liconv ${LDFLAGS}" but get the same error.

Anyone know how I can get configure to see the solaris iconv?

Thanks in advance
Brett






*******************Confidentiality and Privilege Notice*******************

This email is intended only to be read or used by the addressee. 
It is confidential and may contain legally privileged information. 
If you are not the addressee indicated in this message (or 
responsible for delivery of the message to such person), you 
may not copy or deliver this message to anyone, and you should 
destroy this message and kindly notify the sender by reply email. 
Confidentiality and legal privilege are not waived or lost by
reason of mistaken delivery to you.

Qantas Airways Limited
ABN 16 009 661 901

Visit Qantas online at http://www.qantas.com.au


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic