SRB2 with a 64bits PC?

Status
Not open for further replies.

Darktails

Member
Does anybody knows how to make SRB2 for a 64bits PC, running with a Ubuntu Linux 64bits?
Code:
$export CC='gcc -m32' 
$make LINUX=1
gives an error while it tries to link the files for creating the binary.
 
The -m32 switch is only needed if you need to make a 32bit binary.
If you want a 64bit binary, just take it out.
Probably the problem is that you haven't the 32bit libraries, that anyway, are only needed for running and linking 32 bit applications.
 
If I put only
Code:
$make LINUX=1
it says
Code:
error: selected processor doesn't support x86-64 instructions set

And if I export 'gcc -m32' before, it says:
Code:
$export CC='gcc -m32'
$make LINUX=1
Linking lsdlsrb2...
/usr/bin/ld: incompatible retraction /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libGL.so while searching -lGL
/usr/bin/ld: incompatible retraction   /usr/bin/../lib/libGL.sowhile searching -lGL
/usr/bin/ld: incompatible retraction /usr/lib/libGL.so while searching -lGL
/usr/bin/ld: can't find -lGL
collect2: ld has returned 1 executing state code
make: *** [../bin/Linux/Release/lsdlsrb2] Error 1
(srb2 is compiled when it says it all .o files are already created)
 
you don't have a 32-bit version of the OpenGL/Mesa library, do "make LINUX=1 clean" then run "make LINUX=1 NOHW=1" to build a version without the hardware render
 
Now it says that lSDL is missing... :evil: and I installed libosmesa6, which says it in the description:
Mesa Off-screen rendering extension
OSmesa is a Mesa extension that allows programs to render to an
off-screen buffer using the OpenGL API without having to create a
rendering context on an X Server. It uses a pure software renderer.

This package provides both 16-bit and 32-bit versions of the off-screen
renderer which do not require external libraries to work.
 
InuYasha said:
Darktails said:
Code:
$export
.

:eek:

I have to export gcc -m32 to CC, if not it says that the selected processor doesn't support X86_64 instruction set.

About SDL, I have libsdl1.2debian-all installed, which include X11, NAS, alsa, arts, oss and esd options. It is the v.1.2.9.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top