Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 20:02:52 -0400
From:      Andy Sparrow <spadger@best.com>
To:        naddy@mips.inka.de (Christian Weisgerber)
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: FreeBSD audio/mad problems 
Message-ID:  <20020628000253.654123E5C@CRWdog.demon.co.uk>
In-Reply-To: Message from naddy@mips.inka.de (Christian Weisgerber)  of "Tue, 25 Jun 2002 21:42:59 -0000." <afao53$cbe$1@kemoauc.mips.inka.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_940843688P
Content-Type: text/plain; charset=us-ascii

> Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020628000253.654123E5C>