[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
can't build gettext-0.15-pre5 in Mingw (Windows XP)
From: |
haibin zhang |
Subject: |
can't build gettext-0.15-pre5 in Mingw (Windows XP) |
Date: |
Wed, 12 Jul 2006 23:21:38 +0800 (CST) |
HI All:
When I build gettext-0.15-pre5 in Mingw (Windows XP), it occur error:
My configure parameter:
../../gettext-0.15-pre5/configure --prefix=/mingw LDFLAGS=-lmsvcp60 CFLAGS=-O2
CXXFLAGS=-O2
This is the error:
Making all in src
make[3]: Entering directory
`/d/cdev/mingw_build/gettext-0.15-pre5/gettext-runtime/src'
gcc -DLOCALEDIR=\"/mingw/share/locale\" -DHAVE_CONFIG_H -I.
-I../../../../gettext-0.15-pre5/gettext-runtime/src -I.. -I. -I
../../../../gettext-0.15-pre5/gettext-runtime/src -I.. -I../intl
-I../../../../gettext-0.15-pre5/gettext-runtime/src/../intl
-I../lib -I../../../../gettext-0.15-pre5/gettext-runtime/src/../lib
-I../../gettext-tools/lib -I../../../../gettext-0.15-pr
e5/gettext-runtime/src/../../gettext-tools/lib -DINSTALLDIR=\"/mingw/bin\" -O2
-c -o gettext-gettext.o `test -f 'gettext.c'
|| echo '../../../../gettext-0.15-pre5/gettext-runtime/src/'`gettext.c
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -lmsvcp60
-Wl,--disable-auto-import -o gettext.exe gettext-gettext.o ../l
ib/libgrt.a ../intl/libintl.la -liconv -liconv
mkdir .libs
chmod 777 .libs
gcc -O2 -Wl,--disable-auto-import -o .libs/gettext.exe gettext-gettext.o
../lib/libgrt.a ../intl/.libs/libintl.dll.a -lmsvc
p60 /mingw/lib/libiconv.dll.a -L/mingw/lib
gettext-gettext.o:gettext.c:(.text+0x63): undefined reference to `__printf__'
gettext-gettext.o:gettext.c:(.text+0x6f): undefined reference to `__printf__'
gettext-gettext.o:gettext.c:(.text+0x83): undefined reference to `__printf__'
gettext-gettext.o:gettext.c:(.text+0x8f): undefined reference to `__printf__'
gettext-gettext.o:gettext.c:(.text+0xa3): undefined reference to `__printf__'
gettext-gettext.o:gettext.c:(.text+0xaf): more undefined references to
`__printf__' follow
collect2: ld returned 1 exit status
make[3]: *** [gettext.exe] Error 1
make[3]: Leaving directory
`/d/cdev/mingw_build/gettext-0.15-pre5/gettext-runtime/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/d/cdev/mingw_build/gettext-0.15-pre5/gettext-runtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/d/cdev/mingw_build/gettext-0.15-pre5/gettext-runtime'
make: *** [all-recursive] Error 1
__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com
- can't build gettext-0.15-pre5 in Mingw (Windows XP),
haibin zhang <=