[Rpcemu] Building RPCemu 0.8.7 on Fedora 13

Musus Umbra musus at verelanthe.co.uk
Mon Sep 6 07:09:08 PDT 2010

Hi list;

As it stands, trying to build RPCemu on Fedora 13 and possibly some 
other distros will fail with a message similar to this:

/usr/bin/ld: rpcemu-fpa.o: undefined reference to symbol 
/usr/bin/ld: note: 'tan@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 
so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [rpcemu] Error 1
make[1]: Leaving directory `/home/musus/F13Makings/rpcemu-0.8.7/src'
make: *** [all] Error 2

The key line is "/usr/bin/ld: note: 'tan@@GLIBC_2.2.5' is defined in DSO 
/lib64/libm.so.6 so try adding it to the linker command line"

Or, the message might mention "/usr/bin/ld: rpcemu-rpc-linux.o: 
undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'"

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 

The "-lm" part 'fixes' the "tan@@GLIBC" problem.  The "-lpthread" 
'fixes' the "pthread_create@@GLIBC" problem.  Apply as required.


Erst wenn die Wolken schlafengehn	 | Personal: adny at verelanthe.co.uk
kann man uns am Himmel sehn		 | Techie: musus at verelanthe.co.uk
wir haben Angst und sind allein		 | WWW: verelanthe.co.uk/musus/
Gott weiss ich will kein Engel sein!	 | UT: adny.rsa at googlemail.com
-- Rammstein / Engel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.riscos.info/pipermail/rpcemu/attachments/20100906/f21f797e/attachment.pgp>

More information about the Rpcemu mailing list