This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gettext-0.11 ?


Updating gettext is on my todo list.  Unfortunately, the cygwin patches 
can't go into the "real" gettext until after libtool releases version 
1.5.  Bruno Haible doesn't want to incorporate a dependency on a CVS 
version of libtool, for obvious reasons.  However, for nice clean 
libtool-based building of gettext on cygwin, we need to use the cvs 
version of libtool.  :-(

--Chuck
cygwin gettext maintainer.

Greg Smith wrote:

> I am trying to compile a package that has a dependency on
> gettext-0.11 (cygwin supplies gettext-0.10.40).
> 
> Trying to build gettext-0.11 (and also gettext-0.11.2) I
> get the following errors building the src subdirectory:
> 
> /bin/sh ../libtool --mode=link gcc  -g -O2   -o msgcmp.exe  msgcmp.o libgettextsrc.la
> generating import library for `cyggettextsrc-0-11-2.dll'
> dlltool --as=as --dllname cyggettextsrc-0-11-2.dll --def .libs/cyggettextsrc-0-11-2.dll-def --output-lib
> .libs/libimp-cyggettextsrc-0-11-2.a
> gcc -g -O2 -o .libs/msgcmp.exe msgcmp.o  .libs/libimp-cyggettextsrc-0-11-2.a .libs/libimp-cyggettextlib-0-11-2.a
> .libs/libimp-cygintl-2.a
>     Wl,--rpath-Wl,/usr/local/lib
> Warning: resolving _gram_max_allowed_errors by linking to __imp__gram_max_allowed_errors (auto-import)
> fu000001.o(.idata$3+0xc): undefined reference to `_libs_libimp_cyggettextsrc_0_11_2_a_iname'
> fu000002.o(.idata$3+0xc): undefined reference to `_libs_libimp_cyggettextsrc_0_11_2_a_iname'
> fu000003.o(.idata$3+0xc): undefined reference to `_libs_libimp_cyggettextsrc_0_11_2_a_iname'
> fu000004.o(.idata$3+0xc): undefined reference to `_libs_libimp_cyggettextsrc_0_11_2_a_iname'
> fu000005.o(.idata$3+0xc): undefined reference to `_libs_libimp_cyggettextsrc_0_11_2_a_iname'
> fu000006.o(.idata$3+0xc): more undefined references to `_libs_libimp_cyggettextsrc_0_11_2_a_iname' follow
> nmth000000.o(.idata$4+0x0): undefined reference to `_nm__gram_max_allowed_errors'
> 
> Removing msgcmp from the Makefile results in similar errors
> for other modules in the subdirectory.
> 
> If someone knows is familiar with these kind of problems and
> offer advice what I should focus on, then that'd be great.
> Meanwhile, I'll focus on this libtool script.
> 
> Thanks,
> Greg Smith
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 
> 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]