Re: [Refdb-users] Problems compiling pre4
Status: Beta
Brought to you by:
mhoenicka
|
From: Markus H. <mar...@mh...> - 2004-01-27 13:58:06
|
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. 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.
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.
regards,
Markus
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?
>
--
Markus Hoenicka
mar...@ca...
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
|