Hi Luca,
What about this one:
/var/lib/pgsql/ntopng/NtopGlobals.cpp:34: warning: the use of `tmpnam' is
dangerous, better use `mkstemp'
Regards,
Steve
On 08/28/2013 04:40 AM, Luca Deri wrote:
On Aug 28, 2013, at 10:22 AM, T.J. Yang <[email protected]
<mailto:[email protected]>> wrote:
Hi Luca,
Can you address this warning message ?
No. You need to mail the ZMQ developers
Luca
<snipped>
g++ -g -Wall -Ithird-party/credis-0.2.3 -I./third-party/mongoose -Ithird-party/json-c
-I./nDPI/src/include -I./third-party/LuaJIT-2.0.2/src -Ithird-party/rrdtool-1.4.7/src/
-I./third-party/zeromq-3.2.3/include -D SVN_RELEASE="6720"
-I/usr/local/include -I/opt/local/include -Ithird-party/http-client-c/src/ -c
third-party/credis-0.2.3/credis.c -o third-party/credis-0.2.3/credis.o
g++ AddressResolution.o Categorization.o CollectorInterface.o DB.o
EthStats.o Flow.o FlowHash.o GenericHash.o GenericHashEntry.o
GenericHost.o Geolocation.o HostContacts.o Host.o HostHash.o HTTPserver.o
IpAddress.o Lua.o main.o Mutex.o NdpiStats.o NetworkInterface.o Ntop.o
NtopGlobals.o ntop_win32.o PacketStats.o patricia.o PcapInterface.o
PeriodicActivities.o PF_RINGInterface.o Prefs.o ProtoStats.o Redis.o
StringHash.o StringHost.o Trace.o TrafficStats.o Utils.o
third-party/credis-0.2.3/credis.o -Wall -L/usr/local/lib -L/opt/local/lib
./nDPI/src/lib/.libs/libndpi.a -lpcap
./third-party/LuaJIT-2.0.2/src/libluajit.a
third-party/rrdtool-1.4.7/src/.libs/librrd_th.a
./third-party/zeromq-3.2.3/src/.libs/libzmq.a
third-party/json-c/.libs/libjson-c.a -lxml2 -lsqlite3 -lGeoIP -lz -lm -ldl
-lpthread -lrt -o ntopng
NtopGlobals.o: In function `NtopGlobals':
/localhome/tjyang/ntopng/NtopGlobals.cpp:34: warning: the use of `tmpnam' is
dangerous, better use `mkstemp'
./third-party/zeromq-3.2.3/src/.libs/libzmq.a(libzmq_la-ipc_listener.o): In
function `zmq::ipc_listener_t::set_address(char const*)':
/localhome/tjyang/ntopng/third-party/zeromq-3.2.3/src/ipc_listener.cpp:124:
warning: the use of `tempnam' is dangerous, better use `mkstemp'
[tjyang@appdb01 ntopng]$
Ref:
http://stackoverflow.com/questions/3299881/tmpnam-warning-saying-it-is-dangerous
--
T.J. Yang
_______________________________________________
Ntop-dev mailing list
[email protected] <mailto:[email protected]>
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
--
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]
http://www.netwolves.com
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev