NetBSD Problem Report #10344
Received: (qmail 29231 invoked from network); 12 Jun 2000 14:07:43 -0000
Message-Id: <E131NUn-0002H9-00@tortuga.tsuga.net>
Date: Sun, 11 Jun 2000 23:14:49 -0700
From: collver@softhome.net
Reply-To: collver@softhome.net
To: gnats-bugs@gnats.netbsd.org
Subject: timidity-0.2i build problem
X-Send-Pr-Version: 3.95
>Number: 10344
>Category: pkg
>Synopsis: timidity-0.2i build problem and fix
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 12 14:09:00 +0000 2000
>Closed-Date: Fri Jul 28 21:49:02 +0000 2000
>Last-Modified: Fri Jul 28 21:49:02 +0000 2000
>Originator: Ben Collver
>Release: 1.4.2
>Organization:
Siskiyou
>Environment:
System: NetBSD tortuga 1.4.2 NetBSD 1.4.2 (TORTUGA) #0: Sat Jun 10 16:26:13 PDT 2000 root@tortuga:/usr/src/sys/arch/i386/compile/TORTUGA i386
>Description:
The build of timidity-0.2i from 6/10/00 pkgsrc fails because the
patched config.h includes /usr/include/machine/endian.h but not
/usr/include/machine/types.h. Here is the relative portion of
the build output:
cc -O2 -Wall -O3 -fomit-frame-pointer -funroll-loops -ffast-math -DDEFAULT_PATH=\"/usr/pkg/lib/timidity\" -DTIMID_VERSION=\"0.2i\" -DAU_SUN -DIA_NCURSES -DTCLTK -DWISH=\"wish8.0\" -DTKPROGPATH=\"/usr/pkg/lib/timidity/tkmidity.tcl\" -I/usr/pkg/include -c controls.c
In file included from config.h:190,
from controls.c:24:
/usr/include/machine/endian.h:97: syntax error before `in_addr_t'
/usr/include/machine/endian.h:97: warning: data definition has no type or storage class
/usr/include/machine/endian.h:98: syntax error before `in_port_t'
/usr/include/machine/endian.h:98: warning: data definition has no type or storage class
/usr/include/machine/endian.h:101: syntax error before `htonl'
/usr/include/machine/endian.h:101: warning: parameter names (without types) in function declaration
/usr/include/machine/endian.h:101: warning: data definition has no type or storage class
/usr/include/machine/endian.h:102: syntax error before `htons'
/usr/include/machine/endian.h:102: warning: parameter names (without types) in function declaration
/usr/include/machine/endian.h:102: warning: data definition has no type or storage class
/usr/include/machine/endian.h:103: syntax error before `ntohl'
/usr/include/machine/endian.h:103: warning: parameter names (without types) in function declaration
/usr/include/machine/endian.h:103: warning: data definition has no type or storage class
/usr/include/machine/endian.h:104: syntax error before `ntohs'
/usr/include/machine/endian.h:104: warning: parameter names (without types) in function declaration
/usr/include/machine/endian.h:104: warning: data definition has no type or storage class
In file included from controls.c:24:
config.h:227: syntax error before `uint32'
config.h:227: warning: type defaults to `int' in declaration of `uint32'
config.h:227: warning: data definition has no type or storage class
config.h:228: syntax error before `int32'
config.h:228: warning: type defaults to `int' in declaration of `int32'
config.h:228: warning: data definition has no type or storage class
config.h:229: syntax error before `uint16'
config.h:229: warning: type defaults to `int' in declaration of `uint16'
config.h:229: warning: data definition has no type or storage class
config.h:230: syntax error before `int16'
config.h:230: warning: type defaults to `int' in declaration of `int16'
config.h:230: warning: data definition has no type or storage class
config.h:231: syntax error before `uint8'
config.h:231: warning: type defaults to `int' in declaration of `uint8'
config.h:231: warning: data definition has no type or storage class
config.h:232: syntax error before `int8'
config.h:232: warning: type defaults to `int' in declaration of `int8'
config.h:232: warning: data definition has no type or storage class
config.h:292: syntax error before `sample_t'
config.h:292: warning: type defaults to `int' in declaration of `sample_t'
config.h:292: warning: data definition has no type or storage class
config.h:293: syntax error before `final_volume_t'
config.h:293: warning: type defaults to `int' in declaration of `final_volume_t'
config.h:293: warning: data definition has no type or storage class
In file included from controls.c:25:
controls.h:67: syntax error before `*'
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
>How-To-Repeat:
>Fix:
--- config.h.orig Sun Jun 11 22:53:51 2000
+++ config.h Sun Jun 11 22:53:24 2000
@@ -187,6 +187,7 @@
/* Byte order, defined in <machine/endian.h> for FreeBSD and DEC OSF/1 */
#if defined(DEC) || defined(__NetBSD__)
+#include <machine/types.h>
#include <machine/endian.h>
#endif
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jlam
State-Changed-When: Fri Jul 28 14:48:24 PDT 2000
State-Changed-Why:
Fix applied, but with <sys/type.h> instead. Thanks for the PR!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.