Pages: 1
Author Topic: [GUIDE] help with compile in fedora  (19,117 Views)
Offline (Unknown gender) gra

Member
Joined: Feb 2013
Posts: 147
View profile
Posted on: March 16, 2013, 10:23:58 PM
in first time i have istalled
yum install gcc-c++ zlib-devel mesa-libGLU-devel alure-devel
libvorbis-devel dumb-devel binutils-c6x-linux-gnu  gcc-c++.i686 zlib-devel.i686
mesa-libGLU-devel.i686 alure-devel.i686 libvorbis-devel.i686 dumb-devel.i686
binutils-c6x-linux-gnu.i686

and
yum install mingw32-\* mingw64-\* arm-gp2x-linux-gcc
after i have start the compilation of game and have an error obout
LINUXjoystick (i have read line error and regard stropts) i have solved
in irc with command
sudo yum provides */stropts.h
i have find the file and copy in
usr/include
after that i have two similar error, but with command and directory ,is simple
after i try to compile a game
this message is appear
/usr/bin/ld: .eobjs/Linux/Linux/Run/Platforms/xlib/XLIBmain.o:
undefined reference to symbol 'clock_gettime@@GLIBC_2.2.5'
/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined
in DSO /lib64/librt.so.1 so try adding it to the linker command line
/lib64/librt.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status

i don't know what i can do, help
SOLVED
add in makefiles (there are two in
/CompilerSource
/ENIGMAsystem/SHELL
)
,after comment
###########
# options #
###########

the line
LDLIBS= -lrt
and tht is all
gooo create games with fedora 18....
Pages: 1