Modify

Opened 5 years ago

Closed 5 years ago

Last modified 2 years ago

#10799 closed task (no_response)

compile with cmd "make V=99" stoping with the error as

Reported by: navap@… Owned by: developers
Priority: response-needed Milestone: Chaos Calmer 15.05
Component: toolchain Version: Backfire 10.03
Keywords: cannot find -lgcc_s Cc:

Description

Lanconf is a customized app which is added as a package in packages directory. while i am trying to compile with "make V=99" compilation stops with this error

make[4]: Entering directory `/home/smp/backfire_custom/build_dir/target-i386_uClibc-0.9.30.1/LanConf-1'

i486-openwrt-linux-uclibc-gcc LanConf.o -o LanConf
/home/smp/backfire_custom/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/bin/../lib/gcc/i486-openwrt-linux-uclibc/4.1.2/../../../../i486-openwrt-linux-uclibc/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[4]: * [LanConf] Error 1
make[4]: Leaving directory `/home/smp/backfire_custom/build_dir/target-i386_uClibc-0.9.30.1/LanConf-1'
make[3]:
* home/smp/backfire_custom/build_dir/target-i386_uClibc-0.9.30.1/LanConf-1/.built Error 2
make[3]: Leaving directory `/home/smp/backfire_custom/package/LanConf'
make[2]: * [package/LanConf/compile] Error 2
make[2]: Leaving directory `/home/smp/backfire_custom'
make[1]:
* home/smp/backfire_custom/staging_dir/target-i386_uClibc-0.9.30.1/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/smp/backfire_custom'
make: * [world] Error 2

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by jow

Try adding this to your OpenWrt Makefile:

TARGET_LDFLAGS += $(LIBGCC_S) 

comment:2 Changed 5 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

comment:3 Changed 2 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.