Re: [Help-glpk] Build Error

2006-11-08 Thread Andrew Makhorin
I installed glpk using apt-get in Ubuntu. I then downloaded the source. I'm currently trying to build glpsol.c to ensure that everything is set up properly in my environment, but I am getting the following output when I run gcc glpsol.c -lgpk [EMAIL PROTECTED] gcc glpsol.c -lglpk

Re: [Help-glpk] Build Error

2006-11-08 Thread Rob
Thanks for the help. I finally figured it out after watching the output of the Makefile. The proper command to compile is:gcc -I. -I../include -c glpsol.cgcc -g -O2 -o glpsol glpsol.o ../src/libglpk.a -lm The original output from the makefile was:gcc -DPACKAGE=\GLPK\ -DVERSION=\4.9\ -DHAVE_LIBM=1

[Help-glpk] Build Error

2006-11-07 Thread Robert C. Green II
I installed glpk using apt-get in Ubuntu. I then downloaded the source. I'm currently trying to build glpsol.c to ensure that everything is set up properly in my environment, but I am getting the following output when I run gcc glpsol.c -lgpk [EMAIL PROTECTED] gcc glpsol.c -lglpk