Mail Archives: cygwin/2002/05/19/12:27:35
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/
- Raw text -