Hi,
I just brought one of my Trafodion instances up-to-date and did a clean build.
The build failed with the following errors:
[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:53:23: error: uuid/uuid.h: No such file or directory
##(SQL)
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope
##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu' ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this
scope ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this
scope ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"
##(SQL)
[birdsall@edev08 trafodion]$
Looking at exp/exp_function.cpp, this file now contains the following statement:
#include <uuid/uuid.h>
I looked around in the /usr/include directory on my workstation for the file
uuid.h. I found it in /usr/include/linux. So I tried changing the include to
the following:
#include <linux/uuid.h>
Now I get a different set of build errors:
[birdsall@edev08 trafodion]$ grep ": err" make.out
../exp/exp_function.cpp:6812: error: 'uuid_t' was not declared in this scope
##(SQL)
../exp/exp_function.cpp:6812: error: expected ';' before 'uu' ##(SQL)
../exp/exp_function.cpp:6813: error: 'uu' was not declared in this scope ##(SQL)
../exp/exp_function.cpp:6813: error: 'uuid_generate' was not declared in this
scope ##(SQL)
../exp/exp_function.cpp:6814: error: 'uuid_unparse' was not declared in this
scope ##(SQL)
cc1plus: error: unrecognized command line option "-Wno-conversion-null"
##(SQL)
[birdsall@edev08 trafodion]$
So, I am guessing something needs to be updated or reconfigured in the
Trafodion build environment. Or at least there is a new dependency that needs
to be taken into account.
Can anyone suggest what must be done to get a clean build?
Thanks,
Dave
PS - The Jenkins machines seem to have the right configuration as builds aren't
failing there...