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

Javier Fontan jfontan at gmail.com
Wed Oct 13 10:27:09 PDT 2010


Hello,

You are correct, adding that parameter should work. In previous gcc
versions the compilation worked without problems. We are adding this
flag so the final version does not have this problem.

Thank you and bye

On Wed, Oct 13, 2010 at 12:35 AM, George L. Emigh
<george.emigh at dialecticnet.com> wrote:
> I guess it only needed this:
>
> $  diff -u SConstruct.orig SConstruct
> --- SConstruct.orig     2010-10-12 18:10:45.824754684 -0400
> +++ SConstruct  2010-10-12 18:33:45.585754639 -0400
> @@ -40,6 +40,8 @@
>  if os.environ.has_key('LDFLAGS'):
>     main_env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
>
> +main_env['LINKFLAGS'] += ['-pthread']
> +
>  # Add builders for flex and bison
>  add_lex(main_env)
>  add_bison(main_env)
>
>
>
>
>
> 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.
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list