freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Luis Lavena <luislavena AT gmail.com>
- To: Sergio NNX <sfhacker AT hotmail.com>
- Cc: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] freeTDS 0.91RC2 under MinGW
- Date: Mon, 13 Jun 2011 09:32:28 -0300
Sergio, please try to reply to the list, see comments below:
On Mon, Jun 13, 2011 at 4:12 AM, Sergio NNX <sfhacker AT hotmail.com> wrote:
> Hi Luis,
>
> Thanks for your email. In my previos email, the full log didn't get on the
> email, I don't know what happened. This is the full log:
>
> *** Warning: Trying to link with static lib archive /mingw/lib/libiconv.a.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because the file extensions .a of this argument makes me believe
> *** that it is just a static archive that I should not use here.
>
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x532): undefined reference to
> `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x546): undefined reference to
> `libiconv_close'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x56d): undefined reference to
> `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x5a4): undefined reference to
> `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x5ba): undefined reference to
> `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x5ce): undefined reference to
> `libiconv_close'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x624): undefined reference to
> `libiconv_close'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x729): undefined reference to
> `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x74f): undefined reference to
> `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x7fb): undefined reference to
> `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x816): undefined reference to
> `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x831): undefined reference to
> `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x84c): more undefined
> references to `libiconv_open' follow
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0xfe5): undefined reference to
> `libiconv_close'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0xffa): undefined reference to
> `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1011): undefined reference
> to `libiconv_close'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1026): undefined reference
> to `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x103d): undefined reference
> to `libiconv_close'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1124): undefined reference
> to `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1142): undefined reference
> to `libiconv_close'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x11f1): undefined reference
> to `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1242): undefined reference
> to `libiconv'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1288): undefined reference
> to `libiconv_close'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1641): undefined reference
> to `libiconv'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x169c): undefined reference
> to `libiconv'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x16fb): undefined reference
> to `libiconv'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x18dd): undefined reference
> to `libiconv'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x19be): undefined reference
> to `libiconv_close'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1b0a): undefined reference
> to `libiconv'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1c43): undefined reference
> to `libiconv'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1c5b): undefined reference
> to `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1cec): undefined reference
> to `libiconv'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1d37): undefined reference
> to `libiconv'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1d7a): undefined reference
> to `libiconv'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1d88): undefined reference
> to `libiconv_close'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1da4): undefined reference
> to `libiconv_open'
> ../tds/.libs/libtds.a(iconv.o):iconv.c:(.text+0x1f48): undefined reference
> to `libiconv'
> collect2: ld returned 1 exit status
> make[3]: *** [libct.la] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> After trying to build freeTDS 0.91RC2, I built other app which require iconv
> library without any problem. If I build freeTDS 0.82 with exactly the same
> setup I have got now, it builds ok. Therefore, something is not right with
> the new version of freeTDS.
>
> I built libiconv myself some time ago. I usually build both flavours of the
> same lib (static and shared), since some other apps may require either one
> or the other. When you type 'make install', the .a and .dll.a files are
> copied over to /lib folder and the .dll file is copied to /bin folder. Is
> this wrong? Is there any way of improving this? Should i move (or remove)
> one the files (.a or .dll.a) from the /lib folder? I'd appreciate any
> guidance here.
>
I had never encountered this issue so I can't help you further.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
-
[freetds] freeTDS under MinGW,
Sergio NNX, 06/11/2011
-
Re: [freetds] freeTDS under MinGW,
Luis Lavena, 06/11/2011
-
Message not available
-
Re: [freetds] freeTDS under MinGW,
Luis Lavena, 06/12/2011
-
Message not available
-
Re: [freetds] freeTDS 0.91RC2 under MinGW,
Luis Lavena, 06/13/2011
- Re: [freetds] freeTDS 0.91RC2 under MinGW, Stuart Henderson, 06/13/2011
-
Re: [freetds] freeTDS 0.91RC2 under MinGW,
Luis Lavena, 06/13/2011
-
Message not available
-
Re: [freetds] freeTDS under MinGW,
Luis Lavena, 06/12/2011
-
Message not available
-
Re: [freetds] freeTDS under MinGW,
Luis Lavena, 06/11/2011
Archive powered by MHonArc 2.6.24.