error building uclibc 0.9.30 with kernel 2.6.28.1

mailinglists at openelec.tv mailinglists at openelec.tv
Thu Jan 22 18:03:52 UTC 2009


Hi,

when i build uclibc-0.9.30 with kernel 2.6.28.1 i have follow error  
(not with 2.6.27.10):

make: Entering directory  
`/home/stephan/OpenElec.test/build.i386.uClibc/uClibc-0.9.30'
  AS lib/crt1.o
  AS lib/Scrt1.o
  AS lib/crti.o
  AS lib/crtn.o
  CC ldso/ldso/ldso.oS
In file included from ./include/bits/errno.h:25,
                 from ./include/errno.h:36,
                 from ./include/bits/syscalls.h:14,
                 from ./include/sys/syscall.h:34,
                 from ./ldso/ldso/i386/dl-syscalls.h:3,
                 from ./ldso/include/dl-syscall.h:12,
                 from ./ldso/include/ldso.h:36,
                 from ldso/ldso/ldso.c:33:
/home/stephan/OpenElec.test/build.i386.uClibc/linux-2.6.28.1/include/linux/errno.h:4:23: error: asm/errno.h: No such file or  
directory
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:69: error: '__NR_open' undeclared (first  
use in this function)
./ldso/include/dl-syscall.h: In function '_dl_write':
./ldso/include/dl-syscall.h:73: error: '__NR_write' undeclared (first  
use in this function)
./ldso/include/dl-syscall.h: In function '_dl_read':
./ldso/include/dl-syscall.h:77: error: '__NR_read' undeclared (first  
use in this function)
./ldso/include/dl-syscall.h: In function '_dl_mprotect':
./ldso/include/dl-syscall.h:81: error: '__NR_mprotect' undeclared  
(first use in this function)
./ldso/include/dl-syscall.h: In function '_dl_stat':
./ldso/include/dl-syscall.h:85: 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:125: 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: #error "Your architecture  
doesn't seem to provide mmap() !?"
ldso/ldso/ldso.c: In function '_dl_malloc':
ldso/ldso/ldso.c:921: warning: implicit declaration of function '_dl_mmap'
ldso/ldso/ldso.c:922: warning: assignment makes pointer from integer  
without a cast
In file included from ldso/ldso/ldso.c:947:
ldso/ldso/dl-elf.c: In function '_dl_load_elf_shared_library':
ldso/ldso/dl-elf.c:377: warning: assignment makes pointer from integer  
without a cast
ldso/ldso/dl-elf.c: In function '_dl_dprintf':
ldso/ldso/dl-elf.c:839: warning: assignment makes pointer from integer  
without a cast
make: *** [ldso/ldso/ldso.oS] Error 1
make: Leaving directory  
`/home/stephan/OpenElec.test/build.i386.uClibc/uClibc-0.9.30'

can you help me? my uclibc.config and linux.config i attached

Stephan Raue




-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux.config
Type: application/octet-stream
Size: 47950 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20090122/929262b6/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uclibc.config
Type: application/octet-stream
Size: 5793 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20090122/929262b6/attachment-0003.obj 


More information about the uClibc mailing list