Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Can't build evbarm
Date: Thu, 25 Jan 2024 20:12:36 +0100
From: Adam <adam%netbsd.org@localhost>
Message-ID: <E355D57B-F01D-4C3F-AC9D-CBB1BACFFED8%netbsd.org@localhost>
| Correct, _LIBC_INTERNAL is not defined for tools/compat.
I wonder what the difference is between your environment, and
a standard build on a NetBSD host.
| MD2Transform() must be defined for MD2Update() in lib/libc/hash/md2/md2.c.
Yes, that I understand.
Try the following patch to src/tools/compat/md2.h and see if that helps
(though I think there should be a better way).
kre
Index: md2.h
===================================================================
RCS file: /cvsroot/src/tools/compat/md2.h,v
retrieving revision 1.2
diff -u -r1.2 md2.h
--- md2.h 27 Oct 2003 00:12:43 -0000 1.2
+++ md2.h 25 Jan 2024 19:59:10 -0000
@@ -1,5 +1,8 @@
/* $NetBSD: md2.h,v 1.2 2003/10/27 00:12:43 lukem Exp $ */
/* We unconditionally use the NetBSD MD2 in libnbcompat. */
+#ifndef _LIBC_INTERNAL
+#define _LIBC_INTERNAL
+#endif
#include "nbtool_config.h"
#include "../../include/md2.h"
Home |
Main Index |
Thread Index |
Old Index