[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getpagesize mixup during build
- Date: Thu, 24 Sep 2009 06:14:07 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: getpagesize mixup during build
Peter Dufault wrote:
> I see a conflict between the code and the headers, with the code
> wrong, unless something is wrong with my setup. I cvs updated before
> this report.
>
>
Fixed in CVS. Please update.
--joel
> During build:
> ../../../../../../rtems-4.9.99.0/c/src/../../cpukit/posix/src/
> getpagesize.c:19: error: conflicting types for 'getpagesize'
> /opt/rtems-4.10/lib/gcc/powerpc-rtems4.10/4.4.1/../../../../powerpc-
> rtems4.10/include/sys/unistd.h:84: note: previous declaration of
> 'getpagesize' was here
>
> Man page:
> int getpagesize(void);
>
> Source:
> size_t getpagesize(void)
>
> Header:
> int _EXFUN(getpagesize, (void));
> -rw-r--r-- 1 root root 18159 2009-09-22 12:15 /opt/rtems-4.10/lib/gcc/
> powerpc-rtems4.10/4.4.1/../../../../powerpc-rtems4.10/include/sys/
> unistd.h
>
> Peter
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>