在嵌入式编程中出现下面错误,哪位高手帮忙看一下,不胜感激!
libtool:link:/opt/buildroot-gcc342/bin/mipsel-linux-uclibc-gcclibiptc/.libs/libip4tc....
libtool: link: /opt/buildroot-gcc342/bin/mipsel-linux-uclibc-gcc libiptc/.libs/libip4tc.so extensions/libext4.a ./.libs/libxtables.so -lm
/opt/buildroot-gcc342/bin/../lib/gcc/mipsel-linux-uclibc/3.4.2/../../../../mipsel-linux-uclibc/lib/crt1.o: In function `__start':crt1.S:(.text+0x1c): undefined reference to `main'
collect2: ld returned 1 exit status 展开
/opt/buildroot-gcc342/bin/../lib/gcc/mipsel-linux-uclibc/3.4.2/../../../../mipsel-linux-uclibc/lib/crt1.o: In function `__start':crt1.S:(.text+0x1c): undefined reference to `main'
collect2: ld returned 1 exit status 展开
展开全部
未定义对main函数的引用,这是关键
undefined reference to `main'
undefined reference to `main'
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询