[EMAIL PROTECTED] writes:
> hello,
> im trying to compile ntop on a solaris 2.6 sparc machine and get this error
>
> gcc -O2 -o ntop ntop.o pbuf.o util.o http.o vendor.o report.o qsort.o
> version.o -lcurses ../libpcap-0.5/libpcap.a -lsocket -lnsl -lpthread
> -lposix4
> Undefined first referenced
> symbol in file
> yylex ../libpcap-0.5/libpcap.a(grammar.o)
> lex_init ../libpcap-0.5/libpcap.a(gencode.o)
> ld: fatal: Symbol referencing errors. No output written to ntop
> make: *** [ntop] Error 1
>
from the libpcap Makefile...
#
# Flex and bison allow you to specify the prefixes of the global symbols
# used by the generated parser. This allows programs to use lex/yacc
# and link against libpcap. If you don't have flex or bison, get them.
#
I suggested this to another frustrated installer and this was his
response.:-
The solution was as follows
1. Install GNU binutils (suns linker barfed twice)
2. ./configure --with-pcap-root=DIR
This solved the problem and allowed ntop to compile. It's functioning
correctly now. Please pass this on to anyone else that had similar
problems.from the libpcap Makefile...
_________________________
| Aaron F. Gee |
| Chief Technical Officer |
| BestNetPC of Palm Coast |
|_________________________|
> any id�s ?
>
> /Jonas Nordell, Sema Group AB
>
>
HTH
--
=========================================================
Gambling: A discretionary tax on | Anthony David
those who were asleep during high | Systems Administrator
school mathematics classes |