undefined reference to `main'

作者:fly 发布于:2016-8-3 9:11 分类:Linux

arm-linux-gcc: unrecognized option '-shared-Wl,-soname,libz.so.1,--version-script,zlib.map'
/usr/local/arm/arm-2009q3/bin/../arm-none-linux-gnueabi/libc/usr/lib/crt1.o: In function `_start':
init.c:(.text+0x34): undefined reference to `main'

红色部分因为少个空格导致的。



发表评论:

 
Powered by emlog sitemap