Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Compile errors on OpenBSD 4.8

fsvs
Discussion topic

Back to topic list

Re: Compile errors on OpenBSD 4.8

Author pmarek
Full name P.Marek
Date 2011-06-25 11:23:48 PDT
Message Hello Frode!


> Now gmake fails much later:
...
> /home/froh/sw/src/fs​vs-1.2/src/fsvs.c:47​6: undefined reference to `fmemopen'
Well, this should be seen during configure - HAVE_FMEMOPEN - and then just the
debug-buffer options should be disabled during compilation.

You could try --enable-release - this would remove all debug print calls (although the
function would have to be removed by the linker). But that shouldn't be necessary!


> /home/froh/sw/src/fs​vs-1.2/src/helper.c:​1436: undefined reference to
> `iconv_open'
...
> From a quick web search it seems fmemopen is a glibc only
>
> I did some testing of openbsd's iconv, as suggested in this thread:
> https://bitbucket.or​g/medoc/recoll/issue​/61/configure-on-ope​nbsd-fails-on-iconv
...
> $ gcc iconvtest.c
> iconvtest.c:8: error: conflicting types for 'libiconv_open'
> /usr/local/include/iconv.h:73: error: previous declaration of
> 'libiconv_open' was here
Well, this is a compile error; with FSVS it's a linker problem.

Perhaps this is an artifact of not running configure again after the update; please
re-run "make clean", "configure", and "make".


Regards,

Phil


--
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

« Previous message in topic | 8 of 11 | Next message in topic »

Messages

Show all messages in topic

Compile errors on OpenBSD 4.8 froh Frode Haugsgjerd 2011-06-22 10:36:34 PDT
     Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-22 12:27:45 PDT
         RE: Re: Compile errors on OpenBSD 4.8 froh Frode Haugsgjerd 2011-06-22 12:58:29 PDT
     RE: Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-23 00:49:09 PDT
         RE: Re: Compile errors on OpenBSD 4.8 froh Frode Haugsgjerd 2011-06-23 17:24:36 PDT
             Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-25 00:04:48 PDT
                 Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-25 02:13:22 PDT
     Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-25 11:23:48 PDT
         Re: Compile errors on OpenBSD 4.8 froh Frode Haugsgjerd 2011-06-25 13:41:37 PDT
             Re: Compile errors on OpenBSD 4.8 pmarek P.Marek 2011-06-26 00:06:51 PDT
                 Re: Compile errors on OpenBSD 4.8 froh Frode Haugsgjerd 2011-06-26 04:05:32 PDT
Messages per page: