Project

General

Profile

Actions

Emulator Issues #2820

closed

Compile Error in Fedora 13

Added by utiba.ajeet over 14 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Other
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. Latest SVN checkout
  2. 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.

Actions #1

Updated by utiba.ajeet over 14 years ago

any suggestion on this one ?

Actions #2

Updated by utiba.ajeet over 14 years ago

any suggestions ?

Actions #3

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?

Actions #4

Updated by Karloathian over 14 years ago

You could always just add a env['LINKFLAGS']+= ['-ldl'] line somewhere in your SConstruct file.

Actions #5

Updated by utiba.ajeet over 14 years ago

Gr8, env['LINKFLAGS']+= ['-ldl'] this did the trick.

Thanks its now compiled.

Actions #6

Updated by serge.sterck about 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']

Actions #8

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.

Actions #9

Updated by sven.dickert about 14 years ago

won't build without env['LINKFLAGS']+= ['-ldl'] on FC13 x86_64.

Actions #10

Updated by NeoBrainX about 14 years ago

Please try this trivial patch, which I can't test right now.

Actions #11

Updated by skidau over 13 years ago

  • Issue type set to Other
Actions #12

Updated by NeoBrainX over 13 years ago

Uhm, is this still an issue?

Actions #13

Updated by antonin.garcia over 13 years ago

Nope, cmake resolved this issue ;)

Le 31 mai 2011 23:17, a �crit :

Actions #15

Updated by Anonymous over 13 years ago

  • Status changed from Work started to Fixed

Ignore this...Status:Verified was removed, changing to Fixed

Actions

Also available in: Atom PDF