OpenNebula fails to build with default Ubuntu CFLAGS
|Assignee:||Ruben S. Montero||% Done:|
|Category:||Core & System|
|Target version:||Release 2.0|
OpenNebula 2.0 RC1 fails to build with default CFLAGS from Ubuntu .
You can find detailled list af Ubuntu CFLAGS on Ubuntu wiki .
I've attached a tentative patch.
#1 Updated by Damien Raude-Morvan over 10 years ago
Jaime Melis said  this failure is fixed in one-2.0 branch (in GIT repository).
I'll test this tonight and update this bug status.
#4 Updated by Damien Raude-Morvan over 10 years ago
This issue #371 should be reopened as I've found another instance of the same kind of failure :
g++ -o src/scheduler/src/sched/Scheduler.o -c -g -O2 -g -O2 -g -Wall -
Isrc/scheduler/include -Iinclude -I/usr/include -I/usr/include/libxml2
In file included from /usr/include/fcntl.h:252:0,
In function 'int open(const char*, int, ...)',
inlined from 'void Scheduler::start()' at
/usr/include/bits/fcntl2.h:51:26: error: call to '__open_missing_mode'
declared with attribute error: open with O_CREAT in second argument needs 3
scons: *** [src/scheduler/src/sched/Scheduler.o] Error 1
scons: building terminated because of errors.