Hi
i try to compile ntop 2.1.3 on OpenBSD 3.1-stable. And i didn't manage
to resolve the following compilation error
mv -f .libs/sflowPlugin.lo sflowPlugin.lo
/bin/sh ../libtool --mode=link gcc -g -O2 -pipe -o libsflowPlugin.la
-rpath /opt/lib -shared -version-info 3:0:0 sflowPlugin.lo -lc_r -lresolv
rm -fr .libs/libsflowPlugin.la .libs/libsflowPlugin.* .libs/libsflowPlugin.*
*** Warning: This library needs some functionality provided by -lresolv.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
gcc -shared -fPIC -o .libs/libsflowPlugin.so.3.0 sflowPlugin.lo
ar cru .libs/libsflowPlugin.a sflowPlugin.o
ranlib .libs/libsflowPlugin.a
creating libsflowPlugin.la
(cd .libs && rm -f libsflowPlugin.la && ln -s ../libsflowPlugin.la
libsflowPlugin.la)
gcc -bundle -flat_namespace -undefined suppress -o
.libs/libicmpPlugin.so.0.0 icmpPlugin.o
gcc: suppress: No such file or directory
gcc: file path prefix `/usr/lib/gcc-lib/undle/2.95.3/' never used
gmake[3]: *** [.libs/libicmpPlugin.so.0.0] Error 1
gmake[3]: Leaving directory `/share2/ob-tmp/ntop-2.1.3/ntop/plugins'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/share2/ob-tmp/ntop-2.1.3/ntop/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/share2/ob-tmp/ntop-2.1.3/ntop'
gmake: *** [all-recursive-am] Error 2
Note: the gcc path is inexistant. it 's
"/usr/lib/gcc-lib/i386-unknown-openbsd3.1/2.95.3/" in place of
"/usr/lib/gcc-lib/undle/2.95.3/" but don't know where to change and if
really important
it seems suppress is a undefined symbol (man gcc) and it is looking for
a file ? trying to erase "-u suppress" make Undefined symbols errors
any idea
thanks
Regards
Julien Touche
PS: there may have a previous message, but address is not good so ... sorry
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop