|
SOC方案,自动生成代码,移植乐鑫官方的HTTP CLENT例程,报错
xtensa-lx106-elf-gcc -L../lib -nostdlib -T../ld/eagle.app.v6.new.2048.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lc -lgcc -lhal -lphy -lpp -lnet80211 -llwip -lwpa -lmain -ljson -lupgrade -lssl -lpwm -lcrypto -lsmartconfig -lairkiss -lGAgent user/.output/eagle/debug/lib/libuser.a driver/.output/eagle/debug/lib/libdriver.a Gizwits/.output/eagle/debug/lib/libGizwits.a Utils/.output/eagle/debug/lib/libUtils.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out
../lib/libgagent.a(mqttbase.o): In function `send_packet':
/mnt/hgfs/gagent/working/esp/devlop/giz_esp_gagent/app/gagent/cloud/mqttbase.c:9: multiple definition of `send_packet'
../lib/libssl.a(ssl_tls1.o).irom0.text+0xc6c): first defined here
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: .output/eagle/debug/image/eagle.app.v6.out section `.text' will not fit in region `iram1_0_seg'
collect2: error: ld returned 1 exit status
make: ** [.output/eagle/debug/image/eagle.app.v6.out] Error 1
请问这个如何解决
|
|