Page 1 of 1

build error

Posted: January 31st, 2013, 1:44 pm
by gurran

Code: Select all

fromdos enet/* && fromdos enet/*/* && chmod +x enet/configure && make install
fromdos: File read/write error while converting enet/autom4te.cache.
fromdos: File read/write error while converting enet/docs.
fromdos: File read/write error while converting enet/include.
fromdos: File read/write error while converting enet/m4.
fromdos: File read/write error while converting enet/include/enet.
make    -C enet/ all
make[1]: Entering directory `/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing --run aclocal-1.12 -Im4
/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing: line 52: aclocal-1.12: command not found
WARNING: `aclocal-1.12' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.ac'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /bin/bash /root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing --run automake-1.12 --foreign
/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing: line 52: automake-1.12: command not found
WARNING: `automake-1.12' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing --run autoconf
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --enable-shared=no --enable-static=yes --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for poll... yes
checking for fcntl... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for struct msghdr.msg_flags... yes
checking for socklen_t... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
 /bin/bash ./config.status
config.status: creating Makefile
config.status: creating libenet.pc
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory `/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet'
make[1]: Entering directory `/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing --run autoconf
/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2  -version-info 2:0:0  -o libenet.la -rpath /usr/local/lib callbacks.lo compress.lo host.lo list.lo packet.lo peer.lo protocol.lo unix.lo win32.lo 
libtool: link: rm -fr  .libs/libenet.a .libs/libenet.la .libs/libenet.lai
libtool: link: ar cru .libs/libenet.a  callbacks.o compress.o host.o list.o packet.o peer.o protocol.o unix.o win32.o
libtool: link: ranlib .libs/libenet.a
libtool: link: ( cd ".libs" && rm -f "libenet.la" && ln -s "../libenet.la" "libenet.la" )
make[1]: Leaving directory `/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet'
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -o shared/cube.tmp.h.gch shared/cube.h
/bin/sh: 1: sdl-config: not found
shared/cube.h:46:17: fatal error: SDL.h: No such file or directory
compilation terminated.
make: *** [shared/cube.h.gch] Error 1



It did not see the executables so I tried building from source.

Re: build error

Posted: January 31st, 2013, 3:23 pm
by gurran
I ran: "apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev"
And now I get:

Code: Select all

