logo       

Re: Problems compiling pre4: msg#00069

Subject: Re: Problems compiling pre4
Hi Markus,

You wrote:

> Hi Mike,
> 
> you may have noticed that the SF lists are broke currently. I'm not
> sure whether my previous replies ever made it to your inbox.

At least one did, and I replied, but I guess the list sidelined it.

> In any case, I had a second look at your Cygwin log output and noticed
> something pretty strange:
> 
> refdbdnote.o(.text+0x5926):refdbdnote.c: undefined reference to 
> `_dbi_conn_get_e
> ncoding'
> refdbdnote.o(.text+0x599c):refdbdnote.c: undefined reference to 
> `_libiconv_close
> '
> 
> The first line is ok and looks as expected if a library function is
> missing (you have an old libdbi version). The second line should
> complain about an undefined reference to "_iconv_close", not
> "_libiconv_close". However I could not find any hint in the Cygwin
> mailing lists about any oddities of libiconv on this platform. I'll
> check myself on Monday when I'll get my hands on a Windoze box again.

Attached is a copy of the iconv.h file from my Cygwin environment. If
you look at that, there are some #ifdefs in there like this:

  #ifndef LIBICONV_PLUG
  #define iconv_close libiconv_close
  #endif

I actually tried temporarily replacing the iconv.h with a copy that had
that stuff commented out, but even then refdb wouldn't build.

Also attached is a copy of my config.log for the build. 
> 
> I also ran another test on a Debian box. Linux apparently has the
> iconv stuff built into libc, that's why it is not necessary to link
> against libiconv. RefDB works allright on Debian 3.0 for me.

Yeah, I reckon that once I update my libdbi kit on Debian, I won't have
any problems on Debian either. But the Cygwin stuff still has me stumped.

  --Mike

> Michael Smith writes:
>  > Markus,
>  > 
>  > I just updated by sandboxes and am now getting similar "undefined
>  > reference to `_libiconv_close'" build errors on Cygwin, along with an
>  > "undefined reference to `_dbi_conn_get_encoding'" on both Cygwin and
>  > Debian ('make' logs attached).
>  > 
>  > On Cygwin, looks like the libiconv library and headers are in the normal
>  > lib and include directories -
>  > 
>  >   /lib/libiconv.a
>  >   /lib/libiconv.dll.a
>  >   /lib/libiconv.la
>  >   /usr/lib/libiconv.a
>  >   /usr/lib/libiconv.dll.a
>  >   /usr/lib/libiconv.la
>  > 
>  >   /usr/include/iconv.h
>  > 
>  > I shouldn't need to tell make to go looking for them there, right?

Attachment: iconv.h
Description: Text document

Attachment: config.log
Description: Text document

Attachment: pgpZajuurdks9.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe