From owner-freebsd-ports Thu Jun 27 17:35:35 2002 Delivered-To: freebsd-ports@freebsd.org Received: from CRWdog.demon.co.uk (p69-199.acedsl.com [66.114.69.199]) by hub.freebsd.org (Postfix) with ESMTP id BAC5337B48E for ; Thu, 27 Jun 2002 17:33:53 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by CRWdog.demon.co.uk (Postfix) with ESMTP id 654123E5C; Thu, 27 Jun 2002 20:02:53 -0400 (EDT) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: naddy@mips.inka.de (Christian Weisgerber) Cc: freebsd-ports@FreeBSD.ORG Subject: Re: FreeBSD audio/mad problems In-Reply-To: Message from naddy@mips.inka.de (Christian Weisgerber) of "Tue, 25 Jun 2002 21:42:59 -0000." Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_940843688P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 27 Jun 2002 20:02:52 -0400 From: Andy Sparrow Message-Id: <20020628000253.654123E5C@CRWdog.demon.co.uk> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --==_Exmh_940843688P Content-Type: text/plain; charset=us-ascii > Mario Sergio Fujikawa Ferreira wrote: > > > madtime.c:29: #error "madtime currently requires mmap() support" I see this too on a June 27th -STABLE. > Way weird. Check the output of the configure script ("checking for > working mmap... xxx)" and config.log. The #error above is a failsafe > in case HAVE_MMAP isn't defined. Basically, this situation is > impossible on FreeBSD unless something is seriously broken. There's a conflict in the malloc definition, which prevents the test program from compiling, thus 'configure' believes that this system doesn't have an mmap() implementation, and thus HAVE_MMAP is left commented-out in the config.h file. configure:2578: conflicting types for `malloc' /usr/include/stdlib.h:99: previous declaration of `malloc' andy@omni[55]-> grep malloc x.c extern "C" { void *malloc(unsigned); } char *malloc(); data = (char*)malloc(pagesize); data2 = (char*)malloc(2 * pagesize); data3 = (char*)malloc(pagesize); andy@omni[57]-> grep malloc /usr/include/stdlib.h void *malloc __P((size_t)); andy@omni[58]-> Cheers, AS --==_Exmh_940843688P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQE9G6esPHh895bDXeQRAt1lAKCpxuiQqPGTXwkImXnjOTwHOjlSRQCgvQkI pL+9Z8bOpY8wpFMRIt5WYWQ= =v2bm -----END PGP SIGNATURE----- --==_Exmh_940843688P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message