Hi,

Any ideas why this is not working?

[EMAIL PROTECTED]:~/workdir/lsp/ti-davinci> make ARCH=arm CROSS_COMPILE=arm_v5t_le- checksetconfig
make[1]: *** No rule to make target `checksetconfig'.  Stop.
make: *** [checksetconfig] Error 2
[EMAIL PROTECTED]:~/workdir/lsp/ti-davinci>


Thanks, 
Will

----- Original Message ----
From: Will Tucker <[EMAIL PROTECTED]>
To: Kevin Hilman <[EMAIL PROTECTED]>
Cc: davinci-linux-open-source <[email protected]>
Sent: Monday, November 6, 2006 9:46:49 PM
Subject: Re: git tree update: i2c fixes compile error

Hi Kevin,

Thanks for the help.

I did some more testing:

1) gcc version:
[EMAIL PROTECTED]:~/workdir/lsp/ti-davinci> gcc --version
gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

2) It works when I compile 1.10 from the web site (NOT the GIT TREE)
[EMAIL PROTECTED]:~/workdir/lsp/ti-davinci> make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
....................
Image Name:   Linux-2.6.10_mvl401-davinci_evm
Created:      Mon Nov  6 15:06:04 2006
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    1291616 Bytes = 1261.34 kB = 1.23 MB
Load Address: 0x80008000
Entry Point:  0x80008000
  Image arch/arm/boot/uImage is ready
[EMAIL PROTECTED]:~/workdir/lsp/ti-davinci> 

3) Makefile to use -mabi=aapcs instead of -mabi=aapcs-linux
This works on the git version. What impact does this have I could not find much informtion on the web about the difference.
 
Thanks,
Will


----- Original Message ----
From: Kevin Hilman <[EMAIL PROTECTED]>
To: Will Tucker <[EMAIL PROTECTED]>
Cc: davinci-linux-open-source <[email protected]>
Sent: Monday, November 6, 2006 10:37:53 AM
Subject: Re: git tree update: i2c fixes compile error

Will Tucker wrote:
> I get this error when trying the latest git tree.
> This is what i used to compile:
>
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm644x_defconfig
>
> // can't get this to work
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- checksetconfig
>
> make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
>
>
> Any Ideas
>
>
> [EMAIL PROTECTED]:~/workdir/lsp/ti-davinci> make ARCH=arm
> CROSS_COMPILE=arm_v5t_le- uImage
>   CHK     include/linux/version.h
> make[1]: `include/asm-arm/mach-types.h' is up to date.
>   CHK     include/linux/utsrelease.h
>   CC      arch/arm/kernel/asm-offsets.s
> arch/arm/kernel/asm-offsets.c:1: error: invalid ABI option:
> -mabi=aapcs-linux
> make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2
> [EMAIL PROTECTED]:~/workdir/lsp/ti-davinci>

Looks like you're gcc version  is < 4.x.  For gcc 3.x, the cmdline
option for EABI is different.

You can fix this in a few ways

1) Upgrade your compiler to gcc 4.x

2) Disable EABI compile (config option: CONFIG_AEABI).  If you're using
gcc3.x, you probalby don't have an EABI userland anyways.

3) Makefile to use -mabi=aapcs instead of -mabi=aapcs-linux

Kevin



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to