ELF file OS ABI error in shared library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

I tried recompiling the arm-linux-gcc cross tool with
my own files and updates. I got a warning message
during the configure phase and an error when i ran
make.
Also i used the debian crosstool library as my shared
library which worked for me when i first built it. 

The library is the directory

"/mymachine/arm-deb/bins/lib/"

any command (like "ls") other than "cd" in library
directory shows the error

ls: error while loading shared libraries: libc.so.6: 
ELF file OS ABI invalid

---------------------------------------------------------
warning information during "configure"
---------------------------------------------------------

*** This configuration is not supported in the
following subdirectories:
     target-libstdc++-v3 target-libf2c target-libffi
target-boehm-gc target-zlib target-libjava zlib
fastjar target-libobjc
    (Any other directories should still work fine.)
------------------------------------------------------
Copying /mymachine/arm-deb/bins/lib/ to
/mymachine/arm-deb/bins//arm-linux/lib


tar: error while loading shared libraries: libc.so.6: 
ELF file OS ABI invalid
------------------------------------------------------

Copying /mymachine/arm-deb/bins/include/ to
/mymachine/arm-deb/bins//arm-linux/sys-include
....


----------------------------------------------------------
Error during the make phase
----------------------------------------------------------


In file included from
/mymachine/arm-deb/bins/include/bits/posix1_lim.h:130,
                 from
/mymachine/arm-deb/bins/include/limits.h:144,
                 from
/mymachine/arm-deb/install/gcc/gcc/include/limits.h:122,
                 from
/mymachine/arm-deb/install/gcc/gcc/include/syslimits.h:7,
                 from
/mymachine/arm-deb/install/gcc/gcc/include/limits.h:11,
                 from
../../../gcc-3.3/gcc/tsystem.h:93,
                 from
../../../gcc-3.3/gcc/crtstuff.c:62:
/mymachine/arm-deb/bins/include/bits/local_lim.h:36:26:
linux/limits.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory
`/mymachine/arm-deb/install/gcc/gcc'
make: *** [all-gcc] Error 2

I would appreciate any kind of help.

regards
kripa




		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux