Robert P. J. Day wrote:
>   the tail end of the build of nagios:
> ...
> make strip-post-install
> make[6]: Entering directory 
> `/home/rpjday/openwrt/wl-500gp/build/git/build_dir/mipsel/nagios-2.10/base'
> /usr/bin/strip 
> /home/rpjday/openwrt/wl-500gp/build/git/build_dir/mipsel/nagios-2.10/ipkg-install/usr/bin/nagios
> /usr/bin/strip: Unable to recognise the format of the input file 
> `/home/rpjday/openwrt/wl-500gp/build/git/build_dir/mipsel/nagios-2.10/ipkg-install/usr/bin/nagios'
> make[6]: *** [strip-post-install] Error 1
> ...
> 
>   i can see why that would be a problem since, if i understand things
> correctly, you can't strip the MIPS executables i'm building with
> /usr/bin/strip, you need the "sstrip" executable that was built and is
> now under the "host" directory, no?
> 
>   so why is the nagios build trying to use /usr/bin/strip instead?
> i'm confused.
Many packages use strip internally, some hardcode the path. Please check
the makefile to see if they use a variable for /usr/bin/strip, such as
STRIP. If this is the case, I think the solution is to just override that
variable on the make command line in the build system makefile, and set it
to ':' or 'true'. The build system takes care of all stripping.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to