[uClinux-dev] Can't build w/ new distro

Lance Spaulding lance at hpbs4089.boi.hp.com
Thu Nov 29 18:42:37 EST 2001


I'm unable to build a Atmel AT91 system with the latest (20011112)
distribution.  I'm running 'make menuconfig' in the uClinux-dist/ directory and
selecting Atmel AT91 as the target and leaving everything else at their
defaults.  Then I run 'make dep' and 'make.'  The kernel builds fine, but the
make eventually fails building libc with the following:

make -C sysdeps
make[3]: Entering directory `/mnt/lance2/arm/Atmel/lib/libc/sysdeps'
arm-elf-gcc -O2 -g  -fno-builtin -DEMBED
-I/mnt/lance2/arm/Atmel/lib/libc/include -I/mnt/lance2/arm/Atmel -Dlinux
-D__linux__ -D__uClinux__ -Dunix -I/mnt/lance2/arm/Atmel/linux-2.4.x/include
 -I. -Iarm -c -o arm/clone.o arm/clone.S
arm-elf-gcc -O2 -g  -fno-builtin -DEMBED
-I/mnt/lance2/arm/Atmel/lib/libc/include -I/mnt/lance2/arm/Atmel -Dlinux
-D__linux__ -D__uClinux__ -Dunix -I/mnt/lance2/arm/Atmel/linux-2.4.x/include
 -I. -Iarm -c -o arm/__longjmp.o arm/__longjmp.S
arm-elf-gcc -O2 -g  -fno-builtin -DEMBED
-I/mnt/lance2/arm/Atmel/lib/libc/include -I/mnt/lance2/arm/Atmel -Dlinux
-D__linux__ -D__uClinux__ -Dunix -I/mnt/lance2/arm/Atmel/linux-2.4.x/include
 -I. -Iarm -c -o arm/bsd-setjmp.o arm/bsd-setjmp.S
arm-elf-gcc -O2 -g  -fno-builtin -DEMBED
-I/mnt/lance2/arm/Atmel/lib/libc/include -I/mnt/lance2/arm/Atmel -Dlinux
-D__linux__ -D__uClinux__ -Dunix -I/mnt/lance2/arm/Atmel/linux-2.4.x/include
 -I. -Iarm -c -o arm/bsd-_setjmp.o arm/bsd-_setjmp.S
arm-elf-gcc -O2 -g  -fno-builtin -DEMBED
-I/mnt/lance2/arm/Atmel/lib/libc/include -I/mnt/lance2/arm/Atmel -Dlinux
-D__linux__ -D__uClinux__ -Dunix -I/mnt/lance2/arm/Atmel/linux-2.4.x/include
 -I. -Iarm   -c -o arm/ptrace.o arm/ptrace.c
arm/ptrace.c:21: sys/ptrace.h: No such file or directory
make[3]: *** [arm/ptrace.o] Error 1

I assume the various vendor/platform combinations in the tarfile should build,
so I must be missing a configuration step.  What do I have to do to get the
AT91 target to build successfully besides just selecting it in top-level
config?

Thanks,
Lance

-- 
###########################+------------------------------------------------+
########  _/       ########|  O-      L A N C E   S P A U L D I N G      O- |
#####    _/           #####|         Research & Development Engineer        |
####    _/_/_/ _/_/_/  ####|             Hewlett-Packard Company            |
####   _/  _/ _/  _/   ####|        LaserJet Copy Solutions,  M/S 242       |
####  _/  _/ _/_/_/    ####|       11311 Chinden Blvd, Boise, ID  83714     |
#####       _/        #####| EMAIL: lance at boi.hp.com   URL: hpbs2780/~lance |
########   _/      ########| VOICE:(208) 396-3342      FAX: (208) 396-3457  |
###########################+------------------------------------------------+
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list