Error Reading Elf Section Data
Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva depmod: error reading ELF section data User Name Remember Me? Password Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 02-12-2004, 11:51 AM #1 Commish66 LQ Newbie Registered: Sep 2003 Location: Victoria BC Distribution: Mandrake 9.1 Posts: 28 Rep: depmod: error reading ELF section data I have a Nvida card, a lot of work & I have it working in 9.2, happy camper During start-up i see this error message from my /var/log/boot.log: Feb 9 19:21:08 localhost depmod: depmod: Feb 9 19:21:08 localhost depmod: error reading ELF section data /lib/modules/2.4.22-10mdk/kernel/3rdparty/mod _dvb/frontends/tda1004x.o.gz: Success Feb 9 19:21:08 localho
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack http://www.linuxquestions.org/questions/mandriva-30/depmod-error-reading-elf-section-data-145288/ Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Reading the contents of an ELF section(programmatically) up vote 3 down vote favorite 1 I am trying to retrieve the contents of an additional http://stackoverflow.com/questions/29052125/reading-the-contents-of-an-elf-sectionprogrammatically section within an ELF binary. At this point, I'm using the following code to retrieve the name of each section: #include
Sign in Pricing Blog Support Search GitHub This repository Watch 33 Star 1 Fork 5 SparkPost/gimli https://github.com/SparkPost/gimli/blob/master/elf-read.c Code Issues 0 Pull requests 1 Projects 0 Pulse Graphs Permalink Branch: master Switch branches/tags Branches Tags master wdb Nothing to show 1.1.54 1.1.53 1.1.52 http://docs.oracle.com/cd/E19253-01/816-5172/elf-getdata-3elf/index.html 1.1.51 1.1 1.0 Nothing to show Find file Copy path gimli/elf-read.c Fetching contributors… Cannot retrieve contributors at this time Raw Blame History 515 lines (445 sloc) error reading 13.1 KB /* * Copyright (c) 2009 Message Systems, Inc. All rights reserved * For licensing information, see: * https://bitbucket.org/wez/gimli/src/tip/LICENSE */ #ifndef __MACH__ #include "impl.h" /* on-disk data types */ typedef uint32_t elf32_addr_t; typedef uint32_t elf32_off_t; typedef uint16_t elf32_half_t; typedef uint32_t elf32_word_t; typedef int32_t elf32_sword_t; typedef uint64_t elf64_addr_t; typedef uint64_t elf64_off_t; typedef error reading elf uint16_t elf64_half_t; typedef uint32_t elf64_word_t; typedef int32_t elf64_sword_t; typedef uint64_t elf64_xword_t; typedef int64_t elf64_sxword_t; struct elf32_ehdr { elf32_half_t e_type, e_machine; elf32_word_t e_version; elf32_addr_t e_entry; elf32_off_t e_phoff, e_shoff; elf32_word_t e_flags; elf32_half_t e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum, e_shstrndx; }; struct elf64_ehdr { elf64_half_t e_type, e_machine; elf64_word_t e_version; elf64_addr_t e_entry; elf64_off_t e_phoff, e_shoff; elf64_word_t e_flags; elf64_half_t e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum, e_shstrndx; }; struct elf32_shdr { elf32_word_t sh_name, sh_type, sh_flags; elf32_addr_t sh_addr; elf32_off_t sh_offset; elf32_word_t sh_size, sh_link, sh_info, sh_addralign, sh_entsize; }; struct elf64_shdr { elf64_word_t sh_name, sh_type; elf64_xword_t sh_flags; elf64_addr_t sh_addr; elf64_off_t sh_offset; elf64_xword_t sh_size; elf64_word_t sh_link, sh_info; elf64_xword_t sh_addralign, sh_entsize; }; struct elf32_sym { elf32_word_t st_name; elf32_addr_t st_value; elf32_word_t st_size; uint8_t st_info, st_other; elf32_half_t st_shndx; }; struct elf64_sym { elf64_word_t st_name; uint8_t st_info, st_other; elf64_half_t st_shndx; elf64_addr_t st_value; elf64_xword_t st_size; }; struct elf32_phdr { elf32_word_t p_type; elf32_off_t p_offset; elf32_addr_t p_vaddr, p_paddr; elf32_word_t p_filesz, p_memsz, p_flags, p_align; }; struct elf64_phdr { elf64_word_t p_type, p_flags; elf64_off_t p_of
| Attributes | See Also Name elf_getdata, elf_newdata, elf_rawdata– get section data Synopsis cc [ flag ... ] file ... -lelf [ library ... ] #include