This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: configtool error
- From: Bart Veer <bartv at ecoscentric dot com>
- To: vikramb at aftek dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 19 Jul 2005 11:16:13 +0100 (BST)
- Subject: Re: [ECOS] configtool error
- References: <32902.59.95.0.44.1121676725.squirrel@59.95.0.44>
>>>>> "vikram" == vikramb <vikramb@aftek.com> writes:
vikram> hi all,
vikram> I downloaded configtool-2.11-i386.tar.bz2 for linux
vikram> and when i try to do ./configtool
vikram> I got following error
vikram> Incorrectly built binary which accesses errno or h_errno
vikram> directly. Needs to be fixed.
vikram> ./configtool: error while loading shared libraries:
vikram> /usr/lib/libtcl.so: invalid ELF header
vikram> I am trying it for i386 and i have Mandrake 10.0 with
vikram> linux kernel 2.6.... I have ecos-2.0 source and RPMS for
vikram> i386-elf
I suspect the errno issue is just a warning and can be ignored. The
configtool and underlying libcdl do use errno but this is harmless in
a single-threaded application, so I consider it inappropriate for the
loader to complain about it.
The libtcl.so problem is the real issue. This file should come from
the Tcl package of your Linux distribution. It looks like the package
has either not been installed correctly, or it has been corrupted
somehow, or Mandrake is shipping with a broken version of Tcl. You
will need to fix your Linux installation. I do not run Mandrake on any
of my machines so cannot test this further.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss