Hello,

I have a problem compiling ntop (either 2.1.2, or 2.1.3 or 2.1.50) on MacOS X 10.2 
Jaguar: the very same error appears at the very same place on the 3 releases when 
compiling ntop_darwin.c , line 113 (static enum bool 
NSMakePrivateModulePublic(NSModule module) bla bla).

It says:

[st134c:downloads/ntop-2.1.3/ntop] root# make
make  all-recursive
Making all in .
source='ntop_darwin.c' object='ntop_darwin.lo' libtool=yes \
depfile='.deps/ntop_darwin.Plo' tmpdepfile='.deps/ntop_darwin.TPlo' \
depmode=gcc /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I.     
-no-cpp-precomp -DDARWIN -g -O2 -pipe -c -o ntop_darwin.lo `test -f 'ntop_darwin.c' || 
echo './'`ntop_darwin.c
rm -f .libs/ntop_darwin.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -no-cpp-precomp -DDARWIN -g -O2 -pipe -c 
ntop_darwin.c -Wp,-MD,.deps/ntop_darwin.TPlo  -fno-common -DPIC -o .libs/ntop_darwin.lo
ntop_darwin.c:113: return type is an incomplete type
ntop_darwin.c: In function `NSMakePrivateModulePublic':
ntop_darwin.c:124: warning: `return' with a value, in function returning void
ntop_darwin.c:126: invalid use of undefined type `enum booli'
ntop_darwin.c:126: warning: `return' with a value, in function returning void
ntop_darwin.c: In function `dlopen':
ntop_darwin.c:284: void value not ignored as it ought to be
ntop_darwin.c:366: void value not ignored as it ought to be
make[2]: *** [ntop_darwin.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Did I forget something ???

Any idea ???

(Sorry I don't know C++ so I can't fix it by myself ...)

thanks for any help.

Yves DANDOY
Brussels - Belgium


-- 
"TO DO IS TO BE" Nietzsche
"TO BE IS TO DO" Kant
"DO BE DO BE DO" Sinatra


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to