compile error when trying to use uClibc snapshots

Gaye Abdoulaye Walsimou walsimou at walsimou.com
Tue Jun 17 13:29:52 UTC 2008


Hello list,
I'm trying to compile uClibc snapshots and have the following errors.
Any suggestions?
Thanks
Regards

#######################Error output when trying to compile uClibc 
snapshots ###############
make -C /opt/LDE/user/buildroot-20060919-1/toolchain_build_mipsel/uClibc \
                PREFIX= \
                DEVEL_PREFIX=/ \
                RUNTIME_PREFIX=/ \
                HOSTCC="gcc" \
                all
  CC ldso/ldso/ldso.oS
In file included from ./ldso/include/ldso.h:36,
                 from ldso/ldso/ldso.c:33:
./ldso/include/dl-syscall.h: In function `_dl_exit':
./ldso/include/dl-syscall.h:62: error: `__NR_exit' undeclared (first use 
in this function)
./ldso/include/dl-syscall.h:62: error: (Each undeclared identifier is 
reported only once
./ldso/include/dl-syscall.h:62: error: for each function it appears in.)
./ldso/include/dl-syscall.h: In function `_dl_close':
./ldso/include/dl-syscall.h:65: error: `__NR_close' undeclared (first 
use in this function)
./ldso/include/dl-syscall.h: In function `_dl_open':
./ldso/include/dl-syscall.h:68: 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:84: error: `__NR_stat' undeclared (first use 
in this function)
./ldso/include/dl-syscall.h: In function `_dl_fstat':
./ldso/include/dl-syscall.h:88: error: `__NR_fstat' undeclared (first 
use in this function)
./ldso/include/dl-syscall.h: In function `_dl_munmap':
./ldso/include/dl-syscall.h:91: error: `__NR_munmap' undeclared (first 
use in this function)
./ldso/include/dl-syscall.h: In function `_dl_getuid':
./ldso/include/dl-syscall.h:97: error: `__NR_getuid' undeclared (first 
use in this function)
./ldso/include/dl-syscall.h: In function `_dl_geteuid':
./ldso/include/dl-syscall.h:103: error: `__NR_getuid' undeclared (first 
use in this function)
./ldso/include/dl-syscall.h: In function `_dl_getgid':
./ldso/include/dl-syscall.h:109: error: `__NR_getgid' undeclared (first 
use in this function)
./ldso/include/dl-syscall.h: In function `_dl_getegid':
./ldso/include/dl-syscall.h:115: error: `__NR_getgid' undeclared (first 
use in this function)
./ldso/include/dl-syscall.h: In function `_dl_getpid':
./ldso/include/dl-syscall.h:121: error: `__NR_getpid' undeclared (first 
use in this function)
./ldso/include/dl-syscall.h: In function `_dl_readlink':
./ldso/include/dl-syscall.h:124: error: `__NR_readlink' undeclared 
(first use in this function)
In file included from ./ldso/include/ldso.h:36,
                 from ldso/ldso/ldso.c:33:
./ldso/include/dl-syscall.h:200:3: #error "Your architecture doesn't 
seem to provide mmap() !?"
ldso/ldso/ldso.c: In function `_dl_malloc':
ldso/ldso/ldso.c:922: warning: implicit declaration of function `_dl_mmap'
ldso/ldso/ldso.c:922: warning: nested extern declaration of `_dl_mmap'
ldso/ldso/ldso.c:923: warning: assignment makes pointer from integer 
without a cast
In file included from ldso/ldso/ldso.c:948:
ldso/ldso/dl-elf.c: In function `_dl_map_cache':
ldso/ldso/dl-elf.c:60: warning: nested extern declaration of `_dl_mmap'
ldso/ldso/dl-elf.c:60: warning: assignment makes pointer from integer 
without a cast
ldso/ldso/dl-elf.c: In function `_dl_load_elf_shared_library':
ldso/ldso/dl-elf.c:386: warning: nested extern declaration of `_dl_mmap'
ldso/ldso/dl-elf.c:387: warning: assignment makes pointer from integer 
without a cast
ldso/ldso/dl-elf.c: In function `_dl_dprintf':
ldso/ldso/dl-elf.c:848: warning: nested extern declaration of `_dl_mmap'
ldso/ldso/dl-elf.c:849: warning: assignment makes pointer from integer 
without a cast
make[2]: *** [ldso/ldso/ldso.oS] Erreur 1
make[1]: *** 
[/opt/LDE/user/buildroot-20060919-1/toolchain_build_mipsel/uClibc/lib/libc.a] 
Erreur 2
make: *** [rootfs] Erreur 2
[agaye at ziontrain LDE]$ cd user/buildroot/toolchain_build_mipsel/uClibc
[agaye at ziontrain uClibc]$ cd ldso/include/
[agaye at ziontrain include]$ ls
dl-defs.h  dl-elf.h  dlfcn.h  dl-hash.h  dl-string.h  dl-syscall.h  
ldso.h  unsecvars.h





More information about the uClibc mailing list