Idwer Vollering (vidwer@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2504
-gerrit
commit 07cdc0d19c5e35b54145444262849338c7d7a595 Author: Idwer Vollering vidwer@gmail.com Date: Mon Feb 25 03:49:04 2013 +0100
SerialICE: update qemu-0.15.x/build.sh for glibc 2.17
glibc 2.17 and above use librt. Update qemu-0.15.x/build.sh to compile when glibc >= 2.17 is installed.
This solves linker errors similar to this: (32-bit archlinux installation with glibc 2.17-3, binutils 2.23.1-3, glib2 2.34.3-1)
/usr/bin/ld: ../qemu-timer.o: undefined reference to symbol 'timer_settime@@GLIBC_2.2' /usr/bin/ld: note: 'timer_settime@@GLIBC_2.2' is defined in DSO /usr/lib/librt.so.1 so try adding it to the linker command line /usr/lib/librt.so.1: could not read symbols: Invalid operation
Change-Id: I2d335d065457788ef8aada7d0d500e84ba31e4d0 Signed-off-by: Idwer Vollering vidwer@gmail.com --- qemu-0.15.x/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qemu-0.15.x/build.sh b/qemu-0.15.x/build.sh index 2cac6f5..3dfd3a5 100644 --- a/qemu-0.15.x/build.sh +++ b/qemu-0.15.x/build.sh @@ -1,5 +1,5 @@ #!/bin/sh -./configure --extra-ldflags="-ldl" --disable-kvm --disable-sdl --enable-serialice \ +./configure --extra-ldflags="-ldl -lrt" --disable-kvm --disable-sdl --enable-serialice \ --target-list="x86_64-softmmu, i386-softmmu"
make