On edev06, it seems to be there : 
/usr/include/uuid ls -l /usr/include/uuid/*
-rw-r--r--. 1 root root 3297 Jan 26 07:41 /usr/include/uuid/uuid.h
/usr/include/uuid

It seems to be missing on edev08 which you are on. Needs to get setup by Steve 
I suppose with a yum install. 
Sandhya

-----Original Message-----
From: Dave Birdsall [mailto:[email protected]] 
Sent: Tuesday, February 27, 2018 11:39 AM
To: [email protected]
Subject: Make failure in latest Trafodion, uuid.h missing

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...


Reply via email to