[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem compiling: PROT_WRITE etc undeclared

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2001-10-16 20:08:46 CEST

Have you tried my RPM yet or are you doing it manually? You might try
building with my RPM
ftp://summersoft.fay.ar.us/pub/linux/RPMS/src/subversion-M3-r333.src.rpm
and see if it works. That might tell you if it is something in the
environment or not.

Let me know if I can help.

   - David Summers

On Tue, 16 Oct 2001, peter.westlake@arm.com wrote:

> Date: Tue, 16 Oct 2001 17:10:10 +0100
> From: "peter.westlake@arm.com" <peter.westlake@arm.com>
> To: "dev@subversion.tigris.org" <dev@subversion.tigris.org>
> Subject: Problem compiling: PROT_WRITE etc undeclared
>
> I'm getting errors when compiling on RedHat Linux 6.2 (with compiler
> patches).
> Neither the Issues database nor the dev list has anything about this that I
> could find.
>
> Peter.
>
>
> bash$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.95.1/specs
> gcc version 2.95.1 19990816/Linux (release)
> bash$ uname -a
> Linux twooflinux 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 unknown
> bash$ make
>
> ......
>
> make[3]: Entering directory
> `/home/pwestlak/svn/subversion-r202/apr/mmap/unix'
> /bin/sh /home/pwestlak/svn/subversion-r202/apr/libtool --silent
> --mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes
> -Wmissing-declarations -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -DAPR_ASSERT_MEMORY -I../../include -I../../include/arch/unix -c mmap.c
> && touch mmap.lo
> mmap.c: In function `mmap_cleanup':
> mmap.c:94: warning: implicit declaration of function `munmap'
> mmap.c: In function `apr_mmap_create':
> mmap.c:145: `PROT_WRITE' undeclared (first use in this function)
> mmap.c:145: (Each undeclared identifier is reported only once
> mmap.c:145: for each function it appears in.)
> mmap.c:148: `PROT_READ' undeclared (first use in this function)
> mmap.c:151: warning: implicit declaration of function `mmap'
> mmap.c:151: `MAP_SHARED' undeclared (first use in this function)
> mmap.c:151: warning: assignment makes pointer from integer without a cast
> make[3]: *** [mmap.lo] Error 1
> make[3]: Leaving directory
> `/home/pwestlak/svn/subversion-r202/apr/mmap/unix'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/pwestlak/svn/subversion-r202/apr/mmap/unix'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/pwestlak/svn/subversion-r202/apr'
> make: *** [external-all] Error 1
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

-- 
David Wayne Summers          "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:44 2006

This is an archived mail posted to the Subversion Dev mailing list.