Snort mailing list archives

Re: Re: Subject: Compile problems with MySQL 4.0.13


From: "John Creegan" <jcreegan () questarweb com>
Date: Fri, 25 Jul 2003 11:56:27 -0500

Ask and you shall receive!

I'm thinking maybe I should compile MySQL from source...

Error listing follows:

gcc  -g -O2 -Wall  -L/usr/local/mysql/lib -o snort  codes.o debug.o
decode.o  log.o mstring.o parser.o  plugbase.o snort.o snprintf.o 
strlcatu.o strlcpyu.o tag.o  ubi_BinTree.o ubi_SplayTree.o util.o 
detect.o signature.o mempool.o  sf_sdlist.o threshold.o fpcreate.o 
fpdetect.o mwm.o mpse.o acsmx.o  pcrm.o sfksearch.o byte_extract.o
output-plugins/libspo.a  detection-plugins/libspd.a            
preprocessors/libspp.a                 parser/libparser.a -lz -lpcap -lm
-lsocket -lnsl  -lmysqlclient
  ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o):
wrong ELF class: ELFCLASS64
  Undefined                       first referenced
   symbol                             in file
   mysql_close                        
output-plugins/libspo.a(spo_database.o)
   mysql_free_result                  
output-plugins/libspo.a(spo_database.o)
   mysql_fetch_row                    
output-plugins/libspo.a(spo_database.o)
   mysql_real_connect                 
output-plugins/libspo.a(spo_database.o)
   mysql_use_result                   
output-plugins/libspo.a(spo_database.o)
   mysql_errno                        
output-plugins/libspo.a(spo_database.o)
   mysql_error                        
output-plugins/libspo.a(spo_database.o)
   mysql_query                        
output-plugins/libspo.a(spo_database.o)
   mysql_init                         
output-plugins/libspo.a(spo_database.o)
   ld: fatal: Symbol referencing errors. No output written to snort
   collect2: ld returned 1 exit status
   *** Error code 1
   make: Fatal error: Command failed for target `snort'
   Current working directory /opt/local/snort-2.0.1/src
   *** Error code 1
   make: Fatal error: Command failed for target `all-recursive'
   Current working directory /opt/local/snort-2.0.1/src
   *** Error code 1
   make: Fatal error: Command failed for target `all-recursive'
   Current working directory /opt/local/snort-2.0.1
   *** Error code 1
   make: Fatal error: Command failed for target `all'



This message (including any attachments) contains confidential 
information intended for a specific individual and purpose, 
and is protected by law.  If you are not the intended recipient,
you should delete this message and are hereby notified that any 
disclosure,copying, or distribution of this message, or the taking 
of any action based on it, is strictly prohibited.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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: