[Dwarf-Discuss] error building libdwarf

Neila Radhid neila.rachid at yahoo.fr
Wed Sep 29 02:27:40 PDT 2010


Hi,
I'm using ubuntu 10.04 and when I build libdwarf
I get this message:
gcc -g -O2 -I. -I.   -c -o dwarf_elf_access.o dwarf_elf_access.c

dwarf_elf_access.c: In function ‘dwarf_elf_object_access_internals_init’:

dwarf_elf_access.c:146: warning: assignment makes pointer from integer without a cast

dwarf_elf_access.c:177: warning: assignment makes pointer from integer without a cast

dwarf_elf_access.c: In function ‘dwarf_elf_object_access_get_section_info’:

dwarf_elf_access.c:248: error: ‘Elf_Scn’ undeclared (first use in this function)

dwarf_elf_access.c:248: error: (Each undeclared identifier is reported only once

dwarf_elf_access.c:248: error: for each function it appears in.)

dwarf_elf_access.c:248: error: ‘scn’ undeclared (first use in this function)

dwarf_elf_access.c:290: warning: assignment makes pointer from integer without a cast

dwarf_elf_access.c: In function ‘dwarf_elf_object_access_load_section’:

dwarf_elf_access.c:842: error: ‘Elf_Scn’ undeclared (first use in this function)

dwarf_elf_access.c:842: error: ‘scn’ undeclared (first use in this function)

dwarf_elf_access.c:843: error: ‘Elf_Data’ undeclared (first use in this function)

dwarf_elf_access.c:843: error: ‘data’ undeclared (first use in this function)

make: *** [dwarf_elf_access.o] Error 1
how can I fix it?
Thanks





      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dwarfstd.org/private.cgi/dwarf-discuss-dwarfstd.org/attachments/20100929/293cc934/attachment-0001.htm>


More information about the Dwarf-Discuss mailing list