Current-Users archive

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

Re: mdocml update breaks building tools on netbsd-5 host



On Thu, 09 Jan 2014, Alan Barrett wrote:

On Thu, 09 Jan 2014, Alan Barrett wrote:

On Wed, 08 Jan 2014, John D. Baker wrote:
#      link  mandoc/mandoc
[...]
mdoc_validate.lo: In function `post_hyph':
mdoc_validate.c:(.text+0x256a): undefined reference to `strnlen'

strnlen needs to be added to src/tools/compat.  I will do that.

OK, it should be fixed now.

Almost.

[...]
#   compile  compat/strnlen.lo
cc -O  -I. -I./include -I/x/current/src/tools/compat 
-I/x/current/src/tools/compat/sys  -DHAVE_NBTOOL_CONFIG_H=1 
-D_FILE_OFFSET_BITS=64 -D__DBINTERFACE_PRIVATE -c -o strnlen.lo.o    
/x/current/src/tools/compat/../../common/lib/libc/string/strnlen.c
/x/current/src/tools/compat/../../common/lib/libc/string/strnlen.c:48: error: 
conflicting types for 'strnlen'
/x/current/src/tools/compat/compat_defs.h:419: error: previous declaration of 
'strnlen' was here
*** [strnlen.lo] Error code 1
nbmake[3]: stopped in /x/current/src/tools/compat
1 error
nbmake[3]: stopped in /x/current/src/tools/compat
[...]

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index