|
From: | Michele Denber |
Subject: | gmake in Solaris 11.4: TFR missing |
Date: | Fri, 03 Jul 2020 17:35:21 -0400 |
User-agent: | Mozilla/5.0 (X11; SunOS sun4v; rv:10.0.7) Gecko/20121005 Thunderbird/10.0.7 |
OK, I fixed this by adding the line #include </usr/include/sys/ioccom.h> to hw/tpm/tpm_ioctl.h. gmake now went to the end but threw a bunch of errors all complaining about something called TFR. This is the tail: ... CC aarch64-softmmu/trace/generated-helpers.o Undefined first referenced symbol in file TFR ../net/tap-solaris.o ld: fatal: symbol referencing errors collect2: error: ld returned 1 exit status gmake[1]: *** [Makefile:208: qemu-system-mipsel] Error 1 gmake: *** [Makefile:527: mipsel-softmmu/all] Error 2 LINK mips-softmmu/qemu-system-mips Undefined first referenced symbol in file TFR ../net/tap-solaris.o ld: fatal: symbol referencing errors collect2: error: ld returned 1 exit status gmake[1]: *** [Makefile:208: qemu-system-mips] Error 1 gmake: *** [Makefile:527: mips-softmmu/all] Error 2 LINK arm-softmmu/qemu-system-arm Undefined first referenced symbol in file TFR ../net/tap-solaris.o ld: fatal: symbol referencing errors collect2: error: ld returned 1 exit status gmake[1]: *** [Makefile:208: qemu-system-arm] Error 1 gmake: *** [Makefile:527: arm-softmmu/all] Error 2 LINK aarch64-softmmu/qemu-system-aarch64 Undefined first referenced symbol in file TFR ../net/tap-solaris.o ld: fatal: symbol referencing errors collect2: error: ld returned 1 exit status gmake[1]: *** [Makefile:208: qemu-system-aarch64] Error 1 gmake: *** [Makefile:527: aarch64-softmmu/all] Error 2 root@hemlock:~/qemu-5.0.0# A web search for "solaris undefined symbol TFR" turned up nothing and I'm not seeing it on the machine. man TFR returns nothing. I didn't encounter this error while building 2.12. Here's an example of its use (in tap-solaris.c): TFR(ip_fd = open("/dev/udp", O_RDWR, 0)); What is TFR? - Michele |
[Prev in Thread] | Current Thread | [Next in Thread] |