Same answer as last time you ASKED THE SAME QUESTION

I have the same problem on my OpenBSD 3.1 machine.

I don't have a solution.

Under Linux I can cause the same problem via make -j2.  The solution is to
do make in plugins/ with -j1 first.  But I don't think that helps under
OpenBSD.


-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
julien Touche
Sent: Friday, October 11, 2002 2:06 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] ntop 2.1.3 on openbsd



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

_______________________________________________
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