Skip to content
This repository was archived by the owner on Jun 28, 2019. It is now read-only.
This repository was archived by the owner on Jun 28, 2019. It is now read-only.

Can't compile with newest RTOS SDK (1.4.5) #4

@eeyrw

Description

@eeyrw

make[1]: Leaving directory `/mnt/Share/esp8266_iot_platform/libesphttpd'
xtensa-lx106-elf-gcc user/.output/eagle/debug/lib/libuser.a driver/.output/eagle/debug/lib/libdriver.a upgrade/.output/eagle/debug/lib/libupgrade.a -o .output/eagle/debug/image/eagle.app.v6.out
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find crt1-sim.o: No such file or directory
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find _vectors.o: No such file or directory
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lsim
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: cannot find -lhandlers-sim
collect2: error: ld returned 1 exit status
make: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1

I have modified my makefile to solve the -lmXXXX link problem:

LINKFLAGS_eagle.app.v6 =
-L$(SDK_PATH)/lib
-Wl,--gc-sections
-nostdlib
-T$(LD_FILE)
-Wl,--no-check-sections
-u call_user_start
-Wl,-static
-Wl,--start-group
-lgcc
-lhal
-lphy
-lpp
-lnet80211
-lcrypto
-lwpa
-lmain
-lfreertos
-llwip
-lssl
-ljson
-lsmartconfig
-lpwm
-L./libesphttpd
-lesphttpd
-lwebpages-espfs
$(DEP_LIBS_eagle.app.v6)
-Wl,--end-group
-lmirom \

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions