Emulator Issues #2820
closedCompile Error in Fedora 13
0%
Description
What steps will reproduce the problem?
- Latest SVN checkout
- compile
What is the expected output? What do you see instead?
Should have compiled instead throwing error with opengl libs
Dolphin version with the problem? Other Dolphin version without the
problem?
r5157
32-bit or 64-bit and any other build parameters?
32
OS version and versions of tools/libraries used?
Linux virus 2.6.33.5-112.fc13.i686 #1 SMP Thu May 27 03:11:56 UTC 2010 i686 i686 i386 GNU/Linux
Indexing Build/Linux-i686-devel/libs/libvideocommon.a
Linking Binary/Linux-i686/dolphin-emu
/usr/bin/ld: Build/Linux-i686-devel/libs/libcommon.a(DynamicLibrary.o): undefined reference to symbol 'dlopen@@GLIBC_2.1'
/usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line
/lib/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
scons: *** [Binary/Linux-i686/dolphin-emu] Error 1
scons: building terminated because of errors.
[ajeets@virus r5157]$ uname -a
Linux virus 2.6.33.5-112.fc13.i686 #1 SMP Thu May 27 03:11:56 UTC 2010 i686 i686 i386 GNU/Linux
Please provide any additional information below.
Updated by belegdol over 14 years ago
Latest dolphin builds fine for me on Fedora 13. Perhaps you should try running scons -c to clean up old cruft that might have accumulated over time?
Updated by Karloathian over 14 years ago
You could always just add a env['LINKFLAGS']+= ['-ldl'] line somewhere in your SConstruct file.
Updated by utiba.ajeet over 14 years ago
Gr8, env['LINKFLAGS']+= ['-ldl'] this did the trick.
Thanks its now compiled.
Updated by serge.sterck over 14 years ago
Confirmed add in file SConstruct and it work on FC13
if sys.platform == 'linux2':
env['CPPDEFINES'] += [('_FILE_OFFSET_BITS', 64), '_LARGEFILE_SOURCE']
env['CXXFLAGS'] += ['-Wno-deprecated'] # XXX <hash_map>
env['LINKFLAGS'] += ['-pthread']
env['LINKFLAGS']+= ['-ldl']
Updated by bztdlinux about 14 years ago
- Status changed from New to Work started
Builds for me fine without this on x86_64, is it only 32 bit that has this problem? I thought libdl was linked implicitly, but maybe this changed? Anyway, adding the link flags can't hurt I suppose.
Updated by sven.dickert about 14 years ago
won't build without env['LINKFLAGS']+= ['-ldl'] on FC13 x86_64.
Updated by NeoBrainX about 14 years ago
Please try this trivial patch, which I can't test right now.
Updated by antonin.garcia over 13 years ago
Nope, cmake resolved this issue ;)
Le 31 mai 2011 23:17, dolphin-emu@googlecode.com a �crit :
Updated by Anonymous over 13 years ago
- Status changed from Work started to Fixed
Ignore this...Status:Verified was removed, changing to Fixed