编译错误
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
请问这个如何解决
为社么求助贴发不出来哈 lib/libgagent.a libssl.a 有定义冲突么 本帖最后由 不惜小老鼠 于 2017-10-11 09:42 编辑
我目前的解决办法是 注释掉所有espconn_secure…… 的函数,这样现在不影响解析http的,但是这个有没有其他解决方案啊
页:
[1]