Snort mailing list archives
Problem compiling Snort 2.1.1 and 2.1.0 on old RedHat 6.2 based system
From: "Jan Hugo Prins" <jhp () jhprins org>
Date: Tue, 24 Feb 2004 12:00:33 +0100 (CET)
Hello, Last weekend I was trying to compile a new snort version on my firewall and for this system has no daemons running anymore except the few that are compiled by myself, it is still based on a old RedHat 6.2 system. During the compilation of these snort versions the compile fails on the following code fregments that are in several places in the code: #ifndef WIN32 flow_printf("ut check failed in %s\n", __func__); #else flow_printf("ut check failed in %s(%d)\n", __FILE__, __LINE__); #endif It fails with a message that the __func__ is not defined. I think this is rather strange because the system is not a win32 system. I have removed all the #ifndef parts and activated only the part between the #else and #endif and then it compile like a charm. Is there anyone here that can tell me why the compile fails and what could be wrong on my system that this happens? Jan Hugo Prins ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Problem compiling Snort 2.1.1 and 2.1.0 on old RedHat 6.2 based system Jan Hugo Prins (Feb 24)
- Snort Wireless and BSD A. Wright (Feb 24)