[one-users] Problem building opennebula 2.0 RC1 from source on fedora 13

George L. Emigh george.emigh at dialecticnet.com
Tue Oct 12 15:16:26 PDT 2010


Well, right or wrong I got it to build with the following change to the 
SConstruct file.

diff -u SConstruct.orig SConstruct                                                          
--- SConstruct.orig     2010-10-12 18:10:45.824754684 -0400                                                           
+++ SConstruct  2010-10-12 18:08:46.623748618 -0400                                                                   
@@ -40,6 +40,9 @@                                                                                                     
 if os.environ.has_key('LDFLAGS'):                                                                                    
     main_env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])                                                 
                                                                                                                      
+main_env['LINKFLAGS'] += ['-pthread']                                                                                
+main_env['LINKFLAGS'] += ['-ldl']                                                                                    
+                                                                                                                     
 # Add builders for flex and bison                                                                                    
 add_lex(main_env)                                                                                                    
 add_bison(main_env)


Comments would be appreciated.

Thank You


On Monday October 11 2010, George L. Emigh wrote:
  > when attempting to build OpenNebula 2.0 RC1 from source on Fedora 13 I am
  > getting this error:
  > 
  > scons: done reading SConscript files.
  > scons: Building targets ...
  > g++ -o src/nebula/oned -g src/nebula/oned.o -Lsrc/common -Lsrc/log
  > -Lsrc/sql - Lsrc/host -Lsrc/mad -Lsrc/nebula -Lsrc/pool -Lsrc/template
  > -Lsrc/vm -Lsrc/vmm -Lsrc/lcm -Lsrc/tm -Lsrc/dm -Lsrc/im -Lsrc/image
  > -Lsrc/rm -Lsrc/vnm -Lsrc/hm - Lsrc/um -Lsrc/authm -lxmlrpc_client++
  > -lnebula_core -lnebula_vmm -lnebula_lcm -lnebula_im -lnebula_hm
  > -lnebula_rm -lnebula_dm -lnebula_tm -lnebula_um - lnebula_authm
  > -lnebula_mad -lnebula_template -lnebula_image -lnebula_pool -
  > lnebula_host -lnebula_vnm -lnebula_vm -lnebula_common -lnebula_sql -
  > lnebula_log -lcrypto -lsqlite3 -lxmlrpc_server_abyss++ -lxmlrpc_server++
  > - lxmlrpc_server_abyss -lxmlrpc++ -lxmlrpc_server -lxmlrpc_abyss
  > -lxmlrpc -lxml2 -lz -lm -lxmlrpc_util
  > /usr/bin/ld: src/nebula/libnebula_core.a(Nebula.o): undefined reference
  > to symbol 'pthread_sigmask@@GLIBC_2.2.5'
  > /usr/bin/ld: note: 'pthread_sigmask@@GLIBC_2.2.5' is defined in DSO
  > /lib64/libpthread.so.0 so try adding it to the linker command line
  > /lib64/libpthread.so.0: could not read symbols: Invalid operation
  > collect2: ld returned 1 exit status
  > scons: *** [src/nebula/oned] Error 1
  > scons: building terminated because of errors.
  > 
  > 
  > Has anyone already solved this problem?
  > 
  > Thanks in advance.
  > 
  > George
  > _______________________________________________
  > Users mailing list
  > Users at lists.opennebula.org
  > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
George L. Emigh
CIO
Dialectic Networks, LLC
10 Glenwood Ave
Osprey, FL 34229
(941)806-0276
http://dialecticnet.com/

NOTICE: This electronic mail message and any files transmitted with it are
 intended exclusively for the individual or entity to which it is addressed.
 The message, together with any attachment, contain confidential and/or
 privileged information. Any unauthorized review, use, printing, saving,
 copying, disclosure or distribution is strictly prohibited. If you have
 received this message in error, please immediately advise the sender by
 reply email and delete all copies.



More information about the Users mailing list