ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status
Hi All, when I am trying to compile an application I am getting the following error... could anyone please help me out..
make
gcc -o event_handler main.c -Wall -O2 -g
main.c: In function ‘main’:
main.c:35: warning: unused variable ‘AP_mac’
main.c:34: warning: unused variable ‘a_flag’
Undefined symbols for architecture x86_64:
"_Apple80211Open", referenced from:
_main in ccM53WLV.o
"_Apple80211Close", referenced from:
_main in ccM53WLV.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [event_handler] Error 1
how can I clear this error... thanks in advance
Mac Pro, Mac OS X (10.6.8), development