You are missing a required library.  From the name, I'm guessing it's the
yacc package...

However, I can't seem to find any references to yylex in the source

The question was asked once before
(http://listmanager.unipi.it/pipermail/ntop/2001-June/000209.html), but no
reply ever surfaced.

I would install yacc and recompile.

Also--

Excerpted & Slightly updated from a 07Jan2001 post to ntop and ntop-dev)

Please give us more information...  Please reply to the list, not to me
privately...

Specifically:

  Hardware
     Type & # of processors
     Amount of memory
     # network interfaces and types (vendor, bus, etc.)

  Software
     NTop version, source and any applied patches
            If you've compiled from the source, say so!
            If you're using a package (such as an .rpm), where did you get
it from and what is the EXACT name?
     The EXACT command line you are using to invoke NTop
     OS vendor & version
     Any major upgrades (kernel, networking, etc.)
     gcc version (e.g. gcc --version)
     glibc version
     What else is running

   Network
     Roughly where are the interface(s) you're monitoring (Public Internet,
Private LAN, what?)
     What's the bandwidth (e.g. 10 Mbps University internet, 1.5 Mbps T1,
CableModem capped at 1.5Mbps, 56K dialup)
     How many machines (traffic sources/destinations) and users

   Operations
     The EXACT command like you use to invoke ntop.  If it's in a script,
cut & paste it and resolve all the variables!
     Error Messages:  Cut & paste the exact text.  If it's in the log, give
us 15 or 20 lines before.

(If you're uncomfortable giving specifics, then leave it generic)

-----Burton


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Rodrigo Souza
Sent: Wednesday, February 20, 2002 1:37 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] (no subject)


I am with the following error:


gcc -g -O2 -pipe -o .libs/ntop main.o
.libs/libntopreport.so -L/usr/lib/mysql -lmysqlclient -lcrypt -lm -L/home/st
099128
/ntop/gdchart0.94c -lgdchart -L/home/st099128/ntop/gdchart0.94c/gd-1.8.3 -lg
d -L/home/st099128/ntop/gdchart0.94c/gd-1.8.
3/libpng-1.0.8 -lpng -L/home/st099128/ntop/gdchart0.94c/zlib-1.1.3 -lz -lpth
read -lresolv -lnsl -ldl -lmysqlclient -lcry
pt -lm -lgdchart -lgd -lpng -lz
.libs/libntop.so -L/usr/local/lib -lpcap -lgdbm -lpthread -lresolv -lnsl -ld
l -lmysqlcli
ent -lcrypt -lm -lgdchart -lgd -lpng -lz -lpthread -lresolv -lnsl -ldl -L/us
r/lib/mysql -lmysqlclient -lcrypt -lm -L/hom
e/st099128/ntop/gdchart0.94c -lgdchart -L/home/st099128/ntop/gdchart0.94c/gd
-1.8.3 -lgd -L/home/st099128/ntop/gdchart0.9
4c/gd-1.8.3/libpng-1.0.8 -lpng -L/home/st099128/ntop/gdchart0.94c/zlib-1.1.3
 -lz -Wl,--rpath -Wl,/usr/local/lib
.libs/libntop.so: undefined reference to `lex_init'
.libs/libntop.so: undefined reference to `yylex'
collect2: ld returned 1 exit status
make[2]: *** [ntop] Error 1
make[2]: Leaving directory `/home/st099128/ntop/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/st099128/ntop/ntop'
make: *** [all-recursive-am] Error 2

it can help me ???

thx,

Rodrigo Souza
http://csst.com.br/linuxbox/

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to