On Thu, May 06, 2010 at 08:15:50PM +0200, Harry Thijssen wrote:
Hi
During cross-compile build of pspp-master I get the following error:
/bin/sh ./libtool --tag=CC --mode=link i686-pc-mingw32-gcc -std=gnu99
-Wall -W -Wwrite-strings -Wstrict-prototypes -Wpointer-arith
-Wno-sign-compare -Wmissing-prototypes -O2 -g -pipe -Wall -fexceptions
-fno-omit-frame-pointer -fno-optimize-sibling-calls
--param=ssp-buffer-size=4 -mms-bitfields -Wdeclaration-after-statement
-Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -o
src/ui/terminal/pspp.exe src/ui/terminal/
libui.la src/ui/libuicommon.lasrc/
libpspp.la src/
libpspp-core.la -L/usr/i686-pc-mingw32/sys-root/mingw/lib
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -lintl
/usr/i686-pc-mingw32/sys-root/mingw/lib/libiconv.dll.a
-L/usr/i686-pc-mingw32/sys-root/mingw/lib
/usr/i686-pc-mingw32/sys-root/mingw/lib/libintl.a
/usr/i686-pc-mingw32/sys-root/mingw/lib/libreadline.dll.a
-L/usr/i686-pc-mingw32/sys-root/mingw/lib -lgsl -lgslcblas -lz -lintl
libtool: link: i686-pc-mingw32-gcc -std=gnu99 -Wall -W -Wwrite-strings
-Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes
-O2 -g -pipe -Wall -fexceptions -fno-omit-frame-pointer
-fno-optimize-sibling-calls --param=ssp-buffer-size=4 -mms-bitfields
-Wdeclaration-after-statement -Wl,--exclude-libs=libintl.a
-Wl,--exclude-libs=libiconv.a -o src/ui/terminal/.libs/pspp.exe
src/ui/terminal/.libs/libui.a src/ui/.libs/libuicommon.a src/.libs/libpspp.a
-L/usr/i686-pc-mingw32/sys-root/mingw/lib src/.libs/libpspp-core.a -lxml2
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0
/usr/i686-pc-mingw32/sys-root/mingw/lib/libiconv.dll.a
/usr/i686-pc-mingw32/sys-root/mingw/lib/libintl.a
/usr/i686-pc-mingw32/sys-root/mingw/lib/libreadline.dll.a -lgsl -lgslcblas
-lz -lintl -L/usr/i686-pc-mingw32/sys-root/mingw/lib
Info: resolving _rl_attempted_completion_over by linking to
__imp__rl_attempted_completion_over (auto-import)
Info: resolving _rl_basic_word_break_characters by linking to
__imp__rl_basic_word_break_characters (auto-import)
Info: resolving _rl_attempted_completion_function by linking to
__imp__rl_attempted_completion_function (auto-import)
Info: resolving _gsl_rng_mt19937 by linking to __imp__gsl_rng_mt19937
(auto-import)
/usr/lib64/gcc/i686-pc-mingw32/4.4.3/../../../../i686-pc-mingw32/bin/ld:
warning: auto-importing has been activated without --enable-auto-import
specified on the command line.
This should work unless it involves constant data structures referencing
symbols from auto-imported DLLs.
src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-terminal-opts.o): In
function `usage':
/home/harry/pspp-0.7.4-gcefdaf/src/ui/terminal/terminal-opts.c:186:
undefined reference to `___printf__'
src/.libs/libpspp.a(version-etc.o): In function
`emit_bug_reporting_address':
/home/harry/pspp-0.7.4-gcefdaf/gl/version-etc.c:245: undefined reference to
`___printf__'
/home/harry/pspp-0.7.4-gcefdaf/gl/version-etc.c:251: undefined reference to
`___printf__'
src/.libs/libpspp.a(get-data.o): In function `parse_get_gnm':
/home/harry/pspp-0.7.4-gcefdaf/src/language/data-io/get-data.c:222:
undefined reference to `___printf__'
src/.libs/libpspp.a(paper-size.o): In function `cmd_debug_paper_size':
/home/harry/pspp-0.7.4-gcefdaf/src/language/tests/paper-size.c:38: undefined
reference to `___printf__'
src/.libs/libpspp.a(paper-size.o):/home/harry/pspp-0.7.4-gcefdaf/src/language/tests/paper-size.c:44:
more undefined references to `___printf__' follow
collect2: ld returned 1 exit status
make[2]: *** [src/ui/terminal/pspp.exe] Fout 1
Have fun