|
|
#1 | |
|
Black beast of AAAaaahhh!
Join Date: Nov 2007
Location: México
Posts: 13
|
Whenever I try to compile a program that links against
libGL.so I get an error of incompatible format or wrong format and the compilation fails. I'm almos shure the problem is due to the driver since ligGL is overwritted by it. is there a way to fix that? First I couldn't compile xmms and now blender. Code:
Compiling ==> 'buildinfo.c' Linking program ==> 'blender' /usr/local/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL /usr/local/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL /usr/local/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL /tmp/build/linux2/lib/libbf_soundsystem.a(SND_OpenALDevice.o): In function `SND_OpenALDevice::LoadSample(STR_String const&, void*, int)': SND_OpenALDevice.cpp:(.text+0xcba): undefined reference to `alutLoadWAVMemory' SND_OpenALDevice.cpp:(.text+0xd35): undefined reference to `alutUnloadWAV' SND_OpenALDevice.cpp:(.text+0xd5d): undefined reference to `alutLoadWAVFile' collect2: ld devolvió el estado de salida 1 scons: *** [/tmp/build/linux2/bin/blender] Error 1 scons: building terminated because of errors.
__________________
In un placete de La Mancha of which nombre no quiero remembrearme, vivía, not so long ago, uno de esos gentlemen who always tienen una lanza in the rack, una buckler antigua, a skinny caballo y un grayhound para el chase. |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Apr 2006
Posts: 26
|
Read it again: it's only a warning as far as OpenGL is concerned. The real error is a missing library which you should simply install.
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2007
Posts: 74
|
Do you have installed OpenAL?
|
|
|
|
|
|
#4 | |
|
Black beast of AAAaaahhh!
Join Date: Nov 2007
Location: México
Posts: 13
|
yes, I have OpenAl installed
rpm -qa | grep -i openal openal-0.0.9-0.13.20060204cvs.el5 openal-devel-0.0.9-0.13.20060204cvs.el5 and freealut to rpm -qa | grep -i alut freealut-1.1.0-5.el5 freealut-devel-1.1.0-5.el5
__________________
In un placete de La Mancha of which nombre no quiero remembrearme, vivía, not so long ago, uno de esos gentlemen who always tienen una lanza in the rack, una buckler antigua, a skinny caballo y un grayhound para el chase. |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jul 2007
Posts: 74
|
From the Blender Manual:
Linker Problems If you get an error message with lines such as SND_OpenALDevice.cpp: (.text+0xf05): undefined reference to `alutLoadWAVFile' you can fix it by adding line BF_OPENAL_LIB = 'openal alut' to user-config.py which is created to the same directory in which you execute scons as above (branch/blender/). |
|
|
|
|
|
#6 | |
|
Black beast of AAAaaahhh!
Join Date: Nov 2007
Location: México
Posts: 13
|
tanks, that did the trick
__________________
In un placete de La Mancha of which nombre no quiero remembrearme, vivía, not so long ago, uno de esos gentlemen who always tienen una lanza in the rack, una buckler antigua, a skinny caballo y un grayhound para el chase. |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 3D is five incompatible growing markets on 13 different platforms | News | Latest Tech And Game Headlines | 0 | 06-11-12 01:50 PM |