From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from danbala.ifoer.tuwien.ac.at (danbala.ifoer.tuwien.ac.at [128.130.168.64]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id r27JSR9o021732 for ; Thu, 7 Mar 2013 14:28:27 -0500 (EST) Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116) id CD21F39035A; Thu, 7 Mar 2013 20:28:24 +0100 (CET) Date: Thu, 7 Mar 2013 20:28:24 +0100 From: Thomas Klausner To: discuss@mdocml.bsd.lv Subject: betoh64 Message-ID: <20130307192824.GT26635@danbala.tuwien.ac.at> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi! The latest release, 1.12.1, from last March doesn't build on NetBSD because of apropos_db.c: In function ‘btree_read’: apropos_db.c:181:2: warning: implicit declaration of function ‘betoh64’ ... cc -o apropos apropos.o apropos_db.o manpath.o libmandoc.a apropos_db.o: In function `btree_read': /tmp/mdocml-1.12.1/apropos_db.c:181: undefined reference to `betoh64' /tmp/mdocml-1.12.1/apropos_db.c:182: undefined reference to `betoh64' *** Error code 1 config.h just has #if defined(__APPLE__) # define htobe32(x) OSSwapHostToBigInt32(x) # define betoh32(x) OSSwapBigToHostInt32(x) # define htobe64(x) OSSwapHostToBigInt64(x) # define betoh64(x) OSSwapBigToHostInt64(x) #elif defined(__linux__) # define betoh32(x) be32toh(x) # define betoh64(x) be64toh(x) #endif and the Makefile assumes this macro must exist. I saw on cvsweb that the current source does not contain the file apropos_db.c any longer. Does anyone have a patch for 1.12.1? Or is it perhaps time for an 1.13 release? Cheers, Thomas -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv