I got compiled raydium svn revision 838 on Ubuntu 9.04 (amd64) with some tweaks:
There are error "relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC"
1)
Added to Makefile:15
COMPILE_OPTIONS= -g -D LIBRAY -fPIC
2)
Added to configure:221
--disable-simplexml --disable-xmlreader --disable-xmlwriter --enable-soap --with-pic\
This last might be fault of php.
I do not know anything about pic, but I found this when searching with error message:
http://www.gentoo.org/proj/en/base/amd6 ... t=1&chap=33) Error on making:
Creating: raydium/compile/myglut.o
In file included from /usr/include/X11/extensions/dpms.h:50,
from raydium/myglut-x11.c:25,
from raydium/myglut.c:35:
/usr/include/X11/Xmd.h:135: error: conflicting types for 'INT32'
/usr/include/jmorecfg.h:161: error: previous declaration of 'INT32' was here
make: *** [raydium/compile/myglut.o] Error 1
I figered there are in /usr/include/jmorecfg.h:160
#ifndef XMD_H /* X11/xmd.h correctly defines INT32 */
So I think Xmd.h and jmorecfg are loaded wrong order. I got it compiled when I put
raydium/common.h:20 #include <X11/Xmd.h>
This proofs my claim, but its not right solution.
Then I got mania_drive.c compiled and running.