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:

--8<---------------------------------------
/usr/bin/ld: rpcemu-fpa.o: undefined reference to symbol 
'tan@@GLIBC_2.2.5'
/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
--8<---------------------------------------

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 
./configure)

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

TTFN,
Adny

-- 
Erst wenn die Wolken schlafengehn        | Personal: [email protected]
kann man uns am Himmel sehn              | Techie: [email protected]
wir haben Angst und sind allein          | WWW: verelanthe.co.uk/musus/
Gott weiss ich will kein Engel sein!     | UT: [email protected]
-- Rammstein / Engel

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Rpcemu mailing list
[email protected]
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Reply via email to