|
Re: nmap doesn't compile on Solaris 9 with Sun Studio Pro: msg#00088security.nmap.devel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I took our -MM and this is what happens: > "nmap_dns.cc", line 426: Warning (Anachronism): Formal argument handler of > type extern "C" void(*)(void*,void*,void*) in call to nsock_write(void*, > void*, extern "C" void(*)(void*,void*,void*), int, void*, const char*, int) > is being passed void(*)(void*,void*,void*). > "nmap_dns.cc", line 656: Warning (Anachronism): Formal argument handler of > type extern "C" void(*)(void*,void*,void*) in call to nsock_read(void*, > void*, extern "C" void(*)(void*,void*,void*), int, void*) is being passed > void(*)(void*,void*,void*). > "nmap_dns.cc", line 849: Warning (Anachronism): Formal argument handler of > type extern "C" void(*)(void*,void*,void*) in call to > nsock_connect_udp(void*, void*, extern "C" void(*)(void*,void*,void*), void*, > sockaddr*, unsigned, unsigned short) is being passed > void(*)(void*,void*,void*). > "nmap_dns.cc", line 850: Warning (Anachronism): Formal argument handler of > type extern "C" void(*)(void*,void*,void*) in call to nsock_read(void*, > void*, extern "C" void(*)(void*,void*,void*), int, void*) is being passed > void(*)(void*,void*,void*). > "nmap_dns.cc", line 1044: Warning: String literal converted to char* in > formal argument fname in call to parse_etchosts(char*). > 8 Warning(s) detected. > Undefined first referenced > symbol in file > bind nmap.o > recv targets.o > send nmap.o > get_random_uint nmap.o > crc16 osscan2.o > nsock_write service_scan.o > nsock_gettimeofday service_scan.o > getopt_long_only nmap.o > nse_status2str service_scan.o > inet_ntop_ez output.o > pcap_setfilter tcpip.o > pcap_open_live tcpip.o > nsi_get0_ssl_session service_scan.o > nse_iod service_scan.o > nsi_new service_scan.o > nsp_new service_scan.o > pcap_geterr tcpip.o > nsi_delete service_scan.o > nsp_delete service_scan.o > get_random_bytes nmap.o > safe_malloc nmap.o > nsp_getud service_scan.o > pcap_close targets.o > nse_status service_scan.o > nse_type2str nmap_dns.o > gethostbyname nmap.o > safe_zalloc nmap.o > sendto targets.o > socket nmap.o > get_random_u16 targets.o > get_random_u32 nmap.o > getnameinfo nmap_dns.o > SSL_SESSION_free service_scan.o > pcap_next tcpip.o > pcap_get_selectable_fd tcpip.o > arp_get tcpip.o > pcre_free service_scan.o > pcre_exec service_scan.o > nse_readbuf service_scan.o > nsi_get1_ssl_session service_scan.o > arp_open tcpip.o > get_random_u8 idle_scan.o > strcasestr nmap.o > nse_type service_scan.o > nsi_checkssl service_scan.o > nsock_read service_scan.o > nsock_loop service_scan.o > setsockopt nmap.o > getsockopt tcpip.o > connect nmap.o > nsock_connect_tcp service_scan.o > nsock_connect_ssl service_scan.o > nsock_connect_udp service_scan.o > route_loop tcpip.o > route_open tcpip.o > Strncpy main.o > getaddrinfo tcpip.o > eth_open tcpip.o > eth_send tcpip.o > route_close tcpip.o > pcre_study service_scan.o > addr_btom tcpip.o > addr_mtob output.o > addr_ntoa tcpip.o > addr_stob tcpip.o > addr_ston tcpip.o > recvfrom nmap_rpc.o > nsp_settrace service_scan.o > freeaddrinfo tcpip.o > inet_pton nmap.o > inet_ntoa nmap.o > inet_ntop tcpip.o > eth_get tcpip.o > replacenonprintable portlist.o > gai_strerror TargetGroup.o > pcap_lookupnet tcpip.o > pcap_freecode tcpip.o > pcap_datalink tcpip.o > eth_close tcpip.o > nsp_geterrorcode service_scan.o > get_random_ushort utils.o > nse_errorcode service_scan.o > safe_realloc tcpip.o > pcap_compile tcpip.o > pcre_compile service_scan.o > socket_errno nmap.o > ld: fatal: Symbol referencing errors. No output written to a.out > gmake: *** [makefile.dep] Error 1 Fyodor wrote: > On Mon, Dec 18, 2006 at 05:59:40PM -0500, Leo Zhadanovsky wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> I have changed the following in Makefile.in and it now compiles and >> seems to run. > > Thanks, that is useful information to have, though it obviously breaks > the dependency feature. But if you or someone else can modify the > Makefile so that it only skips the -MM on compilers that don't support > it (maybe all non-gcc compilers?), that is something I'd love to > apply. This can probably be done in a few lines of configure.ac and > maybe slight changes to Makefile.in too. > > Cheers, > -F > > _______________________________________________ > Sent through the nmap-dev mailing list > http://cgi.insecure.org/mailman/listinfo/nmap-dev > Archived at http://SecLists.Org - -- Leo Zhadanovsky Student Systems Programmer Open System Solutions Rutgers University -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFhykSJR+ZhPEC9ewRAgmzAJ4/ej803S89qQnOFfPaeHiCPlrq6wCfQQke 0trjKqEOKPOo/EJ+nJCzeUM= =yHIn -----END PGP SIGNATURE----- _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: nmap doesn't compile on Solaris 9 with Sun Studio Pro: 00088, Fyodor |
|---|---|
| Next by Date: | Re: nmap doesn't compile on Solaris 9 with Sun Studio Pro: 00088, Peter O'Gorman |
| Previous by Thread: | Re: nmap doesn't compile on Solaris 9 with Sun Studio Proi: 00088, Fyodor |
| Next by Thread: | Re: nmap doesn't compile on Solaris 9 with Sun Studio Pro: 00088, Peter O'Gorman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |