-------- Forwarded Message -------- From: "Pandey, Sanjit" <[email protected]> To: [email protected] <[email protected]> Subject: installation help Date: Wed, 15 Jul 2020 20:45:19 +0000
> Hi, > > I keep getting following error when I try to install glpk for java. > Any idea what is going on ? > > src/c/glpk_wrap.c:14977: error: ‘arg1’ undeclared (first use in this > function) > src/c/glpk_wrap.c:14977: error: expected expression before ‘)’ token > src/c/glpk_wrap.c:14983: error: expected expression before ‘)’ token > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI_LPXKKT_1cs_1quality_1set’: > src/c/glpk_wrap.c:14991: error: ‘LPXKKT’ undeclared (first use in > this function) > src/c/glpk_wrap.c:14991: error: ‘arg1’ undeclared (first use in this > function) > src/c/glpk_wrap.c:14991: error: expected expression before ‘)’ token > src/c/glpk_wrap.c:14997: error: expected expression before ‘)’ token > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI_LPXKKT_1cs_1quality_1get’: > src/c/glpk_wrap.c:15005: error: ‘LPXKKT’ undeclared (first use in > this function) > src/c/glpk_wrap.c:15005: error: ‘arg1’ undeclared (first use in this > function) > src/c/glpk_wrap.c:15005: error: expected expression before ‘)’ token > src/c/glpk_wrap.c:15011: error: expected expression before ‘)’ token > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI_new_1LPXKKT’: > src/c/glpk_wrap.c:15020: error: ‘LPXKKT’ undeclared (first use in > this function) > src/c/glpk_wrap.c:15020: error: ‘result’ undeclared (first use in > this function) > src/c/glpk_wrap.c:15035: error: expected expression before ‘)’ token > src/c/glpk_wrap.c:15043: error: expected expression before ‘)’ token > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI_delete_1LPXKKT’: > src/c/glpk_wrap.c:15049: error: ‘LPXKKT’ undeclared (first use in > this function) > src/c/glpk_wrap.c:15049: error: ‘arg1’ undeclared (first use in this > function) > src/c/glpk_wrap.c:15049: error: expected expression before ‘)’ token > src/c/glpk_wrap.c:15053: error: expected expression before ‘)’ token > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1create_1prob’: > src/c/glpk_wrap.c:15093: warning: cast to pointer from integer of > different size > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1get_1prob_1name’: > src/c/glpk_wrap.c:15697: warning: cast to pointer from integer of > different size > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1get_1obj_1name’: > src/c/glpk_wrap.c:15730: warning: cast to pointer from integer of > different size > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1get_1row_1name’: > src/c/glpk_wrap.c:15864: warning: cast to pointer from integer of > different size > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1get_1col_1name’: > src/c/glpk_wrap.c:15899: warning: cast to pointer from integer of > different size > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1check_1kkt’: > src/c/glpk_wrap.c:17213: error: ‘LPXKKT’ undeclared (first use in > this function) > src/c/glpk_wrap.c:17213: error: ‘arg3’ undeclared (first use in this > function) > src/c/glpk_wrap.c:17213: error: expected expression before ‘)’ token > src/c/glpk_wrap.c:17221: error: expected expression before ‘)’ token > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1check_1int’: > src/c/glpk_wrap.c:18172: error: ‘LPXKKT’ undeclared (first use in > this function) > src/c/glpk_wrap.c:18172: error: ‘arg2’ undeclared (first use in this > function) > src/c/glpk_wrap.c:18172: error: expected expression before ‘)’ token > src/c/glpk_wrap.c:18179: error: expected expression before ‘)’ token > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1read_1mps’: > src/c/glpk_wrap.c:18390: warning: cast to pointer from integer of > different size > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1read_1freemps’: > src/c/glpk_wrap.c:18547: warning: cast to pointer from integer of > different size > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1read_1cpxlp’: > src/c/glpk_wrap.c:18624: warning: cast to pointer from integer of > different size > src/c/glpk_wrap.c: In function > ‘Java_org_gnu_glpk_GLPKJNI__1glp_1lpx_1read_1model’: > src/c/glpk_wrap.c:18713: warning: cast to pointer from integer of > different size > make[2]: *** [all] Error 1 > make[2]: Leaving directory `/storage2/APPS/MOST/libglpk-java- > 1.12.0/swig' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/storage2/APPS/MOST/libglpk-java-1.12.0' > make: *** [all] Error 2 > > > > I have following dependencies installed: > > glpsol --version > GLPSOL: GLPK LP/MIP Solver, v4.65 > Copyright (C) 2000-2017 Andrew Makhorin, Department for Applied > Informatics, Moscow Aviation Institute, Moscow, Russia. All rights > reserved. E-mail: <[email protected]>. > > This program has ABSOLUTELY NO WARRANTY. > > This program is free software; you may re-distribute it under the > terms > of the GNU General Public License version 3 or later. > > ]$ java --version > Picked up _JAVA_OPTIONS: -Xmx200G > java 11.0.4 2019-07-16 LTS > Java(TM) SE Runtime Environment 18.9 (build 11.0.4+10-LTS) > Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.4+10-LTS, mixed > mode) > > $ $JAVA_HOME/bin/javac -version > Picked up _JAVA_OPTIONS: -Xmx200G > javac 1.8.0_252 > > Thank you. > ------------------------------------------------------------------- > ------------------------ > Sanjit Pandey, M.S. > Assistant Director, Bioinformatics and Systems Biology Core Facility > Dept. of Genetics, Cell Biology & Anatomy > DRC 6012 > College of Medicine, University of Nebraska Medical Center > Omaha, NE 68198-5805 > Phone: (402) 559-5925 > [email protected] > http://unmc.edu/bsbc/people/pandey.html > Confidentiality Statement: This communication is intended only for > the use of the individual or entity to which it is addressed and may > contain information that is privileged and confidential. If you are > not the intended recipient, or the employee or agent responsible for > delivering the communication to the intended recipient, you have > received this communication in error and are prohibited from reading, > printing, or disclosing any of the information contained in it. If > you have received this communication in error, please notify the > sender immediately by telephone to arrange for the return or > destruction of these documents. > > > The information in this e-mail may be privileged and confidential, > intended only for the use of the addressee(s) above. Any unauthorized > use or disclosure of this information is prohibited. If you have > received this e-mail by mistake, please delete it and immediately > contact the sender.
