[uClinux-dev] LPTE_ symbols undefined and relocation errors

Greg Ungerer gerg at snapgear.com
Wed Mar 19 21:26:30 EST 2003


Hi James,

James Mulcahy wrote:
> I'm trying to compile uClinux-dist from CVS, with a CVS uClinux-2.4.x
> kernel for the GDB/ARMulator target and am getting the following errors
> during compilation.
> 
> make[3]: Entering directory
> `/home-local/tmp/mulcahj0/cvs-build/uClinux-dist-ARMulator/linux-cvs-2.4.x/arch/armnommu/mm'
> arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__
> -I/home-local/tmp/mulcahj0/cvs-build/uClinux-dist-ARMulator/linux-cvs-2.4.x/include
> -DNO_MM -mapcs-32 -march=armv4 -msoft-float -mno-fpu   -c -o proc-arm6,7.o
> proc-arm6,7.S
> proc-arm6,7.S:463: warning: #warning "FIXME: Setup anything if required"
> proc-arm6,7.S:496: warning: #warning "FIXME: Setup anything if required"
> proc-arm6,7.S: Assembler messages:
> proc-arm6,7.S:364: Error: undefined symbol LPTE_PRESENT in operatio
> proc-arm6,7.S:364: Error: undefined symbol LPTE_YOUNG in operation

All these defines are in ~/include/asm-armnommu/constants.h,
which is an automatically generated file. Check if you have
this file or not.

If you do a make clean, and "make" then you should see
getconstants.c compiled and used to generate constants.h...

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Wizard        EMAIL:  gerg at snapgear.com
SnapGear Pty Ltd                               PHONE:    +61 7 3435 2888
825 Stanley St,                                  FAX:    +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia              WEB:   www.SnapGear.com




More information about the uClinux-dev mailing list