help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Gcc


From: Jorge Melo
Subject: [Help-glpk] Gcc
Date: Sun, 21 Nov 2004 09:22:50 +0100

Hello !!!
 
I try to compile a mini program called gencol.c in winxp.
For this, I downloaded the program called MINGW (gcc) and I write the following sentences:
 
 
 
gcc - gencol.c (OK)
gcc -o gencol gencol.c (PROBLEM)
 
Here, the gcc give me a error message of link. How can I fix this error?
 
Thanks you very much!!!
Jorge
 
PD: The error is:
 
 
gencol.o(.text+0x57):gencol.c: undefined reference to `glp_lpx_create_prob'
gencol.o(.text+0x6a):gencol.c: undefined reference to `glp_lpx_set_prob_name'
gencol.o(.text+0x7a):gencol.c: undefined reference to `glp_lpx_add_rows'
gencol.o(.text+0x8f):gencol.c: undefined reference to `glp_lpx_set_row_name'
gencol.o(.text+0xac):gencol.c: undefined reference to `glp_lpx_set_row_bnds'
gencol.o(.text+0xc1):gencol.c: undefined reference to `glp_lpx_set_row_name'
gencol.o(.text+0xde):gencol.c: undefined reference to `glp_lpx_set_row_bnds'
gencol.o(.text+0xf3):gencol.c: undefined reference to `glp_lpx_set_row_name'
gencol.o(.text+0x110):gencol.c: undefined reference to `glp_lpx_set_row_bnds'
gencol.o(.text+0x120):gencol.c: undefined reference to `glp_lpx_add_cols'
gencol.o(.text+0x135):gencol.c: undefined reference to `glp_lpx_set_col_name'
gencol.o(.text+0x14f):gencol.c: undefined reference to `glp_lpx_set_col_bnds'
gencol.o(.text+0x164):gencol.c: undefined reference to `glp_lpx_set_col_name'
gencol.o(.text+0x17e):gencol.c: undefined reference to `glp_lpx_set_col_bnds'
gencol.o(.text+0x193):gencol.c: undefined reference to `glp_lpx_set_col_name'
gencol.o(.text+0x1ad):gencol.c: undefined reference to `glp_lpx_set_col_bnds'
gencol.o(.text+0x2e9):gencol.c: undefined reference to `glp_lpx_set_obj_dir'
gencol.o(.text+0x2fd):gencol.c: undefined reference to `glp_lpx_set_col_coef'
gencol.o(.text+0x311):gencol.c: undefined reference to `glp_lpx_set_col_coef'
gencol.o(.text+0x325):gencol.c: undefined reference to `glp_lpx_set_col_coef'
gencol.o(.text+0x333):gencol.c: undefined reference to `glp_lpx_simplex'
gencol.o(.text+0x341):gencol.c: undefined reference to `glp_lpx_get_obj_val'
gencol.o(.text+0x362):gencol.c: undefined reference to `glp_lpx_get_col_info'
gencol.o(.text+0x37d):gencol.c: undefined reference to `glp_lpx_get_col_info'
gencol.o(.text+0x398):gencol.c: undefined reference to `glp_lpx_get_col_info'
gencol.o(.text+0x3e6):gencol.c: undefined reference to `glp_lpx_delete_prob'
 
 
 

reply via email to

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