|
nmap doesn't compile on Solaris 9 with Sun Studio Pro: msg#00061security.nmap.devel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am trying to compile nmap 4.20 on Solaris 9 with Sun Studio Pro. Here is my build environment: > PATH="/opt/SUNWspro/bin:${PATH}" \ > CC="cc" CXX="CC" CPPFLAGS="-I/usr/local/include" \ > LD="/usr/local/gnu/bin/ld" \ > LDFLAGS="-L/usr/local/lib -R/usr/local/lib" \ > export PATH CC CXX CPPFLAGS LD LDFLAGS > ./configure --prefix=/usr/local --with-openssl=/usr/local/ssl > for i in `find . -name '*.cc'`; do mv $i $i.wrong; sed -e > 's/__FUNCTION__/__FILE__/g' $i.wrong > $i; done It compiles, with some warnings and such, but then it dies saying this: > "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. > ld: fatal: file M: stat failed: No such file or directory > gmake: *** [makefile.dep] Error 1 > error: Bad exit status from /var/local/tmp/rpm-tmp.5151 (%build) How should I go about fixing this? - -- 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 iD8DBQFFgb1GJR+ZhPEC9ewRAiVLAJsF33tqlHGjKfD8V9Z+JSDPBjLlwgCeMmhN 6UTNfkEKG25K3wjIoY7YOS4= =Mreo -----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: Public Nmap SVN Repository: 00061, majek04 |
|---|---|
| Next by Date: | Re: nmap doesn't compile on Solaris 9 with Sun Studio Pro: 00061, Andreas Ericsson |
| Previous by Thread: | TCP SYN scan with FINi: 00061, Jan Engelhardt |
| Next by Thread: | Re: nmap doesn't compile on Solaris 9 with Sun Studio Pro: 00061, Andreas Ericsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |