| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Matteo Facchinetti <teo AT sirius-es DOT it> |
| Subject: | libintl: undefined reference |
| Date: | Thu, 31 Aug 2006 19:38:21 +0200 |
| Lines: | 45 |
| Message-ID: | <ed76k3$f1j$1@sea.gmane.org> |
| Mime-Version: | 1.0 |
| User-Agent: | Thunderbird 1.5.0.5 (X11/20060812) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
hi, I'm porting my personal version of rpm packet to cygwin and I have a problem with libintl. When I create my .exe I encountered this problem: ...undefined reference to '_libintl_dgettext'; I have read something about linking with libintl but I don't know what I have to do in the latest version of cygwin. /bin/sh ./libtool --mode=link gcc -O2 -march=i386 -mcpu=i686 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o rpm2cpio.exe rpm2cpio.o -lintl ./lib/.libs/librpm.a ./rpmdb/. libs/librpmdb.a ./rpmio/.libs/librpmio.a ./popt/.libs/libpopt.a ./zlib/libz.la -lpthread -L./zlib -L/usr/local/lib gcc -O2 -march=i386 -mcpu=i686 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o rpm2cpio.exe rpm2cpio.o .libs/libimp-cygintl-3.a -L/usr/lib .libs/libimp-cygiconv-2.a ./lib/.libs/librpm.a ./rpmdb/.libs/librpmdb.a ./rpmio/.libs/librpmio.a ./popt/.libs/libpopt.a ./zlib/.libs/libz.al -lpthread -L/usr/src/rpm/BUILD/rpm-4.1.1/zlib -L/usr/local/lib ./lib/.libs/librpm.a(formats.o):formats.c:(.text+0x11d6):undefined reference to`_libintl_dgettext' ./lib/.libs/librpm.a(formats.o):formats.c:(.text+0x124f): undefined reference to`_libintl_dgettext' collect2: ld returned 1 exit status make[2]: *** [rpm2cpio.exe] Error 1 make[2]: Leaving directory `/usr/src/rpm/BUILD/rpm-4.1.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/rpm/BUILD/rpm-4.1.1' make: *** [all] Error 2 What can I do? I don't know how can I resolve this problem!! Please, help me. Matteo Facchinetti -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |