Luca Deri wrote:

| i need to edit config.h to define HAVE_NETINET_IF_ETHER_H and
| HAVE_NET_IF_H (has stated in my previous mail, Nov 8). is there any
| plan to include a correction for this ?

Please explain: it works for me.


just cvs HEAD: compile:


gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include -I/usr/local/include/libpng -I/share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/myrrd -DOPENBSD -I/usr/local/include -I/usr/local/include -I/usr/local/include/libpng -I/share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/myrrd -g -I/usr/include/glib-1.2 -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -g -I/usr/include/glib-1.2 -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -c globals-core.c -Wp,-MD,.deps/globals-core.TPlo -fPIC -DPIC -o .libs/globals-core.lo
globals-core.c: In function `initNtopGlobals':
globals-core.c:387: sizeof applied to an incomplete type
globals-core.c:388: sizeof applied to an incomplete type
gmake[2]: *** [globals-core.lo] Error 1
gmake[2]: Leaving directory `/share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/share2/tmp/_testing/ntop/ntop-cvs-HEAD/ntop'
gmake: *** [all] Error 2


use patch-config_h, works.
(previous post)

| -Wp,-MD,.deps/iface.TPlo  -fPIC -DPIC -o .libs/iface.lo iface.c: In
| function `iface_new': iface.c:178: dereferencing pointer to
| incomplete type iface.c:178: dereferencing pointer to incomplete type

Fixed. Please try
seems ok, thanks luca.

but

gcc -shared rrdPlugin.lo -Wl,-soname -Wl,librrdPlugin-2.2.97.so -o .libs/librrdPlugin-2.2.97.so
(cd .libs && rm -f librrdPlugin.so && ln -s librrdPlugin-2.2.97.so librrdPlugin.so)
ar cru .libs/librrdPlugin.a rrdPlugin.o
ranlib .libs/librrdPlugin.a
creating librrdPlugin.la
(cd .libs && rm -f librrdPlugin.la && ln -s ../librrdPlugin.la librrdPlugin.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/tmp/_testing/ntop/ntop-cvs-HEAD/ntop/plugins'


use patch-plugins-Makefile and compile is good

for now, i don't have check where i could change configure/*.in files to get it directly.

Regards


Julien


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

Reply via email to