summary refs log tree commit diff stats
path: root/results/classifier/accel-gemma3:12b/kvm/1094786
blob: 6a74bfbbdb2361fee7e2b191c0f892b7c92dd386 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
static build with curses fails if requires -ltinfo

On my system (amd64 Debian wheezy/sid) static ncurses build requires -ltinfo:
$ pkg-config --libs --static ncurses
-lncurses -ltinfo

$ ../../configure --enable-curses --static
# Actually this fails on line
    if compile_prog "" "$curses_lib" ; then
# with
ERROR
ERROR: User requested feature curses
ERROR: configure was not able to find it
ERROR
# but if we add -ltinfo to this line check succeds
...
static build      yes
...

$ make
...
...
  CC    i386-softmmu/hw/i386/../kvm/pci-assign.o
  LINK  i386-softmmu/qemu-system-i386
../os-posix.o: In function `change_process_uid':
/home/vadim/soft/qemu/os-posix.c:205: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking # and many alike warnings
...
../ui/curses.o: In function `curses_cursor_position':
/home/vadim/soft/qemu/ui/curses.c:137: undefined reference to `COLS'
/home/vadim/soft/qemu/ui/curses.c:137: undefined reference to `LINES'
/home/vadim/soft/qemu/ui/curses.c:138: undefined reference to `stdscr'
/home/vadim/soft/qemu/ui/curses.c:139: undefined reference to `curs_set'
../ui/curses.o: In function `curses_calc_pad':
/home/vadim/soft/qemu/ui/curses.c:68: undefined reference to `stdscr'
/home/vadim/soft/qemu/ui/curses.c:69: undefined reference to `stdscr'
... and so on

I tried to build the very minimal static qemu executable. Actual configure line I tried first was 
../../configure --target-list=i386-softmmu --disable-sdl --disable-virtfs --disable-vnc --disable-xen --disable-brlapi --disable-bluez --disable-slirp --disable-kvm --disable-user --disable-vde --disable-vhost-net --disable-spice --disable-libiscsi --disable-smartcard --disable-usb-redir --disable-guest-agent  --audio-drv-list=  --audio-card-list= --enable-curses --static

and the errors was the same.