posix error with gcc3.0

Jerry Needell jerry.needell at unh.edu
Wed Jun 20 14:23:00 UTC 2001


I get the following error when building the 20010525 snapshot with
gcc-3.0-20010614 if I use --enable-posix.  This seems like it may be
something of general interest. Anyone know waht is going on here?
- Jerry
-- 
_______________________________________________________________________
Jerry Needell                     | Internet: jerry.needell at unh.edu
Space Science Center/Morse Hall   | Voice: (603) 862 2732
University Of New Hampshire       | FAX:   (603) 862 0311
Durham, NH 03824                  |
-------------- next part --------------
sparc-rtems-gcc --pipe -B../../../../../ -B../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall  -ansi -fasm  -mcpu=cypress         -c -DHAVE_CONFIG_H -I.  -D__RTEMS_INSIDE__  -O4 -o o-optimize/mqueuenotify.o ../../../../../../../rtems-ss-20010525/c/src/exec/posix/src/mqueuenotify.c
sparc-rtems-gcc --pipe -B../../../../../ -B../../../../../erc32/lib/ -specs bsp_specs -qrtems -g -Wall  -ansi -fasm  -mcpu=cypress         -c -DHAVE_CONFIG_H -I.  -D__RTEMS_INSIDE__  -O4 -o o-optimize/mqueueopen.o ../../../../../../../rtems-ss-20010525/c/src/exec/posix/src/mqueueopen.c
../../../../../../../rtems-ss-20010525/c/src/exec/posix/src/mqueueopen.c: In function `mq_open':
../../../../../../../rtems-ss-20010525/c/src/exec/posix/src/mqueueopen.c:60: `mode_t' is promoted to `int' when passed through `...'
../../../../../../../rtems-ss-20010525/c/src/exec/posix/src/mqueueopen.c:60: (so you should pass `int' not `mode_t' to `va_arg')
gmake[5]: *** [o-optimize/mqueueopen.o] Error 1
gmake[5]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/exec/posix/src'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/exec/posix'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32/exec'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c/erc32'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/needell/rtems/tools/build-sparc-rtems/sparc-rtems/c'
gmake: *** [all-recursive] Error 1
ERROR: failed gmake all.
./bit_rtems: exit: bad non-numeric arg `./bit_rtems'


More information about the users mailing list