Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mmap() problems in recent -stable ?

0 views
Skip to first unread message

Chris BeHanna

unread,
Jul 7, 2002, 11:41:12 PM7/7/02
to
On Sun, 7 Jul 2002, Ben Lovett wrote:

> Has anyone else noticed mmap() problems in recent -stable builds? On
> systems built recently (between July 4th and July 7th), the port
> audio/mad fails with the following:
>
> cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -I./libid3tag -Iintl -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -Wall -pipe -O -fomit-frame-pointer -c madtime.c
> madtime.c:29: #error "madtime currently requires mmap() support"
> *** Error code 1
>
> I tried to build this port on another system running -stable from late
> April of this year, and succeeded.

This is a bug in the mad port. For reasons unrelated to mmap(),
the configure-time mmap test fails; therefore, HAVE_MMAP doesn't get
defined. I was going to run this down the other night, but it was too
late and my bed was calling.

Have a look at config.log in the work directory. You'll see what
I mean.

--
Chris BeHanna http://www.pennasoft.com
Principal Consultant
PennaSoft Corporation
ch...@pennasoft.com


To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message

Jan Grant

unread,
Jul 8, 2002, 10:04:57 AM7/8/02
to
On Sun, 7 Jul 2002, Chris BeHanna wrote:

> This is a bug in the mad port. For reasons unrelated to mmap(),
> the configure-time mmap test fails; therefore, HAVE_MMAP doesn't get
> defined. I was going to run this down the other night, but it was too
> late and my bed was calling.
>
> Have a look at config.log in the work directory. You'll see what
> I mean.

There was a very similar problem recently with the openssh port's
configure; could be that there's stock configure code knocking around
that doesn't include <sys/types.h> before <sys/mman.h>


--
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan....@bris.ac.uk
printf 'cat\nhello world' | `sh -c 'read c; echo $c'`

Leo De Geer

unread,
Jul 8, 2002, 1:51:00 PM7/8/02
to
On Mondayen den 8 July 2002 18.33, Ben Lovett wrote:
> I believe figmentality (ro...@ennui.org) scribbled this:

> > Ben Lovett writes:
> > cc -DHAVE_CONFIG_H -I. -I. -I. -Ilibmad -I./libid3tag -Iintl
> > -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -Wall
> > -pipe -O -fomit-frame-pointer -c madtime.c madtime.c:29: #error "madtime
> > currently requires mmap() support" *** Error code 1
> >
> > Please see
> > <http://groups.google.com/groups?selm=ag5nh4%242vvu%241%40FreeBSD.csie.NC
> >TU.edu.tw> for a patch. I tried it and it solved the problem.
> >
> > rone
>
> That worked. Thanks :)
>
> -ben

>
> To Unsubscribe: send mail to majo...@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

did you yast use the patch because i get error in the makefile Need an
operand on line 46 thats the last line in the patch

regards leo

0 new messages