LINUX.ORG.RU

qemu-1.4 не собирается.

 


0

1
  LINK  i386-softmmu/qemu-system-i386
../aio-posix.o: In function `aio_poll':
/home/splinter/soft/qemu-1.4.0/aio-posix.c:213: undefined reference to `__fdelt_chk'
/home/splinter/soft/qemu-1.4.0/aio-posix.c:217: undefined reference to `__fdelt_chk'
/home/splinter/soft/qemu-1.4.0/aio-posix.c:243: undefined reference to `__fdelt_chk'
/home/splinter/soft/qemu-1.4.0/aio-posix.c:249: undefined reference to `__fdelt_chk'
../iohandler.o: In function `qemu_iohandler_fill':
/home/splinter/soft/qemu-1.4.0/iohandler.c:105: undefined reference to `__fdelt_chk'
../iohandler.o:/home/splinter/soft/qemu-1.4.0/iohandler.c:110: more undefined references to `__fdelt_chk' follow
hw/i386/../kvm/pci-assign.o: In function `assigned_dev_ioport_rw':
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:185: undefined reference to `outw'
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:182: undefined reference to `outb'
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:188: undefined reference to `outl'
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:194: undefined reference to `inb'
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:197: undefined reference to `inw'
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:200: undefined reference to `inl'
collect2: выполнение ld завершилось с кодом возврата 1
make[1]: *** [qemu-system-i386] Ошибка 1
make: *** [subdir-i386-softmmu] Ошибка 2

  LINK  x86_64-softmmu/qemu-system-x86_64
../aio-posix.o: In function `aio_poll':
/home/splinter/soft/qemu-1.4.0/aio-posix.c:213: undefined reference to `__fdelt_chk'
/home/splinter/soft/qemu-1.4.0/aio-posix.c:217: undefined reference to `__fdelt_chk'
/home/splinter/soft/qemu-1.4.0/aio-posix.c:243: undefined reference to `__fdelt_chk'
/home/splinter/soft/qemu-1.4.0/aio-posix.c:249: undefined reference to `__fdelt_chk'
../iohandler.o: In function `qemu_iohandler_fill':
/home/splinter/soft/qemu-1.4.0/iohandler.c:105: undefined reference to `__fdelt_chk'
../iohandler.o:/home/splinter/soft/qemu-1.4.0/iohandler.c:110: more undefined references to `__fdelt_chk' follow
hw/i386/../kvm/pci-assign.o: In function `assigned_dev_ioport_rw':
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:185: undefined reference to `outw'
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:182: undefined reference to `outb'
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:188: undefined reference to `outl'
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:194: undefined reference to `inb'
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:197: undefined reference to `inw'
/home/splinter/soft/qemu-1.4.0/hw/i386/../kvm/pci-assign.c:200: undefined reference to `inl'
collect2: выполнение ld завершилось с кодом возврата 1
make[1]: *** [qemu-system-x86_64] Ошибка 1
make: *** [subdir-x86_64-softmmu] Ошибка 2
bash-4.1$ uname -a
Linux splinter 2.6.37.6-smp #2 SMP Sat Apr 9 23:39:07 CDT 2011 i686 Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz GenuineIntel GNU/Linux
bash-4.1$ gcc -v
Спецификации прочитаны из /usr/lib/gcc/i486-slackware-linux/4.5.2/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i486-slackware-linux/4.5.2/lto-wrapper
Целевая архитектура: i486-slackware-linux
Параметры конфигурации: ../gcc-4.5.2/configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc,lto --enable-threads=posix --enable-checking=release --with-system-zlib --with-python-dir=/lib/python2.6/site-packages --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --build=i486-slackware-linux --host=i486-slackware-linux
Модель многопоточности: posix
gcc версия 4.5.2 (GCC) 
★★★★★

Ключевая информация:

undefined reference to `__fdelt_chk'
то есть, не найдена __fdelt_chk(). Похоже, нужна libc несколько свежее, что-то вроде:
strings /lib64/libc-*.so | grep __fdelt_chk
__fdelt_chk
__fdelt_chk
Это в Slackware-14.0, x86_64, glibc-2.15.

bormant ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.