lkml.org 
[lkml]   [1997]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectProblems with modutils 2.1.34 on 2.1.40 kernel.

The subject says ot all - I get the following :-

make -C util install-bin
make[1]: Entering directory `/djw/gz/modutils-2.1.34/util'
make[1]: Nothing to be done for `install-bin'.
make[1]: Leaving directory `/djw/gz/modutils-2.1.34/util'
make -C obj install-bin
make[1]: Entering directory `/djw/gz/modutils-2.1.34/obj'
gcc -O2 -Wall -I../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_i386.h"'
-c -o obj_common.o obj_common.c
In file included from /usr/include/elf.h:4,
from ../include/obj.h:29,
from obj_common.c:27:
/usr/include/linux/elf.h:7: parse error before `Elf32_Addr'
/usr/include/linux/elf.h:7: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:8: parse error before `Elf32_Half'
/usr/include/linux/elf.h:8: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:9: parse error before `Elf32_Off'
/usr/include/linux/elf.h:9: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:10: parse error before `Elf32_Sword'
/usr/include/linux/elf.h:10: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:11: parse error before `Elf32_Word'
/usr/include/linux/elf.h:11: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:14: parse error before `Elf64_Addr'
/usr/include/linux/elf.h:14: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:15: parse error before `Elf64_Half'
/usr/include/linux/elf.h:15: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:16: parse error before `Elf64_SHalf'
/usr/include/linux/elf.h:16: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:17: parse error before `Elf64_Off'
/usr/include/linux/elf.h:17: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:18: parse error before `Elf64_Sword'
/usr/include/linux/elf.h:18: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:19: parse error before `Elf64_Word'
/usr/include/linux/elf.h:19: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:132: parse error before `Elf32_Sword'
/usr/include/linux/elf.h:132: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:134: parse error before `Elf32_Sword'
/usr/include/linux/elf.h:134: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:135: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:136: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:137: parse error before `}'
/usr/include/linux/elf.h:137: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:140: parse error before `Elf64_Word'
/usr/include/linux/elf.h:140: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:142: parse error before `Elf64_Word'
/usr/include/linux/elf.h:142: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:143: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:144: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:145: parse error before `}'
/usr/include/linux/elf.h:145: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:233: parse error before `Elf32_Addr'
/usr/include/linux/elf.h:233: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:234: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:235: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:238: parse error before `Elf64_Addr'
/usr/include/linux/elf.h:238: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:239: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:240: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:243: parse error before `Elf32_Addr'
/usr/include/linux/elf.h:243: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:244: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:245: parse error before `r_addend'
/usr/include/linux/elf.h:245: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:246: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:249: parse error before `Elf64_Addr'
/usr/include/linux/elf.h:249: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:250: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:251: parse error before `r_addend'
/usr/include/linux/elf.h:251: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:252: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:255: parse error before `Elf32_Word'
/usr/include/linux/elf.h:255: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:256: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:257: parse error before `st_size'
/usr/include/linux/elf.h:257: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:260: parse error before `st_shndx'
/usr/include/linux/elf.h:260: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:261: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:264: parse error before `Elf32_Word'
/usr/include/linux/elf.h:264: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:267: parse error before `st_shndx'
/usr/include/linux/elf.h:267: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:268: parse error before `st_value'
/usr/include/linux/elf.h:268: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:269: parse error before `st_size'
/usr/include/linux/elf.h:269: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:270: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:277: parse error before `Elf32_Half'
/usr/include/linux/elf.h:277: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:278: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:279: parse error before `e_version'
/usr/include/linux/elf.h:279: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:280: parse error before `e_entry'
/usr/include/linux/elf.h:280: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:281: parse error before `e_phoff'
/usr/include/linux/elf.h:281: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:282: parse error before `e_shoff'
/usr/include/linux/elf.h:282: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:283: parse error before `e_flags'
/usr/include/linux/elf.h:283: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:284: parse error before `e_ehsize'
/usr/include/linux/elf.h:284: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:285: parse error before `e_phentsize'
/usr/include/linux/elf.h:285: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:286: parse error before `e_phnum'
/usr/include/linux/elf.h:286: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:287: parse error before `e_shentsize'
/usr/include/linux/elf.h:287: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:288: parse error before `e_shnum'
/usr/include/linux/elf.h:288: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:289: parse error before `e_shstrndx'
/usr/include/linux/elf.h:289: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:290: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:294: parse error before `Elf64_SHalf'
/usr/include/linux/elf.h:294: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:295: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:296: parse error before `e_version'
/usr/include/linux/elf.h:296: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:297: parse error before `e_entry'
/usr/include/linux/elf.h:297: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:298: parse error before `e_phoff'
/usr/include/linux/elf.h:298: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:299: parse error before `e_shoff'
/usr/include/linux/elf.h:299: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:300: parse error before `e_flags'
/usr/include/linux/elf.h:300: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:301: parse error before `e_ehsize'
/usr/include/linux/elf.h:301: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:302: parse error before `e_phentsize'
/usr/include/linux/elf.h:302: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:303: parse error before `e_phnum'
/usr/include/linux/elf.h:303: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:304: parse error before `e_shentsize'
/usr/include/linux/elf.h:304: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:305: parse error before `e_shnum'
/usr/include/linux/elf.h:305: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:306: parse error before `e_shstrndx'
/usr/include/linux/elf.h:306: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:307: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:316: parse error before `Elf32_Word'
/usr/include/linux/elf.h:316: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:317: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:318: parse error before `p_vaddr'
/usr/include/linux/elf.h:318: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:319: parse error before `p_paddr'
/usr/include/linux/elf.h:319: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:320: parse error before `p_filesz'
/usr/include/linux/elf.h:320: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:321: parse error before `p_memsz'
/usr/include/linux/elf.h:321: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:322: parse error before `p_flags'
/usr/include/linux/elf.h:322: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:323: parse error before `p_align'
/usr/include/linux/elf.h:323: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:324: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:327: parse error before `__s32'
/usr/include/linux/elf.h:327: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:328: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:329: parse error before `p_offset'
/usr/include/linux/elf.h:329: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:330: parse error before `p_vaddr'
/usr/include/linux/elf.h:330: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:331: parse error before `p_paddr'
/usr/include/linux/elf.h:331: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:332: parse error before `p_filesz'
/usr/include/linux/elf.h:332: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:333: parse error before `p_memsz'
/usr/include/linux/elf.h:333: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:334: parse error before `p_align'
/usr/include/linux/elf.h:334: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:335: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:372: parse error before `Elf32_Word'
/usr/include/linux/elf.h:372: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:373: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:374: parse error before `sh_flags'
/usr/include/linux/elf.h:374: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:375: parse error before `sh_addr'
/usr/include/linux/elf.h:375: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:376: parse error before `sh_offset'
/usr/include/linux/elf.h:376: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:377: parse error before `sh_size'
/usr/include/linux/elf.h:377: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:378: parse error before `sh_link'
/usr/include/linux/elf.h:378: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:379: parse error before `sh_info'
/usr/include/linux/elf.h:379: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:380: parse error before `sh_addralign'
/usr/include/linux/elf.h:380: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:381: parse error before `sh_entsize'
/usr/include/linux/elf.h:381: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:382: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:385: parse error before `Elf32_Word'
/usr/include/linux/elf.h:385: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:386: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:387: parse error before `sh_flags'
/usr/include/linux/elf.h:387: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:388: parse error before `sh_addr'
/usr/include/linux/elf.h:388: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:389: parse error before `sh_offset'
/usr/include/linux/elf.h:389: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:390: parse error before `sh_size'
/usr/include/linux/elf.h:390: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:391: parse error before `sh_link'
/usr/include/linux/elf.h:391: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:392: parse error before `sh_info'
/usr/include/linux/elf.h:392: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:393: parse error before `sh_addralign'
/usr/include/linux/elf.h:393: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:394: parse error before `sh_entsize'
/usr/include/linux/elf.h:394: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:395: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:434: parse error before `Elf32_Word'
/usr/include/linux/elf.h:434: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:435: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:436: parse error before `n_type'
/usr/include/linux/elf.h:436: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:437: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:446: parse error before `Elf32_Word'
/usr/include/linux/elf.h:446: warning: no semicolon at end of struct or
union
/usr/include/linux/elf.h:447: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:448: parse error before `n_type'
/usr/include/linux/elf.h:448: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:449: warning: data definition has no type or
storage class
/usr/include/linux/elf.h:455: parse error before `_DYNAMIC'
/usr/include/linux/elf.h:455: warning: data definition has no type or
storage class
In file included from obj_common.c:27:
../include/obj.h:52: parse error before `Elf32_Shdr'
../include/obj.h:52: warning: no semicolon at end of struct or union
../include/obj.h:57: parse error before `}'
../include/obj.h:79: parse error before `Elf32_Ehdr'
../include/obj.h:79: warning: no semicolon at end of struct or union
../include/obj.h:80: warning: data definition has no type or storage
class
../include/obj.h:89: parse error before `}'
../include/obj.h:103: parse error before `Elf32_Addr'
../include/obj.h:103: warning: no semicolon at end of struct or union
../include/obj.h:104: warning: data definition has no type or storage
class
../include/obj.h:111: parse error before `Elf32_Addr'
../include/obj.h:111: warning: no semicolon at end of struct or union
../include/obj.h:113: parse error before `}'
../include/obj.h:124: parse error before `Elf32_Addr'
../include/obj.h:129: parse error before `obj_symbol_final_value'
../include/obj.h:130: warning: data definition has no type or storage
class
../include/obj.h:154: parse error before `Elf32_Addr'
../include/obj.h:157: parse error before `Elf32_Addr'
../include/obj.h:164: parse error before `Elf32_Addr'
../include/obj.h:182: parse error before `Elf32_Rel'
obj_common.c: In function `obj_set_symbol_compare':
obj_common.c:66: dereferencing pointer to incomplete type
obj_common.c:72: dereferencing pointer to incomplete type
obj_common.c:74: dereferencing pointer to incomplete type
obj_common.c:75: dereferencing pointer to incomplete type
obj_common.c:75: dereferencing pointer to incomplete type
obj_common.c:82: dereferencing pointer to incomplete type
obj_common.c:83: dereferencing pointer to incomplete type
obj_common.c: At top level:
obj_common.c:90: parse error before `Elf32_Addr'
obj_common.c: In function `obj_add_symbol':
obj_common.c:93: `f' undeclared (first use this function)
obj_common.c:93: (Each undeclared identifier is reported only once
obj_common.c:93: for each function it appears in.)
obj_common.c:102: `info' undeclared (first use this function)
obj_common.c:107: `secidx' undeclared (first use this function)
obj_common.c:145: `value' undeclared (first use this function)
obj_common.c:146: `size' undeclared (first use this function)
obj_common.c:92: warning: `sym' might be used uninitialized in this
function
obj_common.c: In function `obj_find_symbol':
obj_common.c:157: dereferencing pointer to incomplete type
obj_common.c:159: dereferencing pointer to incomplete type
obj_common.c:160: dereferencing pointer to incomplete type
obj_common.c:156: warning: `sym' might be used uninitialized in this
function
obj_common.c: At top level:
obj_common.c:167: parse error before `obj_symbol_final_value'
obj_common.c:168: warning: return-type defaults to `int'
obj_common.c: In function `obj_symbol_final_value':
obj_common.c:174: dereferencing pointer to incomplete type
obj_common.c:181: warning: control reaches end of non-void function
obj_common.c: In function `obj_find_section':
obj_common.c:186: dereferencing pointer to incomplete type
obj_common.c:189: dereferencing pointer to incomplete type
obj_common.c:190: dereferencing pointer to incomplete type
obj_common.c: In function `obj_load_order_cmp':
obj_common.c:200: dereferencing pointer to incomplete type
obj_common.c:201: dereferencing pointer to incomplete type
obj_common.c:207: dereferencing pointer to incomplete type
obj_common.c:213: dereferencing pointer to incomplete type
obj_common.c:198: warning: `af' might be used uninitialized in this
function
obj_common.c:198: warning: `bf' might be used uninitialized in this
function
obj_common.c: In function `obj_insert_section_load_order':
obj_common.c:222: dereferencing pointer to incomplete type
obj_common.c:222: dereferencing pointer to incomplete type
obj_common.c:225: dereferencing pointer to incomplete type
obj_common.c:221: warning: `p' might be used uninitialized in this
function
obj_common.c: In function `obj_create_alloced_section':
obj_common.c:233: dereferencing pointer to incomplete type
obj_common.c:236: dereferencing pointer to incomplete type
obj_common.c:236: dereferencing pointer to incomplete type
obj_common.c:237: dereferencing pointer to incomplete type
obj_common.c:239: dereferencing pointer to incomplete type
obj_common.c:240: dereferencing pointer to incomplete type
obj_common.c:241: dereferencing pointer to incomplete type
obj_common.c:242: dereferencing pointer to incomplete type
obj_common.c:243: dereferencing pointer to incomplete type
obj_common.c:244: dereferencing pointer to incomplete type
obj_common.c:245: dereferencing pointer to incomplete type
obj_common.c:247: dereferencing pointer to incomplete type
obj_common.c:234: warning: `sec' might be used uninitialized in this
function
obj_common.c: In function `obj_create_alloced_section_first':
obj_common.c:258: dereferencing pointer to incomplete type
obj_common.c:261: dereferencing pointer to incomplete type
obj_common.c:261: dereferencing pointer to incomplete type
obj_common.c:262: dereferencing pointer to incomplete type
obj_common.c:264: dereferencing pointer to incomplete type
obj_common.c:265: dereferencing pointer to incomplete type
obj_common.c:266: dereferencing pointer to incomplete type
obj_common.c:267: dereferencing pointer to incomplete type
obj_common.c:268: dereferencing pointer to incomplete type
obj_common.c:269: dereferencing pointer to incomplete type
obj_common.c:270: dereferencing pointer to incomplete type
obj_common.c:272: dereferencing pointer to incomplete type
obj_common.c:274: dereferencing pointer to incomplete type
obj_common.c:274: dereferencing pointer to incomplete type
obj_common.c:275: dereferencing pointer to incomplete type
obj_common.c:276: dereferencing pointer to incomplete type
obj_common.c:276: dereferencing pointer to incomplete type
obj_common.c:277: dereferencing pointer to incomplete type
obj_common.c:277: dereferencing pointer to incomplete type
obj_common.c:259: warning: `sec' might be used uninitialized in this
function
obj_common.c: In function `obj_extend_section':
obj_common.c:285: dereferencing pointer to incomplete type
obj_common.c:286: dereferencing pointer to incomplete type
obj_common.c:286: dereferencing pointer to incomplete type
obj_common.c:286: dereferencing pointer to incomplete type
obj_common.c:287: dereferencing pointer to incomplete type
obj_common.c:288: warning: control reaches end of non-void function
make[1]: *** [obj_common.o] Error 1
make[1]: Leaving directory `/djw/gz/modutils-2.1.34/obj'
make: *** [install-bin] Error 2
--
David Williams

\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans