This is the mail archive of the cygwin 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]

Gettext help


Very frustrated.  I'm trying to compile a lot of programs that require
gettext as a dependency with version > 0.16.  As you know cygwin
currently contains only 0.15.  Ive managed to download, compile and
install both gettext 0.17 and 0.18 pre1 (CVS), but am still getting
errors (no difference between 0.17 and 0.18).  Here is a sample of
what I am getting:

make[2]: Entering directory `/home/klal/temp/gnupg/svn_gnupg_trunk/tools'
gcc  -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wformat-nonliteral
  -o gpgsplit.exe gpgsplit.o ../cipher/libcipher.a ../mpi/libmpi.a ../util/libut
il.a  -liconv /usr/local/lib/libintl.dll.a -liconv -L/usr/local/lib  -lz -lbz2
../util/libutil.a(logger.o): In function `log_set_pid':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/logger.c:90: undefined reference to `
_libintl_sprintf'
../util/libutil.a(logger.o): In function `g10_log_print_prefix':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/logger.c:124: undefined reference to
`_libintl_fprintf'
/home/klal/temp/gnupg/svn_gnupg_trunk/util/logger.c:126: undefined reference to
`_libintl_fprintf'
../util/libutil.a(logger.o): In function `g10_log_info':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/logger.c:140: undefined reference to
`_libintl_vfprintf'
../util/libutil.a(logger.o): In function `g10_log_warning':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/logger.c:162: undefined reference to
`_libintl_vfprintf'
../util/libutil.a(logger.o): In function `g10_log_error':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/logger.c:177: undefined reference to
`_libintl_vfprintf'
../util/libutil.a(logger.o): In function `g10_log_fatal':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/logger.c:193: undefined reference to
`_libintl_vfprintf'
../util/libutil.a(logger.o): In function `g10_log_bug':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/logger.c:210: undefined reference to
`_libintl_vfprintf'
../util/libutil.a(logger.o):/home/klal/temp/gnupg/svn_gnupg_trunk/util/logger.c:
239: more undefined references to `_libintl_vfprintf' follow
../util/libutil.a(logger.o): In function `g10_log_hexdump':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/logger.c:255: undefined reference to
`_libintl_fprintf'
../util/libutil.a(argparse.o): In function `show_version':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/argparse.c:847: undefined reference t
o `___printf__'
/home/klal/temp/gnupg/svn_gnupg_trunk/util/argparse.c:848: undefined reference t
o `___printf__'
/home/klal/temp/gnupg/svn_gnupg_trunk/util/argparse.c:852: undefined reference t
o `___printf__'
/home/klal/temp/gnupg/svn_gnupg_trunk/util/argparse.c:855: undefined reference t
o `___printf__'
/home/klal/temp/gnupg/svn_gnupg_trunk/util/argparse.c:858: undefined reference t
o `___printf__'
../util/libutil.a(argparse.o):/home/klal/temp/gnupg/svn_gnupg_trunk/util/argpars
e.c:777: more undefined references to `___printf__' follow
../util/libutil.a(argparse.o): In function `usage':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/argparse.c:877: undefined reference t
o `_libintl_fprintf'
../util/libutil.a(secmem.o): In function `secmem_dump_stats':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/secmem.c:516: undefined reference to
`_libintl_fprintf'
../util/libutil.a(strgutil.o): In function `utf8_to_native':
/home/klal/temp/gnupg/svn_gnupg_trunk/util/strgutil.c:811: undefined reference t
o `_libintl_sprintf'
/home/klal/temp/gnupg/svn_gnupg_trunk/util/strgutil.c:890: undefined reference t
o `_libintl_sprintf'
/home/klal/temp/gnupg/svn_gnupg_trunk/util/strgutil.c:893: undefined reference t
o `_libintl_sprintf'
/home/klal/temp/gnupg/svn_gnupg_trunk/util/strgutil.c:837: undefined reference t
o `_libintl_sprintf'
/home/klal/temp/gnupg/svn_gnupg_trunk/util/strgutil.c:966: undefined reference t
o `_libintl_sprintf'
../util/libutil.a(strgutil.o):/home/klal/temp/gnupg/svn_gnupg_trunk/util/strguti
l.c:880: more undefined references to `_libintl_sprintf' follow
collect2: ld returned 1 exit status
make[2]: *** [gpgsplit.exe] Error 1
make[2]: Leaving directory `/home/klal/temp/gnupg/svn_gnupg_trunk/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/klal/temp/gnupg/svn_gnupg_trunk'
make: *** [all] Error 2

I dont really even know where to start in trying to fix this error.

-- 
Kevin Hilton

--
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/


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