Re: sed on msys error

Damon Register <[email protected]>
Newsgroups gmane.comp.gnu.mingw.msys
Message-ID <[email protected]>
Keith Marshall wrote:
> may be seen in the attached libiconv-1.12.patch-1, but better still, 
> IMO, to eliminate this complex sed expression altogether, in favour 
> of the much simpler, and therefore more robust, implementation 
> provided in my recommended alternative libiconv-1.12.patch-2.
I have just tried to build libiconv-1.12 and have run into this sed
problem.  I found this thread from last year so I tried the patch-2
that you suggested.  The make and install seemed to complete with
no more errors.  I am not able to build anything using libiconv.
I tried this simple test case and get linker errors like this:
undefined reference to `libiconv_open'.

I compiled with

gcc -I/c/gtkmm/include -L/c/gtkmm/lib -liconv.dll iconvtest.c

Can anyone help with this?  Is there anything else other than
the libiconv-1.12.patch-2 patch before libiconv-1.12 can be built
and used with msys/mingw?

Damon Register

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________
Mingw-msys mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
iconvtest.c (text/plain, 169 B)
#include <stdlib.h>
#include <iconv.h>
int
main ()
{
iconv_t cd = iconv_open("","");
         iconv(cd,NULL,NULL,NULL,NULL);
         iconv_close(cd);
  ;
  return 0;
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.