Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Mac OS X compile error using svn
From: Michael Bakeman <mbakeman () unr edu>
Date: Sun, 28 Oct 2007 09:35:41 -0700 (PDT)

After updateing with "svn up" everything went well with ./configure but 
crashed during make

Lucifer:~/software/nmap mike$ make
Compiling libdnet
Making all in include
make  all-recursive
Making all in dnet
make[4]: Nothing to be done for `all'.
Making all in src
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
Compiling libnbase
cd nbase && make
make[1]: Nothing to be done for `all'.
Compiling libnsock
cd nsock/src && make
cd ../../nbase && make
make[2]: Nothing to be done for `all'.
Compiling nse-standard-library
make[1]: Nothing to be done for `all'.
make nmap nmapfe/nmapfe build-zenmap
g++ -c  -Ilibdnet-stripped/include -no-cpp-precomp -g -O2 -Wall 
-fno-strict-aliasing -Inbase -Insock/include   -DHAVE_CONFIG_H 
-DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\"; 
-DNMAP_PLATFORM=\"i386-apple-darwin8.10.1\" 
-DNMAPDATADIR=\"/usr/local/share/nmap\" 
-DNMAPLIBEXECDIR=\"/usr/local/libexec/nmap\" main.cc -o main.o
nbase/getopt.h:37: error: declaration of C function 'int getopt(int, 
char**, const char*)' conflicts with
/usr/include/unistd.h:422: error: previous declaration 'int getopt(int, 
char* const*, const char*)' here
make[1]: *** [main.o] Error 1
make: *** [all] Error 2
Lucifer:~/software/nmap mike$

Thanks,
Mike

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault