[okl4-developer] hello_world on gumstix

Geoffrey Lee glee at ok-labs.com
Thu Jul 17 11:34:47 EST 2008


On Wed, Jul 16, 2008 at 09:36:12AM -0700, Kevin Lloyd wrote:

Hi Kevin

> 
> I modified the SConscript to include the CC parameter as you indicated and I am still having the same problem (syntax error when execute 'hello' while running on gumstix via skyeye). Any other suggestions?
> 

It would appear that the hello program has not been rebuilt, because
make indicates "Nothing to be done for all".  One common problem is 
most make-based systems do not realize your compiler has changed and
hence fails to rebuild the binary.

The OKL4 build system allows one to conveniently build for multiple
platforms and architectures by placing the build output files
all into an object directory for the target platform.  When you
build with make, however, there may not exist an equivalent
functionality in the Makefile to do so.  Hence, please ensure that the
hello program source directory has not been polluted with output
files from the previous run.



> Thanks,
>  -Kevin

	-gl

> 
> Here is a small snippet from the /tools/build.py log:
> CC=arm-linux-gcc PREFIX=/home/shared2/projects/aob/okl4_2.1.1-patch.9/build/linux/install ZLIB=no make -j 1 -C linux/apps/hello
> make: Entering directory `/home/shared2/projects/aob/oklinux_2.6.23.24/apps/hello'
> make: Nothing to be done for `all'.
> make: Leaving directory `/home/shared2/projects/aob/oklinux_2.6.23.24/apps/hello'
> CC=arm-linux-gcc PREFIX=/home/shared2/projects/aob/okl4_2.1.1-patch.9/build/linux/install make -C linux/apps/hello install
> make: Entering directory `/home/shared2/projects/aob/oklinux_2.6.23.24/apps/hello'
> install hello /home/shared2/projects/aob/okl4_2.1.1-patch.9/build/linux/install/bin
> make: Leaving directory `/home/shared2/projects/aob/oklinux_2.6.23.24/apps/hello'
> 

-- 




More information about the Developer mailing list