public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] U-Boot doesn't compile for M54455EVB_intel_config
@ 2009-07-15 14:43 Matthew Lear
  2009-07-16 15:45 ` TC Liew
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Lear @ 2009-07-15 14:43 UTC (permalink / raw)
  To: u-boot

Hi TsiChung / Wolfgang,

I just pulled u-boot.git to re-sync and tried to configure and build it
for M54455EVB_intel_config but the compilation failed. I tried a fresh
clone just to be sure and it was the same.

[snip]

m68k-linux-gnu-gcc  -g  -Os   -ffixed-d7 -msep-data -D__KERNEL__
-DTEXT_BASE=0x00000000 -I/home/matt/nht/git-uboot-master/u-boot/include
-fno-builtin -ffreestanding -nostdinc -isystem
/opt/freescale/usr/local/gcc-4.2.35-eglibc-2.5.35/m68k-linux/lib/gcc/m68k-linux-gnu/4.2.0/include
-pipe  -DCONFIG_M68K -D__M68K__ -mcpu=54455 -fPIC -DTEXT_BASE=0x00000000
-Wall -Wstrict-prototypes -fno-stack-protector   -o cmd_ide.o cmd_ide.c -c
cmd_ide.c: In function '__ide_outb':
cmd_ide.c:529: error: '_IO_BASE' undeclared (first use in this function)
cmd_ide.c:529: error: (Each undeclared identifier is reported only once
cmd_ide.c:529: error: for each function it appears in.)
cmd_ide.c: In function '__ide_inb':
cmd_ide.c:538: error: '_IO_BASE' undeclared (first use in this function)
cmd_ide.c: In function 'output_data':
cmd_ide.c:942: error: '_IO_BASE' undeclared (first use in this function)
cmd_ide.c: In function 'input_data':
cmd_ide.c:1000: error: '_IO_BASE' undeclared (first use in this function)
cmd_ide.c: In function 'output_data_shorts':
cmd_ide.c:1705: error: '_IO_BASE' undeclared (first use in this function)
cmd_ide.c: In function 'input_data_shorts':
cmd_ide.c:1711: error: '_IO_BASE' undeclared (first use in this function)
make[1]: *** [cmd_ide.o] Error 1
make[1]: Leaving directory `/home/matt/nht/git-uboot-master/u-boot/common'
make: *** [common/libcommon.a] Error 2


Is this expected at the current time?

Rgds,
--  Matt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] U-Boot doesn't compile for M54455EVB_intel_config
  2009-07-15 14:43 [U-Boot] U-Boot doesn't compile for M54455EVB_intel_config Matthew Lear
@ 2009-07-16 15:45 ` TC Liew
  2009-07-20  7:46   ` Matthew Lear
  0 siblings, 1 reply; 3+ messages in thread
From: TC Liew @ 2009-07-16 15:45 UTC (permalink / raw)
  To: u-boot

Matt,

In asm-m68k/io.h, please add

#ifndef _IO_BASE
#define _IO_BASE 0
#endif

Regards,
TsiChung

On Wed, Jul 15, 2009 at 9:43 AM, Matthew Lear<matt@bubblegen.co.uk> wrote:
> Hi TsiChung / Wolfgang,
>
> I just pulled u-boot.git to re-sync and tried to configure and build it
> for M54455EVB_intel_config but the compilation failed. I tried a fresh
> clone just to be sure and it was the same.
>
> [snip]
>
> m68k-linux-gnu-gcc ?-g ?-Os ? -ffixed-d7 -msep-data -D__KERNEL__
> -DTEXT_BASE=0x00000000 -I/home/matt/nht/git-uboot-master/u-boot/include
> -fno-builtin -ffreestanding -nostdinc -isystem
> /opt/freescale/usr/local/gcc-4.2.35-eglibc-2.5.35/m68k-linux/lib/gcc/m68k-linux-gnu/4.2.0/include
> -pipe ?-DCONFIG_M68K -D__M68K__ -mcpu=54455 -fPIC -DTEXT_BASE=0x00000000
> -Wall -Wstrict-prototypes -fno-stack-protector ? -o cmd_ide.o cmd_ide.c -c
> cmd_ide.c: In function '__ide_outb':
> cmd_ide.c:529: error: '_IO_BASE' undeclared (first use in this function)
> cmd_ide.c:529: error: (Each undeclared identifier is reported only once
> cmd_ide.c:529: error: for each function it appears in.)
> cmd_ide.c: In function '__ide_inb':
> cmd_ide.c:538: error: '_IO_BASE' undeclared (first use in this function)
> cmd_ide.c: In function 'output_data':
> cmd_ide.c:942: error: '_IO_BASE' undeclared (first use in this function)
> cmd_ide.c: In function 'input_data':
> cmd_ide.c:1000: error: '_IO_BASE' undeclared (first use in this function)
> cmd_ide.c: In function 'output_data_shorts':
> cmd_ide.c:1705: error: '_IO_BASE' undeclared (first use in this function)
> cmd_ide.c: In function 'input_data_shorts':
> cmd_ide.c:1711: error: '_IO_BASE' undeclared (first use in this function)
> make[1]: *** [cmd_ide.o] Error 1
> make[1]: Leaving directory `/home/matt/nht/git-uboot-master/u-boot/common'
> make: *** [common/libcommon.a] Error 2
>
>
> Is this expected at the current time?
>
> Rgds,
> -- ?Matt
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] U-Boot doesn't compile for M54455EVB_intel_config
  2009-07-16 15:45 ` TC Liew
