Bluehost.com Web Hosting $6.95

Re: [Snort-users] error

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 ...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-03-2004
Martin Roesch
 
Posts: n/a
Default Re: [Snort-users] error

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0