i386-gdb-stub compile error And rtems_shell _init error
lee
funnyvoice at tlabs.ac.za
Wed Jul 1 11:13:09 UTC 2009
Hi...
Excuse all the questions all two of them...
1.) When I try to start the rtems shell with:
rtems_shell_init("SHLL",RTEMS_MINIMUM_STACK_SIZE *
4,100,"/dev/console",0,1);
the compiler gives me this warning:
test.c:195: error: too few arguments to function 'rtems_shell_init'
I've checked rtems/shell.h for the correct usage, and this is from a
exact example again... not sure what the problem is... clearly compiling
is using something else as rtems_shell_init or not?
2.) When I try to compile the gdb debugging example given in
i386/shared/comm/GDB-HOWTO , the compiler gives me this error :
opt/rtems-4.10/i386-rtems4.10/pc386/lib/librtemsbsp.a(i386-stub.o): In
function `debug_error':
/opt/rtems/c/src/lib/libbsp/i386/pc386/../../i386/shared/comm/i386-stub.c:575: undefined reference to `remote_debug'
/opt/rtems-4.10/i386-rtems4.10/pc386/lib/librtemsbsp.a(i386-stub.o): In
function `getpacket':
/opt/rtems/c/src/lib/libbsp/i386/pc386/../../i386/shared/comm/i386-stub.c:504: undefined reference to `remote_debug'
/opt/rtems/c/src/lib/libbsp/i386/pc386/../../i386/shared/comm/i386-stub.c:504: undefined reference to `remote_debug'
/opt/rtems-4.10/i386-rtems4.10/pc386/lib/librtemsbsp.a(i386-stub.o): In
function `handle_exception':
/opt/rtems/c/src/lib/libbsp/i386/pc386/../../i386/shared/comm/i386-stub.c:758: undefined reference to `remote_debug'
/opt/rtems/c/src/lib/libbsp/i386/pc386/../../i386/shared/comm/i386-stub.c:808: undefined reference to `remote_debug'
Im busy figuring out what this means... not having much luck... anyone
got any ideas... "extern int remote_debug"?? what is the use for this
variable....
Kind Regards Much Love
Lee
More information about the users
mailing list