Hi All,

I've gone over the SWIG FAQ and dynamic module documentation and there seems to be a wide array of options when deciding on how to build the JNI shared library dll for Windows. The wiki describes the process using very old versions of visual c++. What is everyone using?

I've installed MinGW and the below commands on Windows 7 and ran the below commands on the SWIG simple java example, see below:

Last command errors out with:

example_wrap.o:example_wrap.c:(.text+0xa9): undefined reference to `gcd'
example_wrap.o:example_wrap.c:(.text+0xe2): undefined reference to `Foo'
example_wrap.o:example_wrap.c:(.text+0xe8): undefined reference to `Foo'
example_wrap.o:example_wrap.c:(.text+0x107): undefined reference to `Foo'
example_wrap.o:example_wrap.c:(.text+0x10d): undefined reference to `Foo'
collect2: ld returned 1 exit status