Cannot find ELF

From: Andreas Hoeschler (ahoesch@smartsoft.de)
Date: Wed Aug 20 2003 - 08:27:26 EDT


Dear managers,

> while building tetex on a SunFire 280R with Solaris 8 installed I get
>
> kpsewhich: Cannot find ELF
> kpsewhich: Cannot find ELF
> kpsewhich: Cannot find ELF
> kpsewhich: Cannot find ELF
> kpsewhich: Cannot find ELF
> kpsewhich: Cannot find ELF
> kpsewhich: Cannot find ELF
> kpsewhich: Cannot find ELF
> kpsewhich: Cannot find ELF
> kpsewhich: Cannot find ELF
> kpsewhich: Cannot find ELF
> fmtutil: config file `fmtutil.cnf' not found.
> make: *** [install] Error 255
>
> What does "Cannot find ELF" mean? How can this be fixed?

I haven't solved the problem yet but found more and interesting info.
The sun strip seems to be broken somehow. I wrote a file hello.c

#include <stdio.h>

int main()
{
         printf("Hello World!\n");
         exit(0);
         return 0;
}

and then did:

bash-2.03$ gcc -B/usr/ccs/bin -o hello hello.c
bash-2.03$ ./hello
Hello World!

bash-2.03$ strip hello
BFD: stmRa49S: warning: allocated section `.interp' not in segment
bash-2.03$ ./hello
hello: Cannot find ELF
Killed

bash-2.03$ strip hello
bash-2.03$ ./hello
Hello World!

These "... not in segmen" messages appeared ofetn during building tetex
so it must be related. Any idea how to fix that or what the above
results mean?

Regards,

    Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:57 EDT