04-17-2012
thank you
now wheres that thank-you button?
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all!
Could anybody tell me what this means?
# /usr/local/sbin/sshd
ld.so.1: /usr/local/sbin/sshd: fatal: /usr/local/lib/libcrypto.so.0.9.6: bad ELF flags value: 256
Killed
Thanx (1 Reply)
Discussion started by: penguin-friend
1 Replies
2. Linux
Hello,
This is not exactly relevant to Linux kernel but I'm gonna ask any way.
Is there any way I can modify a 64-bit ELF object file to make it look like 32-bit ELF object file and link it (using `ld`) with 32-bit ELF file?
I tried libelf but was unsuccessful. I had this pretty link... (1 Reply)
Discussion started by: tejuwala
1 Replies
3. UNIX for Dummies Questions & Answers
I have a few questions about elf files and how they are executed.
When gcc compiles a elf file it creates an executable. Is this executable then run directly by the hardware or does the kernel get involved, interpret the elf file and place the asm code directly in memory.
Cheers (0 Replies)
Discussion started by: mshindo
0 Replies
4. Programming
hello everybody!
I want to read the string table of an object file(which is in ELF format).
I get the sh_name value but i cant find a way to read the value in the string table that this index represent. I program in C.
thanx a lot folks! (3 Replies)
Discussion started by: nicos
3 Replies
5. Solaris
Hi Anyone,
I have two disks , one is primary and anothe is mirror.
I checked my mirror disk , It was fine.
After that i booted from my primary disk, did some installations regarding kernel patches.
It did not get booted properly. It says
====================
Not a valid... (2 Replies)
Discussion started by: jegaraman
2 Replies
6. BSD
Anyone, perhaps got DG/UX ELF binaries running on an old *BSD system?
I've tried a lot of different kinds, with COMPAT_SVR4 compiled in and ibcs support, all ended up with Segement Fault or Bus Error errors. (2 Replies)
Discussion started by: dgux
2 Replies
7. Programming
Hi!!! How do I create a file .ELF? What code should I use, could help me with a simple code or example? I know programming to Windows by important languages but this seems to be more sistematical, and I really don't know how to. (2 Replies)
Discussion started by: linecoder
2 Replies
8. Solaris
guys anyone knows a solution for this?
wrong ELF class: ELFCLASS64
pwrcard:cms-dev:/pcard16/pwrcard/src/interfaces/interface_host>isainfo -v
64-bit sparcv9 applications
vis2 vis
32-bit sparc applications
vis2 vis v8plus div32 mul32... (1 Reply)
Discussion started by: q8devilish
1 Replies
LEARN ABOUT NETBSD
gelf_checksum
GELF_CHECKSUM(3) BSD Library Functions Manual GELF_CHECKSUM(3)
NAME
elf32_checksum, elf64_checksum, gelf_checksum -- return the checksum of an ELF object
LIBRARY
ELF Access Library (libelf, -lelf)
SYNOPSIS
#include <libelf.h>
long
elf32_checksum(Elf *elf);
long
elf64_checksum(Elf *elf);
#include <gelf.h>
long
gelf_checksum(Elf *elf);
DESCRIPTION
These functions return a simple checksum of the ELF object described by their argument elf. The checksum is computed in way that allows its
value to remain unchanged in presence of modifications to the ELF object by utilities like strip(1).
Function elf32_checksum() returns a checksum for an ELF descriptor elf of class ELFCLASS32.
Function elf64_checksum() returns a checksum for an ELF descriptor elf of class ELFCLASS64.
Function gelf_checksum() provides a class-independent way retrieving the checksum for ELF object elf.
RETURN VALUES
These functions return the checksum of the ELF object, or zero in case an error was encountered.
ERRORS
These functions may fail with the following errors:
[ELF_E_ARGUMENT] Argument elf was NULL.
[ELF_E_ARGUMENT] Argument elf was not a descriptor for an ELF file.
[ELF_E_ARGUMENT] The ELF descriptor elf was not opened for reading or updating.
[ELF_E_CLASS] For functions elf32_checksum() and elf64_checksum(), ELF descriptor elf did not match the class of the called function.
[ELF_E_HEADER] The ELF object specified by argument elf had a malformed executable header.
[ELF_E_RESOURCE] An out of memory condition was detected during processing.
[ELF_E_SECTION] The ELF object specified by argument elf contained a section with a malformed section header.
[ELF_E_VERSION] The ELF object was of an unsupported version.
SEE ALSO
strip(1), elf(3), gelf(3)
BSD
August 29, 2006 BSD