On 06/04/2012 11:40 AM, Kuhn, Thomas J (IS) wrote:
> I have cross compiled XORP and am performing an install. The install gets 
> part wat through and then gives the following error on args.sh.  Can anyone 
> assist?
>
> Install file: "bgp/harness/args.sh" as 
> "/home/build/octeon-staging/bgp/harness/args.sh"Chmod("/home/build/octeon-staging/bgp/harness/args.sh",
>  0755)mips64-octeon-linux-gnu-strip 
> /home/build/octeon-staging/bgp/harness/args.shmips64-octeon-linux-gnu-strip:/home/build/octeon-staging/bgp/harness/args.sh:
>  File format not recognizedscons: *** 
> [/home/build/octeon-staging/bgp/harness/args.sh] Error 1scons: building 
> terminated because of errors

Hmmm, you might have to wrap your strip executable in a shell script that 
always returns success.

Or, don't strip on install via scons, but after the install is complete, 
manually
strip everything in the install dir and just ignore the errors about not being 
able
to strip .sh files and similar.

Something like:

find /usr/local/xorp -name "*" -print|xargs my-strip-exe

Thanks,
Ben

>
>
> Tom Kuhn
> 407-721-0628 (Cell)
>
> _______________________________________________
> Xorp-hackers mailing list
> [email protected]
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers


-- 
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to