[Balloon] Re: Compiling Make dep errors

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Wookey
Date:  
To: Balloon
Subject: [Balloon] Re: Compiling Make dep errors
+++ Glen VanMilligan [05-01-04 16:15 -0800]:
> I still need help with this one.
>
> make[2]: Entering directory `/usr/arm_devtree/linux/arch/arm/tools'
> /opt/crosstool/arm-softfloat-linux-gnu/gcc-3.4.1-glibc-2.3.3/bin/arm-softfloat-linux-gnu-gcc
> -D__KERNEL__ -I./include -Wall -Wstrict-prototypes -Wno-trigraphs -Os
> -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32
> -D__LINUX_ARM_ARCH__=4 -march=armv4 -msoft-float -Uarm -S -o
> constants.h.tmp.1 getconstants.c
> getconstants.c: In function `func':
> getconstants.c:33: error: structure has no member named `sigpending'
> getconstants.c:34: error: structure has no member named `addr_limit'
> getconstants.c:35: error: structure has no member named `need_resched'
> getconstants.c:39: error: structure has no member named `save'
> getconstants.c:40: error: structure has no member named `fpstate'
> getconstants.c:43: error: structure has no member named `domain'
> getconstants.c:46: error: `PTE_AP_READ' undeclared (first use in this
> function)
> getconstants.c:46: error: (Each undeclared identifier is reported only once
> getconstants.c:46: error: for each function it appears in.)
> getconstants.c:47: error: `PTE_AP_WRITE' undeclared (first use in this
> function)
> make[2]: *** [constants.h] Error 1
> make[2]: Leaving directory `/usr/arm_devtree/linux/arch/arm/tools'
> make[1]: *** [dep] Error 2
> make[1]: Leaving directory `/usr/arm_devtree/linux/arch/arm/tools'
> make: *** [archdep] Error 2
> linux:/usr/arm_devtree/linux #


This is trying to build your own kernel - correct? Which tree?

And using your own crosstool-built toolchain (gcc-3.4.1)?

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/