@ 2009-07-20  7:46   ` Matthew Lear
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Lear @ 2009-07-20  7:46 UTC (permalink / raw)
  To: u-boot

Thanks TsiChung. That did the trick.
--  Matt

TC Liew wrote:
> Matt,
> 
> In asm-m68k/io.h, please add
> 
> #ifndef _IO_BASE
> #define _IO_BASE 0
> #endif
> 
> Regards,
> TsiChung
> 
> On Wed, Jul 15, 2009 at 9:43 AM, Matthew Lear<matt@bubblegen.co.uk> wrote:
>> Hi TsiChung / Wolfgang,
>>
>> I just pulled u-boot.git to re-sync and tried to configure and build it
>> for M54455EVB_intel_config but the compilation failed. I tried a fresh
>> clone just to be sure and it was the same.
>>
>> [snip]
>>
>> m68k-linux-gnu-gcc  -g  -Os   -ffixed-d7 -msep-data -D__KERNEL__
>> -DTEXT_BASE=0x00000000 -I/home/matt/nht/git-uboot-master/u-boot/include
>> -fno-builtin -ffreestanding -nostdinc -isystem
>> /opt/freescale/usr/local/gcc-4.2.35-eglibc-2.5.35/m68k-linux/lib/gcc/m68k-linux-gnu/4.2.0/include
>> -pipe  -DCONFIG_M68K -D__M68K__ -mcpu=54455 -fPIC -DTEXT_BASE=0x00000000
>> -Wall -Wstrict-prototypes -fno-stack-protector   -o cmd_ide.o cmd_ide.c -c
>> cmd_ide.c: In function '__ide_outb':
>> cmd_ide.c:529: error: '_IO_BASE' undeclared (first use in this function)
>> cmd_ide.c:529: error: (Each undeclared identifier is reported only once
>> cmd_ide.c:529: error: for each function it appears in.)
>> cmd_ide.c: In function '__ide_inb':
>> cmd_ide.c:538: error: '_IO_BASE' undeclared (first use in this function)
>> cmd_ide.c: In function 'output_data':
>> cmd_ide.c:942: error: '_IO_BASE' undeclared (first use in this function)
>> cmd_ide.c: In function 'input_data':
>> cmd_ide.c:1000: error: '_IO_BASE' undeclared (first use in this function)
>> cmd_ide.c: In function 'output_data_shorts':
>> cmd_ide.c:1705: error: '_IO_BASE' undeclared (first use in this function)
>> cmd_ide.c: In function 'input_data_shorts':
>> cmd_ide.c:1711: error: '_IO_BASE' undeclared (first use in this function)
>> make[1]: *** [cmd_ide.o] Error 1
>> make[1]: Leaving directory `/home/matt/nht/git-uboot-master/u-boot/common'
>> make: *** [common/libcommon.a] Error 2
>>
>>
>> Is this expected at the current time?
>>
>> Rgds,
>> --  Matt
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-20  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15 14:43 [U-Boot] U-Boot doesn't compile for M54455EVB_intel_config Matthew Lear
2009-07-16 15:45 ` TC Liew
2009-07-20  7:46   ` Matthew Lear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox