这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 综合技术 » 基础知识 » arm,gcc 新装的arm-gcc总报这样的错误 请问有谁知道是怎么回事??

共2条 1/1 1 跳转至

arm,gcc 新装的arm-gcc总报这样的错误 请问有谁知道是怎么回事??

院士
2006-09-17 18:14:16     打赏
arm,gcc 新装的arm-gcc总报这样的错误 请问有谁知道是怎么回事??



关键词: 新装的     装的     arm-gcc     总报     这样     错误         

院士
2006-12-22 22:43:00     打赏
2楼
问 新装的ARM-gcc总报这样的错误,请问有谁知道是怎么回事??
[root@localhost Phsm]# make
cd src ; make
make[1]: Entering directory `/root/ser/Phsm/src'
ARM-elf-gcc -Wall -g -Wstrict-prototypes  -I../include -I../../include    -Wl,elf2flt -c -o Phsm.o Phsm.c
ARM-elf-gcc: elf2flt: linker input file unused since linking not done
ARM-elf-gcc -Wall -g -Wstrict-prototypes  -I../include -I../../include    -Wl,elf2flt -c -o PhsmPro.o PhsmPro.c
ARM-elf-gcc: elf2flt: linker input file unused since linking not done
ARM-elf-gcc -Wall -g -Wstrict-prototypes  -I../include -I../../include    -Wl,elf2flt -c -o PhsmData.o PhsmData.c
ARM-elf-gcc: elf2flt: linker input file unused since linking not done
ARM-elf-gcc -Wall -g -Wstrict-prototypes  -I../include -I../../include    -Wl,elf2flt -c -o PhsmLinux.o PhsmLinux.c
ARM-elf-gcc: elf2flt: linker input file unused since linking not done
make[1]: Leaving directory `/root/ser/Phsm/src'
mv  src/*.o obj
cd test; make
make[1]: Entering directory `/root/ser/Phsm/test'
ARM-elf-gcc main.o ../obj/Phsm.o ../obj/PhsmData.o ../obj/PhsmPro.o ../obj/PhsmLinux.o ../../source/msgQueue.o ../../source/Timer.o -o main
/usr/local/lib/gcc-lib/ARM-elf/2.95.3/libgcc.a(__main.o)(.text+0xc4): In function `__do_global_ctors':
: undefined reference to `__CTOR_LIST__'
/usr/local/lib/gcc-lib/ARM-elf/2.95.3/libgcc.a(__main.o)(.data+0x0): undefined reference to `__DTOR_LIST__'
collect2: ld returned 1 exit status
make[1]: *** [main] Error 1
make[1]: Leaving directory `/root/ser/Phsm/test'
make: *** [all] Error 2 1: .

共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]