trying create small jna program.
after generating header file im trying build , create dll file. problem arises...
im using netbeans ide cygwin, other c/c++ projects work.
gcc: -mno-cygwin flag has been removed; use mingw-targeted cross-compiler.
make[2]: leaving directory `/cygdrive/c/users/user/documents/netbeansprojects/helloworldnative'
make[1]: leaving directory `/cygdrive/c/users/user/documents/netbeansprojects/helloworldnative'
make[2]: * [build/debug/cygwin-windows/_ext/1653581963/helloworldnative.o] error 1
make[1]: * [.build-conf] error 2
make: * [.build-impl] error 2
build failed (exit value 2, total time: 1s)
i netbeans work here i'm new jna , want able make changes , experiment. having build console evry 5 secs not preferable:s
i have been working past days onto implementing java + jna + cygwin solution. after many attempts , dead ends, come sound solution. jna calls getpwnam, chown , perror, 3 implemented cygwin1.dll. may view full solution applies context @ http://vouters.dyndns.org/tima/linux-openvms-java-implementing_chown_in_java.html
i hope coding , documentation style clear enough you.
Comments
Post a Comment