A small conflict in sbrk.c?

leonp at plris.com leonp at plris.com
Thu Feb 17 04:19:52 UTC 2000


Hello, all.
         I tried to compile the rtems-ss-20001202 for mbx860_002 bsp with 
my current tools (binutils 2.9.5.0.24-1, gcc-2.95.2newlib1.8.2.7).
         The compilation stooped at compilation of file 
/c/src/lib/libbsp/shared/sbrk.c: the definition

void * sbrk(ptrdiff_t incr)

of the type of the parameter conflicts with the definition of sbrk in file 
/opt/rtems/powerpc-rtems/include/sys/unistd.h.
         After I have changed the first definition to the definition in 
unistd.h, everything compiled O'K.

         Best Regards


Leon Pollak
leonp at plris.com




More information about the users mailing list