This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

'CONFIG_DRAM_BASE' undeclared : memory.h


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


      


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]