Re: Compiling C-ISAM 7.2 using Ubuntu 8.04 using gcc 4.2.3
by Jonathan Leffler <jleffler@[EMAIL PROTECTED]
>
May 2, 2008 at 12:15 AM
openplus wrote:
> Hi,
>
> Trying to do the about gives me the errors:
>
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/
> libisam.a(osctype.o): In function `ldctypearr':
> osctype.c:(.text+0x129): undefined reference to `__ctype_b'
> osctype.c:(.text+0x1c3): undefined reference to `__ctype_tolower'
> osctype.c:(.text+0x1ea): undefined reference to `__ctype_toupper'
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/
> libisam.a(glsutill.o): In function `_gl_skip_whitespace':
> glsutils.c:(.text+0xe0c): undefined reference to `__ctype_b'
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/
> libisam.a(glsutill.o): In function `_gl_get_int':
> glsutils.c:(.text+0xf0c): undefined reference to `__ctype_b'
> glsutils.c:(.text+0xf71): undefined reference to `__ctype_b'
> glsutils.c:(.text+0xfcc): undefined reference to `__ctype_b'
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/
> libisam.a(glsutill.o): In function `_gl_get_dbl':
> glsutils.c:(.text+0x103f): undefined reference to `__ctype_b'
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/
> libisam.a(glsutill.o):glsutils.c:(.text+0x10a9): more undefined
> references to `__ctype_b' follow
> collect2: ld returned 1 exit status
>
> Can anyone give me some guidance for how to get around this?
Exactly which version of C-ISAM do you have?
Which version of Linux was it built on/for? Or, more especially, which
version of the GNU C Library? And which version of the GNU C Library
are you using?
The build information should be in the release notes.
My suspicion is that the C-ISAM was built using a very old version of
the GNU C Library and therefore won't link with your much more modern
version.
--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@[EMAIL PROTECTED]
jleffler@[EMAIL PROTECTED]
of DBD::Informix v2008.0229 -- http://dbi.perl.org/
publictimestamp.org/ptb/PTB-3142 ripemd320 2008-05-02 06:00:07
08BD19464F2193F2B58DA328F3ACDBE18F892D472427C230D6967342CF5379E65D1EC1
C82E05D74