--- a/tools/qemu-xen-traditional/Makefile.target
+++ b/tools/qemu-xen-traditional/Makefile.target
@@ -520,7 +520,7 @@
 OBJS+=block-raw-posix.o
 endif
 
-LIBS+=-lz
+LIBS+=-lz -lm -lrt
 ifdef CONFIG_ALSA
 LIBS += -lasound
 endif