|
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-11 01:01:06
|
I see a few problem right here...
On Oct 10, 2007, at 6:11 PM, Robotics Primer users help list wrote:
> I can't get player on the gumstix to do anything other that this
>
> # ./player create.cfg
> ./player: ./player: 1: Syntax error: "(" unexpected
> #
>
> I am beginning to suspect that that is a loader error
> the file is defiantly a binary file but what format or what
> process or I don't know
> but it doesn't seem to run on gumstix
>
> some oddities that might help to explain this are
> 1) the last instruction on cross compiling says to run
> arm-linux-strip
> there is no such program on my machine
> however the config says to use strip and that runs and reduces
> player from
> 660K to 230K. The same error occurs with either the striped or non-
> striped version
> 2)The cross compile instructions say tools are in gumstix-buildroot/
> build_arm_nofpu/staging_dir/bin
> there is no such directory
There must be one - otherwise you do not have a working arm-linux-
gcc. Go back your gumstix-buildroot, and go from there.
Don't forget to setup the path.
> 3)the configure seemed to find what it needed. In fact it said to
> use strip instead of arm-linux-strip
> this was the actual configure command
> ./configure --build=x86-linux --host=arm-linux --disable-shared --
> disable-alldrivers --enable-roomba --enable-urglaser
> but I have tried it with every command listed in the cross compile
> document
> and either make created a file like the one I sent last time or one
> that looks like it might be in a loader format (says ELF early on
> in the file)
>
> Questions
> 1)Does any one know why player doesn't run on gumstix?
I suspect the reason that it is not running is because you never
actually cross-compiled it. If ./configure cannot find the gumstix-
buildroot, it builds a regular binary for your desktop. Go back to
the very beginning of your ./configure output - did it say that it
found a cross compiler? Is it actually using it?
> 2)Is that error one that player produces? or one that linux
> produces as it tries to load player?
Send me your .cfg file - I suspect that the syntax is incorrect.
> 3) I would expect some sort of behavior like this if the code was
> compiled for a different processor. Are you sure we can use the
> defaults? How do I find out which version of the arm processor I
> am making for?
Go back to the gumsix-buildroot page. There are very clear
instructions on which version to get.
>
> Building a website is a piece of cake.
> Yahoo! Small Business gives you all the tools to get online.
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Roboticsprimer-users mailing list
> Rob...@li...
> https://lists.sourceforge.net/lists/listinfo/roboticsprimer-users
|