OpenWrt Forum Archive

Topic: ipkg/make "strip" error - SDK

The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm trying to ipkg a small editor and can't find the origin of a "strip" command. The error is: strip: Unable to recognise the format of the input file `e3c'

Found similar problem in http://forum.openwrt.org/viewtopic.php?id=2174, but I don't see a mipsel-linux-uclibc-gcc -s option passed. I've looked thru package/Makefile and package original Makefile in dl/package.tar.gz, but no luck.

Any ideas on how to deal with "strip" failures?


#make compile (output below)

install_prefix="/home/mtnguide/src/cross/OpenWrt-SDK-Linux-i686-1/build_mipsel/e3-2.6.2/ipkg-install" \
all install
make[2]: Entering directory `/home/mtnguide/src/cross/OpenWrt-SDK-Linux-i686-1/build_mipsel/e3-2.6.2/e3c'
/home/mtnguide/src/cross/OpenWrt-SDK-Linux-i686-1/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -w  -g -O1 -DLIBDIR=\"'/usr/local'/lib\" e3.c -o e3c
strip e3c
strip: Unable to recognise the format of the input file `e3c'
make[2]: *** [e3c] Error 1
make[2]: Leaving directory `/home/mtnguide/src/cross/OpenWrt-SDK-Linux-i686-1/build_mipsel/e3-2.6.2/e3c'
make[1]: *** [/home/mtnguide/src/cross/OpenWrt-SDK-Linux-i686-1/build_mipsel/e3-2.6.2/.built] Error 2
make[1]: Leaving directory `/home/mtnguide/src/cross/OpenWrt-SDK-Linux-i686-1/package/e3'
make: *** [e3-compile] Error 2

Can you post your SDK Makefile for that package here please?

Sorry for the delay. The strip error turned out to be a much smaller problem compared  to issues with the C source. The save file function in the e3 source is not working when compiled with mipsel toolchain and I figure there's a dependency or two that's missing. Still working on it. I will try to post Makefile and other ideas soon.

olli_24, thanks for the reply.

The discussion might have continued from here.