getpagesize mixup during build
Joel Sherrill
joel.sherrill at OARcorp.com
Thu Sep 24 11:14:07 UTC 2009
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
>
More information about the users
mailing list