openat function problem
When I compile, I get warnings:
_env/include -I/Library/Frameworks/Python.framework/Versions/3.4/include/python3.4m -c src/obidmscolumn.c -o build/temp.macosx-10.6-intel-3.4/src/obidmscolumn.o -msse2 -Wno-unused-function
src/obidmscolumn.c:172:14: warning: implicit declaration of function 'openat' is invalid in C99 [-Wimplicit-function-declaration]
versionfd = openat(directoryfd, versionfile, O_RDWR);
^
1 warning generated.
src/obidmscolumn.c:172:14: warning: implicit declaration of function 'openat' is invalid in C99 [-Wimplicit-function-declaration]
versionfd = openat(directoryfd, versionfile, O_RDWR);
^
1 warning generated.
And when I try to import the class in ipython I get an error:
In [1]: from obitools3.obidms.obidmscolumn.capidmscolumn import OBIDMS_column
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-2ec07f270a2d> in <module>()
----> 1 from obitools3.obidms.obidmscolumn.capidmscolumn import OBIDMS_column
ImportError: dlopen(/Users/celinemercier/Documents/workspace/OBITools3/obitools3_env/lib/python3.4/site-packages/obitools3/obidms/obidmscolumn/capidmscolumn.so, 2): Symbol not found: _openat
Referenced from: /Users/celinemercier/Documents/workspace/OBITools3/obitools3_env/lib/python3.4/site-packages/obitools3/obidms/obidmscolumn/capidmscolumn.so
Expected in: flat namespace
in /Users/celinemercier/Documents/workspace/OBITools3/obitools3_env/lib/python3.4/site-packages/obitools3/obidms/obidmscolumn/capidmscolumn.so
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information