Не собирается klibc
на х86 ставлю хочу поднять framebuffer uvesa
делаю все как тут
http://dev.gentoo.org/~spock/projects/uvesafb/
собрал ядро с нужными опциями
make
emerge klibc
получаю ответ
LIST usr/klibc/zlib/klib.list
LIST usr/klibc/klib.list
KLIBCAR usr/klibc/libc.a
KLIBCLD usr/klibc/libc.so
usr/klibc/exit.o: In function `exit':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/exit.c:29: undefined reference to `_exit'
usr/klibc/execl.o: In function `execl':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/exec_l.c:53: undefined reference to `execve'
usr/klibc/execle.o: In function `execle':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/exec_l.c:53: undefined reference to `execve'
usr/klibc/execv.o: In function `execv':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/execv.c:10: undefined reference to `execve'
usr/klibc/execvpe.o: In function `execvpe':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/execvpe.c:32: undefined reference to `execve'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/execvpe.c:66: undefined reference to `execve'
usr/klibc/wait.o: In function `wait':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/wait.c:11: undefined reference to `wait4'
usr/klibc/wait3.o: In function `wait3':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/wait3.c:11: undefined reference to `wait4'
usr/klibc/waitpid.o: In function `waitpid':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/waitpid.c:11: undefined reference to `wait4'
usr/klibc/system.o: In function `system':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/system.c:37: undefined reference to `fork'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/system.c:48: undefined reference to `execve'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/system.c:49: undefined reference to `_exit'
usr/klibc/setpgrp.o: In function `setpgrp':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/setpgrp.c:9: undefined reference to `setpgid'
usr/klibc/getpgrp.o: In function `getpgrp':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/getpgrp.c:9: undefined reference to `getpgid'
usr/klibc/daemon.o: In function `daemon':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/daemon.c:15: undefined reference to `chdir'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/daemon.c:20: undefined reference to `dup2'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/daemon.c:20: undefined reference to `dup2'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/daemon.c:20: undefined reference to `dup2'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/daemon.c:25: undefined reference to `close'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/daemon.c:28: undefined reference to `fork'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/daemon.c:32: undefined reference to `_exit'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/daemon.c:34: undefined reference to `setsid'
usr/klibc/statfs.o: In function `statfs':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/statfs.c:16: undefined reference to `__statfs64'
usr/klibc/fstatfs.o: In function `fstatfs':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/fstatfs.c:16: undefined reference to `__fstatfs64'
usr/klibc/umount.o: In function `umount':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/umount.c:11: undefined reference to `umount2'
usr/klibc/open_cloexec.o: In function `open_cloexec':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/open_cloexec.c:15: undefined reference to `fcntl'
usr/klibc/fread.o: In function `_fread':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/fread.c:16: undefined reference to `read'
usr/klibc/fwrite.o: In function `_fwrite':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/fwrite.c:16: undefined reference to `write'
usr/klibc/sleep.o: In function `sleep':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/sleep.c:16: undefined reference to `nanosleep'
usr/klibc/usleep.o: In function `usleep':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/usleep.c:16: undefined reference to `nanosleep'
usr/klibc/raise.o: In function `raise':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/raise.c:10: undefined reference to `getpid'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/raise.c:10: undefined reference to `kill'
usr/klibc/abort.o: In function `abort':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/abort.c:17: undefined reference to `_exit'
usr/klibc/sigaction.o: In function `sigaction':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/sigaction.c:47: undefined reference to `__rt_sigaction'
usr/klibc/sigpending.o: In function `sigpending':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/sigpending.c:15: undefined reference to `__rt_sigpending'
usr/klibc/sigprocmask.o: In function `sigprocmask':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/sigprocmask.c:15: undefined reference to `__rt_sigprocmask'
usr/klibc/sigsuspend.o: In function `sigsuspend':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/sigsuspend.c:15: undefined reference to `__rt_sigsuspend'
usr/klibc/pselect.o: In function `pselect':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/pselect.c:38: undefined reference to `__pselect6'
usr/klibc/ppoll.o: In function `ppoll':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/ppoll.c:16: undefined reference to `__ppoll'
usr/klibc/brk.o: In function `brk':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/brk.c:22: undefined reference to `__brk'
usr/klibc/sbrk.o: In function `sbrk':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/sbrk.c:27: undefined reference to `__brk'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/sbrk.c:32: undefined reference to `__brk'
usr/klibc/malloc.o: In function `free':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/malloc.c:279: undefined reference to `munmap'
usr/klibc/mmap.o: In function `mmap':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/mmap.c:36: undefined reference to `__mmap2'
usr/klibc/shm_unlink.o: In function `shm_unlink':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/shm_unlink.c:22: undefined reference to `unlink'
usr/klibc/gethostname.o: In function `gethostname':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/gethostname.c:14: undefined reference to `uname'
usr/klibc/getdomainname.o: In function `getdomainname':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/getdomainname.c:14: undefined reference to `uname'
usr/klibc/getcwd.o: In function `getcwd':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/getcwd.c:14: undefined reference to `__getcwd'
usr/klibc/seteuid.o: In function `seteuid':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/seteuid.c:9: undefined reference to `setreuid'
usr/klibc/setegid.o: In function `setegid':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/setegid.c:9: undefined reference to `setregid'
usr/klibc/readdir.o: In function `closedir':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/readdir.c:54: undefined reference to `close'
usr/klibc/readdir.o: In function `readdir':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/readdir.c:37: undefined reference to `getdents'
usr/klibc/remove.o: In function `remove':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/remove.c:13: undefined reference to `unlink'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/remove.c:15: undefined reference to `rmdir'
usr/klibc/syslog.o: In function `openlog':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/syslog.c:38: undefined reference to `fcntl'
usr/klibc/syslog.o: In function `vsyslog':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/syslog.c:61: undefined reference to `getpid'
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/syslog.c:76: undefined reference to `write'
usr/klibc/closelog.o: In function `closelog':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/closelog.c:15: undefined reference to `close'
usr/klibc/pty.o: In function `unlockpt':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/pty.c:30: undefined reference to `ioctl'
usr/klibc/pty.o: In function `ptsname':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/pty.c:18: undefined reference to `ioctl'
usr/klibc/isatty.o: In function `isatty':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/isatty.c:16: undefined reference to `ioctl'
usr/klibc/reboot.o: In function `reboot':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/reboot.c:14: undefined reference to `__reboot'
usr/klibc/llseek.o: In function `lseek':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/llseek.c:24: undefined reference to `__llseek'
usr/klibc/getpriority.o: In function `getpriority':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/getpriority.c:19: undefined reference to `__getpriority'
usr/klibc/inet/bindresvport.o: In function `bindresvport':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/inet/bindresvport.c:33: undefined reference to `getpid'
usr/klibc/zlib/gzio.o: In function `fclose':
/var/tmp/portage/dev-libs/klibc-1.5.12-r1/work/klibc-1.5.12/usr/klibc/../include/stdio.h:60: undefined reference to `close'
make[2]: *** [usr/klibc/libc.so] Ошибка 1
make[1]: *** [all] Ошибка 2
make: *** [klibc] Ошибка 2
[31;01m*[0m
[31;01m*[0m ERROR: dev-libs/klibc-1.5.12-r1 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called src_compile
[31;01m*[0m environment, line 2120: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m emake EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" EXTRA_KLIBCLDFLAGS="-z,noexecstack" HOSTCC="${HOSTCC}" CC="${CC}" INSTALLDIR="/usr/${libdir}/klibc" KLIBCARCH=${KLIBCARCH} KLIBCASMARCH=${KLIBCASMARCH} SHLIBDIR="/${libdir}" libdir="/usr/${libdir}" mandir="/usr/share/man" ${myargs} || die "Compile failed!";
[31;01m*[0m The die message:
[31;01m*[0m Compile failed!
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/dev-libs/klibc-1.5.12-r1/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/klibc-1.5.12-r1/temp/environment'.
[31;01m*[0m
klibc-1.5.12-r1
gentoo-sources-2.6.27-r7
на 2.6.26-r4 та же история
Кто сталкивался что делать?
- Для комментирования войдите или зарегистрируйтесь
я смог собрать klibc после
я смог собрать klibc после того как перешёл с gcc 4.1 на gcc 4.3. Но заставить работать uvesafb всё равно не получилось. можно почитать в http://bugs.gentoo.org/212531