Cannot start sparc-rtems-gdb (RTEMS 4.8)
daniel at gaisler.com
daniel at gaisler.com
Mon Sep 15 01:27:34 UTC 2008
Hi,
The GDB in RCC-1.1.x is built with libreadline as a shared library
wheras GDB in RCC-1.0.x is built with libreadline statically linked.
This only in the Linux version. In the next release of RCC-1.1.x GDB
will be compiled with libreadline linked into the GDB binary as in
RCC-1.0.x.
In the mean while you can use either recompile GDB your self or install
libreadline (symbolic link to newer libreadline may be enough if
already installed)
Daniel
Quoting Jiri Gaisler <jiri at gaisler.com>:
>
> sparc-rtems-gdb has not (much) to do with the rtems kernel,
> your problem is that you system does not have the same version
> of libreadline as was used to build the gdb binary. Either
> re-build gdb on your own host or try with the sparc-rtems-gdb
> version from rtems.com.
>
> Jiri.
>
> J R wrote:
> > Hi,
> >
> > I'm using the RCC cross-compilation system from Gaisler Research.
> > I have just upgraded from RCC-1.0.12 (RTEMS 4.6) to RCC-1.1.0 (RTEMS 4.8).
> > It seemed to get well installed, because I could compile one of the samples
> > provided with sparc-rtems-gcc.
> >
> > However, I couldn't execute sparc-rtems-gdb, which gives me this error
> message:
> >
> > "sparc-rtems-gdb: error while loading shared libraries: libreadline.so.4:
> cannot
> > open shared object file: No such file or directory"
> >
> > Is the installation of RCC-1.1.0 different from RCC-1.0.12?
> > Do I need to add the installation of RTEMS source + build RTEMS from source
> > (which was not required with RCC-1.0.12)?
> > Or am I missing something with gdb or else?
> >
> > Any help would be appreciated.
> >
> > Thanks.
> >
> > J R
> > _______________________________________________
> > rtems-users mailing list
> > rtems-users at rtems.com
> > http://rtems.rtems.org/mailman/listinfo/rtems-users
> >
> >
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
More information about the users
mailing list