[uClibc] Problem using buildroot and ARM

Villalovos, John L john.l.villalovos at intel.com
Thu Jan 27 23:46:22 UTC 2005


I am trying to use buildroot to build for ARM.

I downloaded the buildroot.tar.gz file today from the ViewCVS interface.

I then did:  make menuconfig

	-	Changed target to ARM
	-	Saved and exited.

I then did: make

Answered a couple of prompts during the build about the ARM.

Then after a while I got the following errors:

make[2]: Entering directory `buildroot/toolchain_build_arm/uClibc/ldso'
make -C ldso
make[3]: Entering directory
`buildroot/toolchain_build_arm/uClibc/ldso/ldso'
buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc  -Wall
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fstrict-aliasing -Os -funit-at-a-time    -mlittle-endian -mtune=xscale
-march=armv4 -Wa,-mcpu=xscale -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\"
-fno-builtin -nostdinc -D_LIBC -I../../ldso/include -I. -I../../include
-isystem
buildroot/build_arm/staging_dir/lib/gcc/arm-linux-uclibc/3.4.2/include
-I../libdl -c ldso.c -o ldso.o
In file included from ../../ldso/include/ldso.h:26,
                 from ldso.c:32:
../../ldso/include/dl-syscall.h: In function `_dl_exit':
../../ldso/include/dl-syscall.h:63: error: `__NR_exit' undeclared (first
use in this function)
../../ldso/include/dl-syscall.h:63: error: (Each undeclared identifier
is reported only once
../../ldso/include/dl-syscall.h:63: error: for each function it appears
in.)
../../ldso/include/dl-syscall.h: In function `_dl_close':
../../ldso/include/dl-syscall.h:66: error: `__NR_close' undeclared
(first use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_open':
../../ldso/include/dl-syscall.h:69: error: `__NR_open' undeclared (first
use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_write':
../../ldso/include/dl-syscall.h:72: error: `__NR_write' undeclared
(first use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_read':
../../ldso/include/dl-syscall.h:76: error: `__NR_read' undeclared (first
use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_mprotect':
../../ldso/include/dl-syscall.h:80: error: `__NR_mprotect' undeclared
(first use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_stat':
../../ldso/include/dl-syscall.h:83: error: `__NR_stat' undeclared (first
use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_munmap':
../../ldso/include/dl-syscall.h:86: error: `__NR_munmap' undeclared
(first use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_getuid':
../../ldso/include/dl-syscall.h:89: error: `__NR_getuid' undeclared
(first use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_geteuid':
../../ldso/include/dl-syscall.h:92: error: `__NR_geteuid' undeclared
(first use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_getgid':
../../ldso/include/dl-syscall.h:95: error: `__NR_getgid' undeclared
(first use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_getegid':
../../ldso/include/dl-syscall.h:98: error: `__NR_getegid' undeclared
(first use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_getpid':
../../ldso/include/dl-syscall.h:101: error: `__NR_getpid' undeclared
(first use in this function)
../../ldso/include/dl-syscall.h: In function `_dl_readlink':
../../ldso/include/dl-syscall.h:104: error: `__NR_readlink' undeclared
(first use in this function)
ldso.c: In function `_dl_malloc':
ldso.c:925: warning: implicit declaration of function `_dl_mmap'
ldso.c:926: warning: assignment makes pointer from integer without a
cast
In file included from ldso.c:944:
dl-elf.c: In function `_dl_load_elf_shared_library':
dl-elf.c:468: warning: assignment makes pointer from integer without a
cast
dl-elf.c: In function `_dl_dprintf':
dl-elf.c:793: warning: assignment makes pointer from integer without a
cast
make[3]: *** [ldso.o] Error 1
make[3]: Leaving directory
`buildroot/toolchain_build_arm/uClibc/ldso/ldso'


Any ideas?

Thanks,
John



More information about the uClibc mailing list