0
$ gcc -m32 hw3.c -o hw3
Undefined symbols:
"i", referenced from:
_main in ccuNMbgT.o
_main in ccuNMbgT.o
(maybe you meant: _i, _main , cstring=hey, supposed to supply an integer argument , cstring=after multiply, value is %d
, _i$non_lazy_ptr , _printf , _environ , _atoi , _exit)
ld: symbol(s) not found
collect2: ld returned 1 exit status
我在做裝配與一些C.我想要編譯Ubuntu上使用工作編譯gcc
的例子,但它不工作我的Mac終端上。無法在我的Mac上編譯程序集!
謝謝!我真的不明白這個錯誤,感謝您的幫助! – Strawberry 2011-03-20 05:23:10