help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] A problem in compilation of glpk


From: Shubhashis Ghosh
Subject: [Help-glpk] A problem in compilation of glpk
Date: Thu, 2 Dec 2004 11:03:39 -0700 (MST)

Hi,
        I am using 'gcc' on a linux Redhat 9.0 operating system.
I am using the following command. I think it is not getting reference 
to '__ctype_b_loc'. Can anyone please help me to figure out what may be 
the cause of the problem?

gcc -g -O2  -Iinclude  sample/glpsoln.c \
        libglpk.a -lm  -o glpsoln

/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 60.
libglpk.a(glplpx1.o): In function `glp_lpx_check_name':
glplpx1.o(.text+0x9ac): undefined reference to `__ctype_b_loc'
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
libglpk.a(glplpx8a.o): In function `read_card':
source/glplpx8a.c:853: undefined reference to `__ctype_b_loc'
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
libglpk.a(glplpx8c.o): In function `check_name':
source/glplpx8c.c:208: undefined reference to `__ctype_b_loc'
source/glplpx8c.c:212: undefined reference to `__ctype_b_loc'
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
libglpk.a(glpmpl4.o): In function `glp_mpl_get_prob_name':
source/glpmpl4.c:1154: undefined reference to `__ctype_b_loc'
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 60.
libglpk.a(glpmps.o)(.text+0x120f): more undefined references to 
`__ctype_b_l
oc' follow
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
libglpk.a(glplpt.o): In function `scan_keyword':
source/glplpt.c:175: undefined reference to `__ctype_tolower_loc'
libglpk.a(glplpt.o): In function `scan_token':
source/glplpt.c:202: undefined reference to `__ctype_b_loc'
source/glplpt.c:268: undefined reference to `__ctype_b_loc'
source/glplpt.c:274: undefined reference to `__ctype_b_loc'
source/glplpt.c:287: undefined reference to `__ctype_b_loc'
source/glplpt.c:306: undefined reference to `__ctype_b_loc'
libglpk.a(glplpt.o):source/glplpt.c:309: more undefined references to 
`__cty
pe_b_loc' follow
libglpk.a(glplpt.o): In function `compare':
source/glplpt.c:569: undefined reference to `__ctype_tolower_loc'
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 1584.
libglpk.a(glpmpl1.o): In function `glp_mpl_get_char':
glpmpl1.o(.text+0x12e): undefined reference to `__ctype_b_loc'
libglpk.a(glpmpl1.o): In function `glp_mpl_get_token':
glpmpl1.o(.text+0x360): undefined reference to `__ctype_b_loc'
glpmpl1.o(.text+0x38b): undefined reference to `__ctype_b_loc'
glpmpl1.o(.text+0x52e): undefined reference to `__ctype_b_loc'
glpmpl1.o(.text+0x576): undefined reference to `__ctype_b_loc'
libglpk.a(glpmpl1.o)(.text+0x770): more undefined references to 
`__ctype_b_l


-Shubhashis Ghosh





reply via email to

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