|
http://www.hackerschool.org/HS_Boards/zboard.php?AllArticle=true&no=6284 [복사]
콘솔창에
make all
Building target: test
Invoking: MacOS X C Linker
gcc -o "test" ./test.o
Undefined symbols for architecture x86_64:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [test] Error 1
21:06:36 Build Finished (took 796ms)
test.c라는 hello world를 코딩하고 빌드하였더니
라고 뜨는데 뭐가 문제죠?
gcc도 설치하였고
C/C++ Development toolㄴ 도 설치 하였습니다. |
Hit : 5196 Date : 2012/12/18 09:24
|