[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr'
From: |
Simon Josefsson |
Subject: |
Re: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr' |
Date: |
Thu, 22 Apr 2010 10:43:47 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Bruno Haible <address@hidden> writes:
>> > Can you show the result of 'grep MEMCHR config.status' and the relevant
>> > portion of gllib/string.h ?
>>
>> S["REPLACE_MEMCHR"]="1"
>> S["HAVE_RAWMEMCHR"]="1"
>> S["HAVE_MEMCHR"]="1"
>> S["GNULIB_RAWMEMCHR"]="0"
>> S["GNULIB_MEMCHR"]="1"
>> D["HAVE_MEMCHR"]=" 1"
>> D["GNULIB_TEST_MEMCHR"]=" 1"
>>
>> See below for string.h contents.
>
> Thanks, this is as expected for a cross-compile. Two more pieces of data
> are needed:
>
> $ nm gllib/libgnu.a | grep memchr
>
> $ nm gllib/memchr.o
address@hidden:~/src/gnulib/m master$ i586-mingw32msvc-nm gllib/libgnu.a | grep
memchr
memchr.o:
00000000 T _rpl_memchr
U _rpl_memchr
address@hidden:~/src/gnulib/m master$ i586-mingw32msvc-nm gllib/memchr.o
00000000 b .bss
00000000 d .data
00000000 N .debug_abbrev
00000000 N .debug_aranges
00000000 N .debug_frame
00000000 N .debug_info
00000000 N .debug_line
00000000 N .debug_loc
00000000 N .debug_pubnames
00000000 N .debug_ranges
00000000 t .text
00000000 T _rpl_memchr
address@hidden:~/src/gnulib/m master$
Thanks,
/Simon
- test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr', Simon Josefsson, 2010/04/21
- Re: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr', Bruno Haible, 2010/04/21
- Re: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr', Simon Josefsson, 2010/04/22
- Re: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr', Bruno Haible, 2010/04/22
- Re: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr',
Simon Josefsson <=
- Re: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr', Bruno Haible, 2010/04/22
- Re: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr', Simon Josefsson, 2010/04/23
- Re: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr', Bruno Haible, 2010/04/24
- Re: test-string-c++.o:(.data+0x0): undefined reference to `rpl_memchr', Simon Josefsson, 2010/04/25