ESP8266 Developer Zone The Official ESP8266 Forum 2017-07-26T03:23:34+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=5160 2017-07-26T03:23:34+08:00 2017-07-26T03:23:34+08:00 https://bbs.espressif.com:443/viewtopic.php?t=5160&p=14836#p14836 <![CDATA[Re: Multiple definition of 'time' in lwip.a and libcirom.a]]>
echo "Create 'libcirom_stripped' by stripping the duplicate "time()" definition from libcirom.a"
xtensa-lx106-elf-objcopy --strip-symbol=time $ESP8266_RTOS_SDK/lib/libcirom.a $ESP8266_RTOS_SDK/lib/libcirom_stripped.a

Statistics: Posted by RoySprowl — Wed Jul 26, 2017 3:23 am


]]>
2017-06-17T02:46:53+08:00 2017-06-17T02:46:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=5160&p=14000#p14000 <![CDATA[Multiple definition of 'time' in lwip.a and libcirom.a]]> Thanks
Bill


xtensa-lx106-elf-gcc -L/mnt/Share/espiot2/ESP8266_RTOS_SDK//lib -Wl,--gc-sections -nostdlib -T/mnt/Share/espiot2/ESP8266_RTOS_SDK//ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lcirom -lmirom -lgcc -lhal -lphy -lpp -lnet80211 -lcrypto -lwpa -lmain -lfreertos -llwip -lssl -ljson -lsmartconfig -lpwm -L./libesphttpd -lesphttpd -lairkiss -lsmartconfig -lespconn -lwebpages-espfs user/.output/eagle/debug/lib/libuser.a driver/.output/eagle/debug/lib/libdriver.a upgrade/.output/eagle/debug/lib/libupgrade.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out
/mnt/Share/espiot2/ESP8266_RTOS_SDK//lib/liblwip.a(time.o): In function `time':
(.text.time+0x20): multiple definition of `time'
/mnt/Share/espiot2/ESP8266_RTOS_SDK//lib/libcirom.a(lib_a-time.o):/home/wjg/Repo/esp-open-sdk/crosstool-NG/.build/src/newlib-2.0.0/newlib/libc/time/time.c:43: first defined here

Statistics: Posted by bzhang222 — Sat Jun 17, 2017 2:46 am


]]>