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: Patrick
Subject: [bug-gnu-libiconv] [bug #38422] Compile with mingw32 error: reference to relocatable
Date: Wed, 27 Feb 2013 03:26:24 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22

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

                 Summary: Compile with mingw32 error: reference to relocatable
                 Project: libiconv
            Submitted by: mail6543210
            Submitted on: Wed 27 Feb 2013 03:26:22 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I was compiling libiconv 1.14 under MinGW32/WinXP.

I configured it with "--enable-relocatable" option, when building
iconv.exe(after libcharset.dll and libiconvdll were built), it tells
"undefined reference to `relocate`, `compute_curr_prefix`,
`set_relocation_prefix`".

PS: I'm not sure what does the "relocatable" means.

After navigating the souce code and Makefile, I noticed that when compilling
lib/relocatable.c, the Makefile use
"-Drelocate=libiconv_relocate","-Dset_relocation_prefix=libiconv_set_relocation_prefix"
and (line 166) "#ifdef IN_LIBRARY
#define compute_curr_prefix local_compute_curr_prefix".
Which makes the object code has no correct symbols.

Please fix it, thank you!




    _______________________________________________________

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]