bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnu-libiconv] [bug #38422] Compile with mingw32 error: reference to


From: Bruno Haible
Subject: [bug-gnu-libiconv] [bug #38422] Compile with mingw32 error: reference to relocatable
Date: Sat, 19 Nov 2016 14:22:54 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

Update of bug #38422 (project libiconv):

                  Status:                    None => Fixed                  
             Assigned to:                    None => haible                 
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Thanks for the report.

I can reproduce it: The "make install" command fails with
libtool: link: i686-w64-mingw32-gcc -g -O2 iconv.o iconv.res -o
.libs/iconv.exe  -L/usr/local/mingw32/lib ../srclib/libicrt.a
/tmp/inst/lib/libiconv.dll.a -L/tmp/inst/lib
../srclib/libicrt.a(progreloc.o): In function `prepare_relocate':
/cygdrive/c/Users/bruno/devel/libiconv-1.14/build-mingw32/srclib/../../srclib/progreloc.c:297:
undefined reference to `compute_curr_prefix'
/cygdrive/c/Users/bruno/devel/libiconv-1.14/build-mingw32/srclib/../../srclib/progreloc.c:302:
undefined reference to `set_relocation_prefix'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:114: install] Error 1

It was fixed on 2011-08-16 in gnulib:
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=fb6aa6ad7dd950729f4e3349d89d4ad82761af61

I verified that in recent libiconv snapshots (which use recent gnulib) the
--enable-relocatable option works fine on mingw.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38422>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]