Skip to Content.
Sympa Menu

freetds - Re: [freetds] problem compiling token.c with libiconv-1.9.1?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] problem compiling token.c with libiconv-1.9.1?
  • Date: 03 Feb 2004 21:16:04 +0100

Il mar, 2004-02-03 alle 18:06, Lowden, James K ha scritto:
> Compiling current CVS with GNU libiconv 1.9.1, I get these errors:
>
> gcc -DHAVE_CONFIG_H -I. \
> -I../../../src/tds \
> -I../../include \
> -I../../../include \
> -D_FREETDS_LIBRARY_SOURCE \
> -I/usr/pkg/include \
> -DDEBUG=1 \
> -Wall \
> -Wstrict-prototypes \
> -Wmissing-prototypes \
> -Wno-long-long \
> -g \
> -O2 \
> -c \
> ../../../src/tds/token.c \
> -Wp,-MD,.deps/token.TPlo \
> -fPIC \
> -DPIC \
> -o .libs/token.o
> ../../../src/tds/token.c: In function `tds7_get_data_info':
> ../../../src/tds/token.c:1428: structure has no member named `libiconv'
> ../../../src/tds/token.c: In function `tds_get_data_info':
> ../../../src/tds/token.c:1570: structure has no member named `libiconv'
> ../../../src/tds/token.c: In function `tds_get_data':
> ../../../src/tds/token.c:1955: structure has no member named `libiconv'
> ../../../src/tds/token.c:1982: structure has no member named `libiconv'
> ../../../src/tds/token.c: In function `adjust_character_column_size':
> ../../../src/tds/token.c:3374: structure has no member named `libiconv'
> ../../../src/tds/token.c:3382: structure has no member named `libiconv'
> ../../../src/tds/token.c:3386: structure has no member named `libiconv'
> ../../../src/tds/token.c:3387: structure has no member named `libiconv'
> ../../../src/tds/token.c:3389: structure has no member named `libiconv'
> ../../../src/tds/token.c:3393: structure has no member named `libiconv'
> ../../../src/tds/token.c:3400: structure has no member named `libiconv'
> ../../../src/tds/token.c:3402: structure has no member named `libiconv'
>
> Normally these days I compile with --disable-libiconv, so I don't know when
> this began.
>
> I should mention I compile in a "build" directory next to src. That's why
> all the "../" prefixes in the include path.
>

I fixed some problem compiling with --disable-libiconv very recently...
strange!
I get no warnings compiling with or without --disable-libiconv...
>From warnings it seems someone define iconv == libiconv ... Perhaps
using libiconv iconv get defined to avoid clash with libc version ??

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page