HEAD fails on building pc386 BSP.
Karel Gardas
karel.gardas at centrum.cz
Tue Oct 7 21:00:03 UTC 2014
Hello,
I'm trying to build HEAD with latest toolchain available from ftp's
SOURCES directory (RSB is not working yet for me) on Solaris 11 and
while I configured pc386 BSP with:
~/vcs/rtems/configure --target=i386-rtems4.11
--prefix=/export/home/karel/sfw/rtems-4.11-2014-10-07/bsps/pc386-qemu
--disable-multiprocessing --disable-cxx --disable-rdbg
--enable-maintainer-mode --enable-tests --enable-networking
--enable-posix --disable-itron --disable-deprecated --disable-ada
--disable-expada --enable-rtemsbsp=pc386 USE_COM1_AS_CONSOLE=1
BSP_PRESS_KEY_FOR_RESET=0
taken from the http://www.rtems.org/wiki/index.php/QEMU. It looks like
the build fails on shell's ping:
i386-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I..
-I../../cpukit/../../../pc386/lib/include
-I/export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/shell
-mtune=i386 -O2 -g -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
shell/libshell_a-main_ping.o -MD -MP -MF
shell/.deps/libshell_a-main_ping.Tpo -c -o shell/libshell_a-main_ping.o
`test -f 'shell/main_ping.c' || echo
'/export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/'`shell/main_ping.c
/export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/shell/main_ping.c:
In function ‘g_finish’:
/export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/shell/main_ping.c:348:54:
error: expected declaration specifiers before ‘__dead2’
static void g_finish(rtems_shell_globals_t* globals) __dead2;
^
/export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/shell/main_ping.c:351:13:
error: storage class specified for parameter ‘g_pinger’
static void g_pinger(rtems_shell_globals_t* globals);
^
/export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/shell/main_ping.c:354:14:
error: storage class specified for parameter ‘g_pr_addr’
static char *g_pr_addr(struct in_addr, rtems_shell_globals_t* globals);
^
/export/home/karel/vcs/rtems/c/src/../../cpukit/libmisc/shell/main_ping.c:357:13:
error: storage class specified for parameter ‘g_pr_pack’
static void g_pr_pack(char *, int, struct sockaddr_in *, struct
timeval *, rtems_shell_globals_t* globals);
^
[....]
is there any workaround for this issue already?
Thanks!
Karel
More information about the devel
mailing list