Need Help building libcsupport on Solaris 10/sun4u
jonathan.kalbfeld at gmail.com
jonathan.kalbfeld at gmail.com
Mon May 15 23:12:05 UTC 2006
Hello,
I have my build tools in /export/rtems-4.6 (not opt) and I already
edited make/custom/Solaris-posix.cfg to add -D__EXTENSIONS__
What other things do I have to do make it finish? I'm investigating
the feasibility of using RTEMS instead of VxWorks!
Here's where it is hanging up:
Making all in libcsupport
gmake[4]: Entering directory
`/home/jonathan/rtems/4.6-work/c/posix/exec/libcsupport'
gcc --pipe -DHAVE_CONFIG_H -isystem ../../../.././posix/lib/include
-Isrc -Dsolaris2 -D__EXTENSIONS__ -O2 -g -Wall -o
o-optimize/termios.o -c
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:
In function `rtems_termios_ioctl':
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:628:
error: `u_int32_t' undeclared (first use in this function)
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:628:
error: (Each undeclared identifier is reported only once
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:628:
error: for each function it appears in.)
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:628:
error: parse error before numeric constant
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:628:
error: parse error before "sizeof"
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:643:
error: break statement not within loop or switch
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:644:
error: parse error before numeric constant
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:644:
error: parse error before "sizeof"
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:646:
error: break statement not within loop or switch
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:648:
error: parse error before numeric constant
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:648:
error: parse error before "sizeof"
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:651:
error: `rawnc' undeclared (first use in this function)
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:
At top level:
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:656:
error: parse error before "break"
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:658:
error: parse error before '->' token
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:658:
warning: type defaults to `int' in declaration of
`rtems_semaphore_release'
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:658:
error: conflicting types for 'rtems_semaphore_release'
../../../.././posix/lib/include/rtems/rtems/sem.h:161: error: previous
declaration of 'rtems_semaphore_release' was here
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:658:
error: conflicting types for 'rtems_semaphore_release'
../../../.././posix/lib/include/rtems/rtems/sem.h:161: error: previous
declaration of 'rtems_semaphore_release' was here
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:658:
warning: data definition has no type or storage class
../../../../../rtems-4.6.6/c/src/../../cpukit/libcsupport/src/termios.c:659:
error: parse error before '->' token
gmake[4]: *** [o-optimize/termios.o] Error 1
gmake[4]: Leaving directory
`/home/jonathan/rtems/4.6-work/c/posix/exec/libcsupport'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/jonathan/rtems/4.6-work/c/posix/exec'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/jonathan/rtems/4.6-work/c/posix'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/jonathan/rtems/4.6-work/c'
gmake: *** [all-recursive] Error 1
--
--
Jonathan Kalbfeld
+1 323 620 6682
More information about the users
mailing list