Nmap Development mailing list archives
compile error on ubuntu 14.04: tempnam vs mkstemp
From: Jan Reister <Jan.Reister () unimi it>
Date: Fri, 20 Nov 2015 09:04:51 +0100
First, kudos to all devs for nmap 7! I have an issue compiling from SVN on Ubuntu 14.04 LTS. Seems it deprecates tempnam in favour of mkstemp. The same in debian 8.2 stable compiles correctly. Any idea how to solve this issue? -I../liblua -g -O2 -Wall -c ncat_lua.c -o ncat_lua.o gcc -o ncat -g -O2 -Wall -L../libpcap ncat_main.o ncat_connect.o ncat_core.o ncat_posix.o ncat_listen.o ncat_proxy.o ncat_ssl.o base64.o http.o util.o sys_wrap.o http_digest.o ncat_lua.o ../nsock/src/libnsock.a ../nbase/libnbase.a -lssl -lcrypto -lpcap ./../liblua/liblua.a -lm -ldl ncat_connect.o: nella funzione "ncat_connect": /root/nmap/ncat/ncat_connect.c:913: attenzione: the use of `tempnam' is dangerous, better use `mkstemp' make[1]: uscita dalla directory "/root/nmap/ncat" Jan _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- compile error on ubuntu 14.04: tempnam vs mkstemp Jan Reister (Nov 20)