[one-users] scons error

nonsense o menukiespam at gmail.com
Wed Aug 25 02:17:53 PDT 2010


Hello,

running opensuse 11.3 minimal install. 64bit
trying to install opennebula 1.4

(non-)Installation is holding me back from trying out opennebula :-(

running scons -k gives me compilation error:
one-1.4 # scons -k
<pkg-config recipe errors>
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/vnm/VirtualNetwork.o -c -g -Wall -Iinclude -I/usr/local/include
src/vnm/VirtualNetwork.cc
src/vnm/VirtualNetwork.cc: In member function 'virtual int
VirtualNetwork::select(SqliteDB*)':
src/vnm/VirtualNetwork.cc:180:22: error: expected type-specifier
src/vnm/VirtualNetwork.cc:180:22: error: cannot convert 'int*' to 'Leases*'
in assignment
src/vnm/VirtualNetwork.cc:180:22: error: expected ';'
src/vnm/VirtualNetwork.cc: In member function 'virtual int
VirtualNetwork::insert(SqliteDB*)':
src/vnm/VirtualNetwork.cc:376:23: error: expected type-specifier
src/vnm/VirtualNetwork.cc:376:23: error: cannot convert 'int*' to 'Leases*'
in assignment
src/vnm/VirtualNetwork.cc:376:23: error: expected ';'
src/vnm/VirtualNetwork.cc:388:23: error: expected type-specifier
src/vnm/VirtualNetwork.cc:388:23: error: cannot convert 'int*' to 'Leases*'
in assignment
src/vnm/VirtualNetwork.cc:388:23: error: expected ';'
scons: *** [src/vnm/VirtualNetwork.o] Error 1
scons: done building targets (errors occurred during build).

one-1.4 # g++ --version
g++ (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292]

Could anyone point me into the right direction?


starting line 180
        leases = new RangedLeases::RangedLeases(db,
                                                oid,
                                                size,
                                                mac_prefix,
                                                network_address);


starting line 376
         leases = new RangedLeases::RangedLeases(db,
                                                 oid,
                                                 size,
                                                 mac_prefix,
                                                 naddr);

starting line 388
         leases = new FixedLeases::FixedLeases(db,
                                               oid,
                                               mac_prefix,
                                               vector_leases);


tia,

me nukie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100825/5d1841bf/attachment-0002.htm>


More information about the Users mailing list