[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-glpk] missing method lpx_read_lpm in java binding file glpk.c at l
From: |
Mike Keehan |
Subject: |
[Bug-glpk] missing method lpx_read_lpm in java binding file glpk.c at line 945 |
Date: |
Mon, 26 May 2003 14:26:04 +1200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 |
While attempting to compile and run the contributed Java binding for
glpk version 4.0 I found that the method lpx_read_lpm is refered to but
has no implementation. On line 945 of glpk.c
gcc -nostdlib -shared glpk.c -o libglpk_jni.so -Wall
-I/usr/local/include -I/usr/local/java/jdk/include -I`find
/usr/local/java/jdk/include -name jni_md.h | sed -e "s/\/jni_md.h//"`
-L/usr/local/lib -lglpk && \
brandelf -t SVR4 libglpk_jni.so
glpk.c: In function `Java_org_gnu_glpk_GlpkSolver_readLpm':
glpk.c:945: warning: implicit declaration of function `lpx_read_lpm'
I have commented out the offending function and the Java interface that
calls the method. This has enabled the java sample to run.
If you can't reproduce the problem I would be happy to supply more
information.
For the Record.
I am using RedHat Linux 9 with the default compiler.
address@hidden source]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
And thank you very much for your wonderful product. It is neat for me to
attempt to solve a real life problem using a technique I studied at
university (14 years ago) but have had no real life experience with.
Yours
Mike Keehan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-glpk] missing method lpx_read_lpm in java binding file glpk.c at line 945,
Mike Keehan <=