fromdos: File read/write error while converting enet/autom4te.cache.
fromdos: File read/write error while converting enet/docs.
fromdos: File read/write error while converting enet/include.
fromdos: File read/write error while converting enet/m4.
fromdos: File read/write error while converting enet/include/enet.
make    -C enet/ all
make[1]: Entering directory `/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing --run aclocal-1.12 -Im4
/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing: line 52: aclocal-1.12: command not found
WARNING: `aclocal-1.12' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.ac'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /bin/bash /root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing --run automake-1.12 --foreign
/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing: line 52: automake-1.12: command not found
WARNING: `automake-1.12' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing --run autoconf
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --enable-shared=no --enable-static=yes --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for poll... yes
checking for fcntl... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for struct msghdr.msg_flags... yes
checking for socklen_t... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
 /bin/bash ./config.status
config.status: creating Makefile
config.status: creating libenet.pc
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory `/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet'
make[1]: Entering directory `/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet'
/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2  -version-info 2:0:0  -o libenet.la -rpath /usr/local/lib callbacks.lo compress.lo host.lo list.lo packet.lo peer.lo protocol.lo unix.lo win32.lo 
libtool: link: rm -fr  .libs/libenet.a .libs/libenet.la .libs/libenet.lai
libtool: link: ar cru .libs/libenet.a  callbacks.o compress.o host.o list.o packet.o peer.o protocol.o unix.o win32.o
libtool: link: ranlib .libs/libenet.a
libtool: link: ( cd ".libs" && rm -f "libenet.la" && ln -s "../libenet.la" "libenet.la" )
make[1]: Leaving directory `/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet'
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/movie.o engine/movie.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/normal.o engine/normal.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/octa.o engine/octa.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/octaedit.o engine/octaedit.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/octarender.o engine/octarender.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/pvs.o engine/pvs.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/physics.o engine/physics.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/rendergl.o engine/rendergl.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/rendermodel.o engine/rendermodel.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/renderparticles.o engine/renderparticles.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/rendersky.o engine/rendersky.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/rendertext.o engine/rendertext.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/renderva.o engine/renderva.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/server.o engine/server.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/serverbrowser.o engine/serverbrowser.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/shader.o engine/shader.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/shadowmap.o engine/shadowmap.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/sound.o engine/sound.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/texture.o engine/texture.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/ui.o engine/ui.cpp
engine/ui.cpp:93:16: warning: ‘int UI::getval(char*)’ defined but not used [-Wunused-function]
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/water.o engine/water.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/world.o engine/world.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/worldio.o engine/worldio.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame -o fpsgame/game.tmp.h.gch fpsgame/game.h
mv fpsgame/game.tmp.h.gch fpsgame/game.h.gch
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/ai.o fpsgame/ai.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/client.o fpsgame/client.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/entities.o fpsgame/entities.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/fps.o fpsgame/fps.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/monster.o fpsgame/monster.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/movable.o fpsgame/movable.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/render.o fpsgame/render.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/scoreboard.o fpsgame/scoreboard.cpp
fpsgame/scoreboard.cpp:88:16: warning: ‘int game::groupplayers()’ defined but not used [-Wunused-function]
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/server.o fpsgame/server.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/waypoint.o fpsgame/waypoint.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/weapon.o fpsgame/weapon.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -o sandbox_client_64_fps shared/crypto.o shared/geom.o shared/stream.o shared/tools.o shared/zip.o engine/bih.o engine/blend.o engine/blob.o engine/client.o engine/command.o engine/console.o engine/decal.o engine/dynlight.o engine/glare.o engine/grass.o engine/lightmap.o engine/main.o engine/material.o engine/movie.o engine/normal.o engine/octa.o engine/octaedit.o engine/octarender.o engine/pvs.o engine/physics.o engine/rendergl.o engine/rendermodel.o engine/renderparticles.o engine/rendersky.o engine/rendertext.o engine/renderva.o engine/server.o engine/serverbrowser.o engine/shader.o engine/shadowmap.o engine/sound.o engine/texture.o engine/ui.o engine/water.o engine/world.o engine/worldio.o fpsgame/ai.o fpsgame/client.o fpsgame/entities.o fpsgame/fps.o fpsgame/monster.o fpsgame/movable.o fpsgame/render.o fpsgame/scoreboard.o fpsgame/server.o fpsgame/waypoint.o fpsgame/weapon.o -Lenet/.libs -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lX11 -lrt
/usr/bin/ld: enet/.libs/libenet.a(protocol.o): bad reloc symbol index (0xb9000000 >= 0x36) for offset 0xa0000000000000a in section `.debug_info'
enet/.libs/libenet.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [client-fps] Error 1


edit:
just ran "make clean"
and now I have slightly different output when I run "make install"...

Code: Select all

make    -C enet/ all
make[1]: Entering directory `/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /root/Desktop/PlatinumArtsSandbox2.8.2/src/enet/missing --run autoconf
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/PlatinumArtsSandbox2.8.2/src/enet'
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -o shared/cube.tmp.h.gch shared/cube.h
mv shared/cube.tmp.h.gch shared/cube.h.gch
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o shared/crypto.o shared/crypto.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o shared/geom.o shared/geom.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o shared/stream.o shared/stream.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o shared/tools.o shared/tools.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o shared/zip.o shared/zip.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -o engine/engine.tmp.h.gch engine/engine.h
mv engine/engine.tmp.h.gch engine/engine.h.gch
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/bih.o engine/bih.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/blend.o engine/blend.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/blob.o engine/blob.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/client.o engine/client.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/command.o engine/command.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/console.o engine/console.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/decal.o engine/decal.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/dynlight.o engine/dynlight.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/glare.o engine/glare.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/grass.o engine/grass.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/lightmap.o engine/lightmap.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/main.o engine/main.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/material.o engine/material.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/movie.o engine/movie.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/normal.o engine/normal.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/octa.o engine/octa.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/octaedit.o engine/octaedit.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/octarender.o engine/octarender.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/pvs.o engine/pvs.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/physics.o engine/physics.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/rendergl.o engine/rendergl.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/rendermodel.o engine/rendermodel.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/renderparticles.o engine/renderparticles.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/rendersky.o engine/rendersky.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/rendertext.o engine/rendertext.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/renderva.o engine/renderva.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/server.o engine/server.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/serverbrowser.o engine/serverbrowser.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/shader.o engine/shader.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/shadowmap.o engine/shadowmap.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/sound.o engine/sound.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/texture.o engine/texture.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/ui.o engine/ui.cpp
engine/ui.cpp:93:16: warning: ‘int UI::getval(char*)’ defined but not used [-Wunused-function]
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/water.o engine/water.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/world.o engine/world.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags`   -c -o engine/worldio.o engine/worldio.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame -o fpsgame/game.tmp.h.gch fpsgame/game.h
mv fpsgame/game.tmp.h.gch fpsgame/game.h.gch
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/ai.o fpsgame/ai.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/client.o fpsgame/client.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/entities.o fpsgame/entities.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/fps.o fpsgame/fps.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/monster.o fpsgame/monster.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/movable.o fpsgame/movable.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/render.o fpsgame/render.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/scoreboard.o fpsgame/scoreboard.cpp
fpsgame/scoreboard.cpp:88:16: warning: ‘int game::groupplayers()’ defined but not used [-Wunused-function]
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/server.o fpsgame/server.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/waypoint.o fpsgame/waypoint.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -Ifpsgame   -c -o fpsgame/weapon.o fpsgame/weapon.cpp
g++ -O2 -fomit-frame-pointer  -Wall -fsigned-char -fno-exceptions -fno-rtti -o sandbox_client_64_fps shared/crypto.o shared/geom.o shared/stream.o shared/tools.o shared/zip.o engine/bih.o engine/blend.o engine/blob.o engine/client.o engine/command.o engine/console.o engine/decal.o engine/dynlight.o engine/glare.o engine/grass.o engine/lightmap.o engine/main.o engine/material.o engine/movie.o engine/normal.o engine/octa.o engine/octaedit.o engine/octarender.o engine/pvs.o engine/physics.o engine/rendergl.o engine/rendermodel.o engine/renderparticles.o engine/rendersky.o engine/rendertext.o engine/renderva.o engine/server.o engine/serverbrowser.o engine/shader.o engine/shadowmap.o engine/sound.o engine/texture.o engine/ui.o engine/water.o engine/world.o engine/worldio.o fpsgame/ai.o fpsgame/client.o fpsgame/entities.o fpsgame/fps.o fpsgame/monster.o fpsgame/movable.o fpsgame/render.o fpsgame/scoreboard.o fpsgame/server.o fpsgame/waypoint.o fpsgame/weapon.o -Lenet/.libs -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lX11 -lrt
/usr/bin/ld: enet/.libs/libenet.a(protocol.o): bad reloc symbol index (0xb9000000 >= 0x36) for offset 0xa0000000000000a in section `.debug_info'
enet/.libs/libenet.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [client-fps] Error 1

Re: build error

Posted: January 31st, 2013, 8:40 pm
by Hirato
hmm.... try

Code: Select all

make -C enet distclean


Then try make install again

Re: build error

Posted: February 1st, 2013, 12:22 pm
by gurran
that worked however I was unable to exit by anything except the power button. I have 2 monitors and it spread across both of them AND because I have my monitors set where they are corner to corner it screwed up the button positions making it impossible to exit.

Edit:
I disconnected my other monitor and ran it again and modified the display/audio setting, launched a game itsays initializing then... crash.

Re: build error

Posted: February 1st, 2013, 9:43 pm
by Hirato
hmm... launch it with these commandlnie options

Code: Select all

-t0 -h768 -f

That should disable shaders and run it inside a 1024x768 window.