kuun / jnfs Goto Github PK
View Code? Open in Web Editor NEWlibnfs for java
License: MIT License
libnfs for java
License: MIT License
你好,因为最近在研究Linux平台高效遍历和读写NFS文件系统的问题,偶然间发现了您的开源库,受益良多。
有个问题请教一下,我看gradle脚本中直接编译了jnfs库,想请问一下,编译的jnfs库如何与libnfs.so进行链接的,我尝试编译和链接都会有问题,我使用的命令如下:
[root@Client8 libnfs-example]# gcc -I"/usr/share/jdk8/include" -I"/usr/share/jdk8/include/linux" -D_FILE_OFFSET_BITS=64 -fPIC -lnfs -shared -o libmdnfs.so mdnfs.c
In file included from mdnfs.c:2:0:
/usr/local/include/nfsc/libnfs.h:965:23: error: field ‘atime’ has incomplete type
struct timeval atime;
^
/usr/local/include/nfsc/libnfs.h:966:23: error: field ‘mtime’ has incomplete type
struct timeval mtime;
^
/usr/local/include/nfsc/libnfs.h:967:23: error: field ‘ctime’ has incomplete type
struct timeval ctime;
^
万分感谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.