public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* 'CONFIG_DRAM_BASE' undeclared : memory.h
@ 2008-05-28 14:18 Acharya Partha
  0 siblings, 0 replies; only message in thread
From: Acharya Partha @ 2008-05-28 14:18 UTC (permalink / raw)
  To: glibc-bugs

Hi,
I am getting some error at glibc cross compilation
while building a cross-toolchain with the following
configuration :

Target=arm
Host=i386
Host Os= Linux (Fedora 7)

I found following errors :

---------------------------------------------------------------------------------------------------------------------


In file included from
/opt/nishant/arm-linux/arm-linux/include/asm/page.h:178,
                from
../ports/sysdeps/unix/sysv/linux/arm/ioperm.c:48:
/opt/nishant/arm-linux/arm-linux/include/asm/memory.h:
In function
'virt_to_phys':
/opt/nishant/arm-linux/arm-linux/include/asm/memory.h:170:
error:
'CONFIG_DRAM_BASE' undeclared (first use in this
function)
/opt/nishant/arm-linux/arm-linux/include/asm/memory.h:170:
error: (Each
undeclared identifier is reported only once
/opt/nishant/arm-linux/arm-linux/include/asm/memory.h:170:
error: for each
function it appears in.)
/opt/nishant/arm-linux/arm-linux/include/asm/memory.h:
In function
'phys_to_virt':
/opt/nishant/arm-linux/arm-linux/include/asm/memory.h:175:
error:
'CONFIG_DRAM_BASE' undeclared (first use in this
function)
/opt/nishant/arm-linux/arm-linux/include/asm/memory.h:
At top level:
/opt/nishant/arm-linux/arm-linux/include/asm/memory.h:191:
error: expected
'=', ',', ';', 'asm' or '__attribute__' before
'unsigned'
/opt/nishant/arm-linux/arm-linux/include/asm/memory.h:196:
error: expected
'=', ',', ';', 'asm' or '__attribute__' before 'void'
make[3]: ***
[/home/mangesh/Desktop/exp/armtoolchain/build/glibc-build/misc/ioperm.o]
Error 1
make[3]: Leaving directory
`/home/mangesh/Desktop/exp/armtoolchain/build/glibc-2.7/misc'
make[2]: *** [misc/subdir_lib] Error 2
make[2]: Leaving directory
`/home/mangesh/Desktop/exp/armtoolchain/build/glibc-2.7'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/mangesh/Desktop/exp/armtoolchain/build/glibc-build'
make: *** [cross_glibc_compile] Error 2





                     I guess the problem is with
CONFIG_MMU, in included file mirror.h, it is taking
CONFIG_MMU=n (while I have configured my kernel with
CONFIG_MMU=y ). Can anyone help me in this reference.
Thanx in advance
-Manav 
Partha


      


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-28 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-28 14:18 'CONFIG_DRAM_BASE' undeclared : memory.h Acharya Partha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).