help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Error in compiling Math::GLPK::Solve


From: Samik Raychaudhuri
Subject: [Help-glpk] Error in compiling Math::GLPK::Solve
Date: Thu, 21 Oct 2004 23:32:45 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910

Hello,
I am trying to compile Math::GLPK::Solve. I followed the instructions and installed GLPK 4.7. It went on smoothly. When I try to run 'make' for Math::GLPK::Solve, I get the following error message:

address@hidden >make
rm -f blib/arch/auto/Math/GLPK/Solve/Solve.dll
LD_RUN_PATH="" ld2 -s -L/usr/local/lib GLPK_wrap.o -o blib/arch/auto/Math/GLPK/Solve/Solve.dll /u
sr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a -lglpk
gcc -shared -o Solve.dll -Wl,--out-implib=libSolve.dll.a -Wl,--export-all-symbols -Wl,--enable-auto
-import -Wl,--stack,8388608 \
-s -L/usr/local/lib GLPK_wrap.o /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a -
lglpk
/usr/local/lib/libglpk.a(glplpx8a.o)(.text+0x7590): In function `glp_lpx_read_freemps': /home/samikrc/packages/glpk-4.7/src/glplpx8a.c:2145: multiple definition of `_glp_lpx_read_freemps'
GLPK_wrap.o(.text+0xfc0):GLPK_wrap.c: first defined here
/usr/local/lib/libglpk.a(glplpx8a.o)(.text+0x8240): In function `glp_lpx_write_freemps': /home/samikrc/packages/glpk-4.7/src/glplpx8a.c:2367: multiple definition of `_glp_lpx_write_freemps'

GLPK_wrap.o(.text+0xff0):GLPK_wrap.c: first defined here
/usr/local/lib/libglpk.a(glplpx1.o)(.text+0x1dd0): In function `glp_lpx_order_matrix': /home/samikrc/packages/glpk-4.7/src/glplpx1.c:982: multiple definition of `_glp_lpx_order_matrix'
GLPK_wrap.o(.text+0xee0):GLPK_wrap.c: first defined here
/usr/local/lib/libglpk.a(glplpx1.o)(.text+0x2a10): In function `glp_lpx_create_index': /home/samikrc/packages/glpk-4.7/src/glplpx1.c:1354: multiple definition of `_glp_lpx_create_index'
GLPK_wrap.o(.text+0xf10):GLPK_wrap.c: first defined here
/usr/local/lib/libglpk.a(glplpx1.o)(.text+0x2b70): In function `glp_lpx_find_row': /home/samikrc/packages/glpk-4.7/src/glplpx1.c:1384: multiple definition of `_glp_lpx_find_row'
GLPK_wrap.o(.text+0xf30):GLPK_wrap.c: first defined here
/usr/local/lib/libglpk.a(glplpx1.o)(.text+0x2c30): In function `glp_lpx_find_col': /home/samikrc/packages/glpk-4.7/src/glplpx1.c:1402: multiple definition of `_glp_lpx_find_col'
GLPK_wrap.o(.text+0xf60):GLPK_wrap.c: first defined here
/usr/local/lib/libglpk.a(glplpx1.o)(.text+0x2cc0): In function `glp_lpx_delete_index': /home/samikrc/packages/glpk-4.7/src/glplpx1.c:1420: multiple definition of `_glp_lpx_delete_index'
GLPK_wrap.o(.text+0xf90):GLPK_wrap.c: first defined here
Creating library file: libSolve.dll.a
GLPK_wrap.o(.text+0x1d4e3):GLPK_wrap.c: undefined reference to `_lpx_read_lpt' GLPK_wrap.o(.text+0x1d89f):GLPK_wrap.c: undefined reference to `_lpx_write_lpt'
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o Solve.dll -Wl,--out-implib=libSolve.dll.a -Wl,--export-all-symbols -Wl,--enable-auto
-import -Wl,--stack,8388608 \
-s -L/usr/local/lib GLPK_wrap.o /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a -
lglpk

make: *** [blib/arch/auto/Math/GLPK/Solve/Solve.dll] Error 1
-------------------------------------------------------------------------------------------

Other information:
I am using Win XP SP2 with Cygwin. Trying to install this on Cygwin.
Any suggestion/pointers about what I am doing wrong? Please let me know if you require any other information.
Thanks.
-Samik






reply via email to

[Prev in Thread] Current Thread [Next in Thread]