I know I'm hard of thinking sometimes, so bare with me. I'm supposed to
create the /etc/lfs-xxx file and also the configureextra/LINUXlfs file ?



Also I have continued to try different compile options I added the
following:
export CPPFLAGS="-lm -lz"
export LDFLAGS="-L/lib"


The ./configure seems to work now with now errors I can see(anything in
particular I should be looking for?).

When I run make it chugs along for some time the fails with the
following:

gcc -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -g
-O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fPIC -o .libs/ntop ntop-main.o
ntop-admin.o  -L/lib -L/usr/local/lib -L/usr/local/src/n/ntop/myrrd
./.libs/libntopreport.so ./.libs/libntop.so -lpthread -lresolv -lnsl -lc
-lssl -lcrypto -lpcap /usr/lib/libgdbm.so -lgd -lpng -lz -lmyrrd
-Wl,--rpath -Wl,/usr/local/lib
./.libs/libntop.so: undefined reference to `log'
./.libs/libntopreport.so: undefined reference to `cos'
./.libs/libntopreport.so: undefined reference to `sin'
/usr/local/lib/libpng.so: undefined reference to `pow'
collect2: ld returned 1 exit status
make[2]: *** [ntop] Error 1


I'm guessing the above are math functions libm.so ?
 
I also notice in the log file there were several entries like this:
gcc: -lm: linker input file unused because linking not done
gcc: -lz: linker input file unused because linking not done


FCC
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Burton Strauss
Sent: Wednesday, December 03, 2003 6:00 PM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop] configure issues

>I saw where you had added a reference to LFS into the
>utils/linuxrelease, I'm not exactly sure what to do from this point.

ntop should now be able to figure out that you're running under LFS (IF,
that is, you created the /etc/lfs-xxxx file like the book says to).
This gives you a hook in the configureextra/LINUXlfs file where you can
put any special configuration commands that you can't resolve via the
usual ./configure parameters.

-----Burton

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


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

Reply via email to