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]

Fwd: undefined reference


Hello, I'm trying to compile gettext on cygwin, but I'm
getting an undefined reference error, could anyone help?? I'm running
configure without shared library, as with it I was getting another
undefined error, then I'm stuck here

rts/branches/cygwin-1.5/devel/gettext/gettext-0.17-2/build/gettext-tools/intl/.libs/libintl.dll.a
/usr/lib/libiconv
.dll.a
g++ -DLOCALEDIR=\"/usr/share/locale\"
-DBISON_LOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/shar
e/locale:/usr/local/share/locale:/usr/share/X11/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/usr/lib/gettext\" -DGETTEX
TJAR=\"/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/lib\"
-DGETTEXTDATADIR=\"/usr/share/gettext\" -DPROJECTSDIR
=\"/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I.
-I/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/ge
ttext/gettext-0.17-2/src/gettext-0.17/gettext-tools/src -I.. ?-I.
-I/home/Winmat/cygwin-ports/ports/branches/cygwin
-1.5/devel/gettext/gettext-0.17-2/src/gettext-0.17/gettext-tools/src
-I.. -I/home/Winmat/cygwin-ports/ports/branche
s/cygwin-1.5/devel/gettext/gettext-0.17-2/src/gettext-0.17/gettext-tools
-I/home/Winmat/cygwin-ports/ports/branches
/cygwin-1.5/devel/gettext/gettext-0.17-2/src/gettext-0.17/gettext-tools/libgrep
-I../gnulib-lib -I/home/Winmat/cygw
in-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-0.17-2/src/gettext-0.17/gettext-tools/gnulib-lib
-I../intl
?-I/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-0.17-2/src/gettext-0.17/gettext-tools/
../gettext-runtime/intl -DINSTALLDIR=\"/usr/bin\"
-D__STDC_LIMIT_MACROS -O2 -pipe ?-c -o msgcat-c++msgcat.o `test
-f '../woe32dll/c++msgcat.cc' || echo
'/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-0.
17-2/src/gettext-0.17/gettext-tools/src/'`../woe32dll/c++msgcat.cc
/bin/sh ../libtool --tag=CXX ? --mode=link g++ -D__STDC_LIMIT_MACROS
-O2 -pipe ? -Wl,--disable-auto-import -o msgca
t.exe msgcat-c++msgcat.o libgettextsrc.la ?gettext.res
libtool: ignoring unknown tag CXX
libtool: link: g++ -D__STDC_LIMIT_MACROS -O2 -pipe
-Wl,--disable-auto-import -o .libs/msgcat.exe msgcat-c++msgcat.o
?gettext.res ?./.libs/libgettextsrc.a -L/usr/lib
/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/
gettext-0.17-2/build/gettext-tools/gnulib-lib/.libs/libgettextlib.a
-lncurses /home/Winmat/cygwin-ports/ports/branc
hes/cygwin-1.5/devel/gettext/gettext-0.17-2/build/gettext-tools/intl/.libs/libintl.dll.a
/usr/lib/libiconv.dll.a
msgcat-c++msgcat.o:c++msgcat.cc:(.text+0x701): undefined reference to
`__imp__color_test_mode'
collect2: ld returned 1 exit status
make[4]: *** [msgcat.exe] Error 1
make[4]: Leaving directory
`/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-0.17-2/build/
gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-0.17-2/build/
gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-0.17-2/build/
gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/Winmat/cygwin-ports/ports/branches/cygwin-1.5/devel/gettext/gettext-0.17-2/build/
gettext-tools'
make: *** [all-recursive] Error 1
*** ERROR: make failed

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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