Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2009 00:51:00 -0500
From:      Alan Cox <alc@cs.rice.edu>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Alan Cox <alc@FreeBSD.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r197331 - in head: lib/libc/gen sys/sys
Message-ID:  <4AB5C2C4.2010405@cs.rice.edu>
In-Reply-To: <4AB5BF46.9040006@FreeBSD.org>
References:  <200909191801.n8JI1Wq8031864@svn.freebsd.org> <4AB5BF46.9040006@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote:
> I'm getting this even after 'make cleandir':
>
> cc -O2 -pipe -g  -I/usr/local/src/lib/libc/include
> -I/usr/local/src/lib/libc/../../include -I/usr/local/src/lib/libc/i386
> -DNLS -D__DBINTERFACE_PRIVATE
> -I/usr/local/src/lib/libc/../../contrib/gdtoa -DINET6
> -I/usr/local/obj/usr/local/src/lib/libc
> -I/usr/local/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE
> -I/usr/local/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
> -I/usr/local/src/lib/libc/rpc -DNS_CACHING -DSYMBOL_VERSIONING -g
> -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall
> -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c
> /usr/local/src/lib/libc/gen/getpagesizes.c
> /usr/local/src/lib/libc/gen/getpagesizes.c: In function 'getpagesizes':
> /usr/local/src/lib/libc/gen/getpagesizes.c:51: error: 'MAXPAGESIZES'
> undeclared (first use in this function)
> /usr/local/src/lib/libc/gen/getpagesizes.c:51: error: (Each undeclared
> identifier is reported only once
> /usr/local/src/lib/libc/gen/getpagesizes.c:51: error: for each
> function it appears in.)
> cc1: warnings being treated as errors
> /usr/local/src/lib/libc/gen/getpagesizes.c:51: warning: unused
> variable 'ps'
> *** Error code 1
>
> Stop in /usr/local/src/lib/libc.
>
>
> Anything I'm missing?
>
>   

I think that you need to update your includes directory.  I added 
MAXPAGESIZES to the machine-specific param.h yesterday.

Regards,
Alan





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