[Snort-users] Compile issue with FreeBSD 4.1

Crist J. Clark cjclark at ...960...
Mon Jan 8 23:56:51 EST 2001

On Mon, Jan 08, 2001 at 12:50:12PM -0000, Avleen Vig wrote:
> Here is what I did:
> 1)    ./configure --with-flexresp
> This went ok with no errors.
> 2)    make
> This dies with the error:
> gcc  -g -O2 -Wall -L/usr/local/lib/mysql -L/usr/lib -o snort  snort.o log.o
> decode.o mstring.o rules.o plugbase.o  sp_pattern_match.o
> sp_tcp_flag_check.o sp_icmp_type_check.o  sp_icmp_code_check.o
> sp_ttl_check.o sp_ip_id_check.o sp_tcp_ack_check.o  sp_tcp_seq_check.o
> sp_dsize_check.o spp_http_decode.o spp_minfrag.o  spp_portscan.o
> sp_ipoption_check.o sp_rpc_check.o sp_icmp_id_check.o  sp_icmp_seq_check.o
> sp_respond.o spo_alert_syslog.o spo_log_tcpdump.o  spo_database.o
> sp_session.o spp_defrag.o parser.o spo_alert_fast.o  spo_alert_full.o
> spo_alert_smb.o spo_alert_unixsock.o sp_react.o  spo_xml.o sp_ip_tos_check.o
> spp_tcp_stream.o snprintf.o checksum.o  sp_reference.o sp_ip_fragbits.o
> spp_anomsensor.o  -lpcap -lm  -lm -lmysqlclient -lssl -lcrypto
> /usr/local/lib/mysql/libmysqlclient.so: warning: tempnam() possibly used
> unsafely; consider using mkstemp()
> Any idea how I can fix this?

Fix what? I don't see an error; I see a warning. You should be getting
a snort executable out of this. The warning is generated by MySQL and
not Snort anyways. If you want to fix it, you can track down the
tempnam(3)s in MySQL and hack them yourself (and maybe give them to
the port FreeBSD maintainer) or put in a change request to the MySQL
Crist J. Clark                           cjclark at ...485...

More information about the Snort-users mailing list