共2条
1/1 1 跳转至页
arm,gcc 新装的arm-gcc总报这样的错误 请问有谁知道是怎么回事??
问
新装的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: .
[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 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
vscode+cmake搭建雅特力AT32L021开发环境被打赏30分 | |
【换取逻辑分析仪】自制底板并驱动ArduinoNanoRP2040ConnectLCD扩展板被打赏47分 | |
【分享评测,赢取加热台】RISC-V GCC 内嵌汇编使用被打赏38分 | |
【换取逻辑分析仪】-基于ADI单片机MAX78000的简易MP3音乐播放器被打赏48分 | |
我想要一部加热台+树莓派PICO驱动AHT10被打赏38分 | |
【换取逻辑分析仪】-硬件SPI驱动OLED屏幕被打赏36分 | |
换逻辑分析仪+上下拉与多路选择器被打赏29分 | |
Let'sdo第3期任务合集被打赏50分 | |
换逻辑分析仪+Verilog三态门被打赏27分 | |
换逻辑分析仪+Verilog多输出门被打赏24分 |