Ignore the warnings (obviously). It's some kind of gcc problem. You'll have to capture the intermediate file and send it to them. Might be nice if we knew which version this is. (oh, and if it's some hokedup RedHat version you'll probably need to bug report to RH - gcc people will only care if it's vanilla gcc).
Manually rerun the gcc line w/ (I think this is the option, check the gcc man page for the 'preprocess only' option, to confirm) -E util.cpp -- that should run only the pre-processor. Then you can manually rerun the gcc w/ util.cpp instead of util.c to execute the compile. That should give the two files they'll need (source and pre-processed source). -----Burton > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Wilson Pires Jr > Sent: Sunday, June 20, 2004 2:24 PM > To: [EMAIL PROTECTED] > Subject: [Ntop] > > > Hi guys, > > I'm trying to compile ntop3.0 in rh9, but i get the following output from > 'make': > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/src/ntop-3.0/myrrd > -I/usr/kerberos/include/ > > -DHAVE_FILEDESCRIPTORBUG -DLINUX -I/usr/include/libxml2/libxml > -I/usr/include/glib-1.2 > > -I/usr/lib/glib/include -I/usr/local/include -I/usr/src/ntop-3.0/myrrd -g > -O2 -I/usr/local/include > > -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations > -Wnested-externs -fPIC -g -O2 > > -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes > -Wmissing-declarations > > -Wnested-externs -fPIC -c util.c -MT util.lo -MD -MP -MF .deps/util.TPlo > -fPIC -DPIC -o .libs/util.lo > util.c:5057: warning: declaration of `versionSite' shadows a global > declaration > util.c:52: warning: shadowed declaration is here > util.c: In function `processVersionFile': > util.c:5449: internal error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. > make[2]: *** [util.lo] Error 1 > make[2]: Leaving directory `/usr/src/ntop-3.0' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/ntop-3.0' > make: *** [all] Error 2 > > > Could anybody told me what's wrong? > > Regards, > > Wilson > > > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
