ntop failure to build (where is ticket #13648 and could it help?!?)

Stefmit stefmit at gmail.com
Wed Mar 5 05:09:13 PST 2008


$ sudo port install ntop

....

gnumake  all-recursive
Making all in .
/bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -g -Os -DBUILD=112 -DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/ -F/System/Library/Frameworks/ -pipe -Udarwin9 -Ddarwin9=darwin9 -I. -I/usr/local/include    -I/opt/local/include -DDARWIN -I/usr/local/include  -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -fno-common -DPIC -MT 
address.lo -MD -MP -MF .deps/address.Tpo -c -o address.lo address.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -g -Os -DBUILD=112 -DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/ -F/System/Library/Frameworks/ -pipe -Udarwin9 -Ddarwin9=darwin9 -I. -I/usr/local/include -I/opt/local/include -DDARWIN -I/usr/local/include -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-common -DPIC -MT 
address.lo -MD -MP -MF .deps/address.Tpo -c 
address.c  -fno-common -DPIC -o .libs/address.o
In file included from ntop.h:484,
                 from address.c:21:
globals-structtypes.h:103: error: two or more data types in declaration 
specifiers
globals-structtypes.h:103: warning: useless type name in empty declaration
gnumake[2]: *** [address.lo] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
Error: Target org.macports.build returned: shell command " 
cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ntop/work/ntop-3.3" 
&& gnumake all " returned error 2

....

When searching for ntop failure to build I could only find

http://trac.macosforge.org/projects/macports/ticket/14308

which does not apply in my case, but whose author mentions a ticket #13648, 
with - presumably - a fix, which ticket I could not find:

http://trac.macosforge.org/projects/macports/search?q=13648&noquickjump=1&ticket=on

Any ideas?!?

TIA,
Stefan


More information about the macports-users mailing list