This is a discussion on Re: [Snort-users] error within the Snort forums, part of the System Security and Security Related category; Looks like your gcc doesn't know how to interpret __func__ calls (which =20= are supposed to return the name ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Looks like your gcc doesn't know how to interpret __func__ calls (which =20=
are supposed to return the name of the function that the program is =20 currently in). If you're not opposed to getting rid of some error =20 messages, you could just comment out the lines that use the __func__ =20 call. Let me see if I can find a better solution for you. Upgrading your gcc =20= installation might help too... =46rom http://elias.rhi.hi.is/gcc/gcc_124.html#SEC124 " Note that these semantics are deprecated, and that GCC 3.2 will =20 handle __FUNCTION__ and __PRETTY_FUNCTION__ the same way as __func__. =20= __func__ is defined by the ISO standard C99: =A0 The identifier __func__ is implicitly declared by the translator as if, immediately following the opening brace of each function definition, the declaration =A0 static const char __func__[] =3D "function-name";" Which version of gcc are you using? -Marty On Jul 30, 2004, at 9:19 PM, Khushboo Kanjani wrote: > > hello i was trying to install snort on redhat linux 7 box i got the > following error. > flowps.c: In function `flowps_get_score': > flowps.c:629: `__func__' undeclared > (first use in this function) flowps.c:629: (Each undeclared identifier = =20 > is > reported only once flowps.c:629: for each function it appears in.) > make[5]: *** [flowps.o] Error 1 make[5]: Leaving directory > `/home/khush/hack/tools/snort-2.1.3/src/preprocessors/flow/portscan' > make[4]: *** [all-recursive] Error 1 > > googled for this > but could not find any solution. > please suggest something... > > Khushboo Kanjani > IIT Roorkee > INDIA > > > ----------------------------------------- (on isc) > > = __________________________________________________ _____________________=20= > _ > > Powered by TREND VirusWall: Information Superhighway Centre, IIT =20 > Roorkee > > > --------------------------------------------------------- > --=20 Martin Roesch - Founder/CTO, Sourcefire Inc. - (410)290-1616 Sourcefire: Intelligent Security Monitoring roesch@sourcefire.com - http://www.sourcefire.com Snort: Open Source Network IDS - http://www.snort.org ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Snort-users mailing list Snort-users@lists.sourceforge.net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/...fo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.p...st=snort-users |