Snort mailing list archives
Re: Error compiling Snort
From: Gary_Portnoy () itginc com
Date: Fri, 30 Apr 2004 09:38:54 -0400
I figured this one out, with help from George. Posting it so that I can find it again once I run into this issue a year from now. The only place in the code where I saw IXDR_GET_LONG being referenced was in detection-plugins/sp_rpc_check.c As far as the includes, this symbol was only defined in rpc/xdr.h (which George pointed out), but this file wasn't included in the snort source. After trying (unsuccessfully) to "#include <rpc/xdr.h>" at the top of sp_rpc_check.c, I just took the part where this symbol is defined in xdr.h and threw it into sp_rpc_check.c: "#define IXDR_GET_LONG(buf) ((long)ntohl((ulong_t)*(buf)++))". After that, no issues... -G-
Date: Wed, 28 Apr 2004 10:31:11 -0400 From: George Theall <theall () tifaware com> To: snort-users () lists sourceforge net Subject: Re: [Snort-users] Error compiling Snort On Wed, Apr 28, 2004 at 08:39:24AM -0400, Gary_Portnoy () itginc com wrote:a 2.x. Specifically, I tried 2.1.3RC1 and 2.1.2. Both times
compile=20
failed with the same message: "Undefined symbol IXDR_GET_LONG first=20 referenced in file detection-plugins/lbspd.a(sp_rpc_check.o)"That symbol is generally defined in rpc/xdr.h, I think. The comments in my copy of that file (from glibc-devel 2.3.2 rpm on Red Hat 9) claim that IXDR_*_LONG defines shouldn't be used any longer and will not work on 64bit Solaris platforms. Is that by chance what you're using? George
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- This message is for the named person's use only. This communication is for informational purposes only and has been obtained from sources believed to be reliable, but it is not necessarily complete and its accuracy cannot be guaranteed. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Moreover, this material should not be construed to contain any recommendation regarding, or opinion concerning, any security. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. ITG Inc. reserves the right to monitor and archive all electronic communications through its network. ITG Inc. Member NASD, SIPC -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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:
- Error compiling Snort Gary_Portnoy (Apr 28)
- Re: Error compiling Snort George Theall (Apr 28)
- VPNs and TCP Matt Linton (Apr 28)
- <Possible follow-ups>
- Re: Error compiling Snort Gary_Portnoy (Apr 30)
- Re: Error compiling Snort George Theall (Apr 28)