bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr'


From: Simon Josefsson
Subject: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr'
Date: Wed, 21 Apr 2010 13:10:38 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

While debugging a 'asprintf' bug on Windows, I noticed that building the
'vasprintf' module fails:

gnulib-tool --create-testdir --dir m --with-tests vasprintf
cd m
./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu 
make

results in:

g++ -DHAVE_CONFIG_H -I.  -DGNULIB_STRICT_CHECKING=1 -I. -I. -I.. -I./.. 
-I../gllib -I./../gllib    -MT test-string-c++2.o -MD -MP -MF 
.deps/test-string-c++2.Tpo -c -o test-string-c++2.o test-string-c++2.cc
mv -f .deps/test-string-c++2.Tpo .deps/test-string-c++2.Po
g++     -o test-string-c++.exe test-string-c++.o test-string-c++2.o 
../gllib/libgnu.a  
test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr'
test-string-c++.o:(.rodata+0x0): undefined reference to `rpl_memchr'
test-string-c++2.o:(.rodata+0x0): undefined reference to `rpl_memchr'
collect2: ld returned 1 exit status
make[4]: *** [test-string-c++.exe] Error 1
make[4]: Leaving directory `/home/jas/src/gnulib/m/gltests'

Ideas?

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]