On 06/09/10 15:09, Musus Umbra wrote:
Anyway, there's a simple workaround for these problems - we just have to
tell the configure script to include the libraries that are missing from
the process:
$ LDFLAGS="-lm -lpthread" ./configure --enable-dynarec
(obviously, use whatever arguments you normally would for the
./configure)
The "-lm" part 'fixes' the "tan@@GLIBC" problem. The "-lpthread"
'fixes' the "pthread_create@@GLIBC" problem. Apply as required.
Oh yeah, I have a proper fix for that in my tree. Doesn't look like I
ever sent it in though...
I've attached the patch to this mail.
Tom
--
Tom Hughes ([email protected])
http://compton.nu/
diff -r fd7692bb7680 src/Makefile.am
--- a/src/Makefile.am Fri Jun 11 23:28:31 2010 +0100
+++ b/src/Makefile.am Fri Jun 11 23:37:59 2010 +0100
@@ -49,6 +49,7 @@
if OS_LINUX
rpcemu_SOURCES += rpc-linux.c gui.c cdrom-linuxioctl.c network-linux.c \
network.c network.h
+rpcemu_LDADD += -lm -lpthread
endif
if OS_MACOSX
_______________________________________________
Rpcemu mailing list
[email protected]
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu