Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
Other JSE/JEE APIs
Compile shared lib (g++)
posted 11 years ago
I wrote shared library for JNI in C-style and compile it using command line:
gcc -o libfile.so -shared file.c
(I'm talking about Linux 2.4.x)
When tried make it in C++-style (add extern "C" to each function name)
and used command line
g++ -o libfile.so -shared file.c
print error - "unknown symbol in libgile.so ..."
Do I need any other command line arguments?
SCJP 1.4 (100%) Done.<br />SCJD (URLyBird 1.2.3 Started)
How to build a shared library for JNI
doubt on code
Axis2 - WSDL to code
How to properly include classes?
Creating the shared library