Difference between revisions of "Fs2 open on Linux/Common Compile-time Errors"

From FreeSpace Wiki
Jump to: navigation, search
(New page: If your SuSE gives you some errors like this, during the compile process, your OpenAL version is too old or corrupted. sound/ds.cpp: In function 'int ds_init(int, int, unsigned int, short...)
 
m (Stub It)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
If your SuSE gives you some errors like this, during the compile process, your OpenAL version is too old or corrupted.
+
{{Page Navigation|
sound/ds.cpp: In function 'int ds_init(int, int, unsigned int, short unsigned int)':
+
BookName=[[The fs2_open on Linux Guide]]|
sound/ds.cpp:1790: error: invalid conversion from 'const char*' to 'const ALubyte*'
+
CurrentPage=Common Compile-time Errors|Common Compile-time Errors|
sound/ds.cpp:1790: error:  initializing argument 1 of 'ALboolean
+
PrevPage=[[Fs2_open on Linux/Troubleshooting|Troubleshooting]]|
  alIsExtensionPresent(const ALubyte*)'
+
NextPage=[[Fs2_open on Linux/Novell SuSE and the Dependencies|Novell SuSE and the Dependencies]]}}
You have to remove all OpenAL-packages via YaST, you may also want to remove TORCS, too, it won't run anymore after this.
+
<p></p>
Unfortunately there is no repository with a newer version for this distro, yet, so you have to use a source-package for Fedora. You get it here http://download.fedora.redhat.com/pub/fedora/linux/extras/5/SRPMS/openal-0.0.9-0.6.20060204cvs.fc5.src.rpm
+
{{stub}}
The version may change, so you better check this.
 
Now make sure, that TexInfo is installed. Then enter:
 
$ rpmbuild --rebuild --target=i686 <name-of-your-package>.fc5.src.rpm
 
If it builds without errors, you will find an OpenAL*.rpm and an OpenAL*-devel.rpm in <tt>/usr/src/packages/RPMS/i686/</tt>. Install both and go back to your fs_open directory again. Cause the environment has changed now, you better type:
 
$ make clean
 
$ ./configure [options]
 
$ make
 
Then you're done.
 

Latest revision as of 22:58, 3 September 2007

« Troubleshooting The fs2_open on Linux Guide
Common Compile-time Errors
Novell SuSE and the Dependencies »