trouble compiling mol on 2.4.1


Subject: trouble compiling mol on 2.4.1
From: Rolf Schatzmann (rolf@radiowan.net.au)
Date: Sat Feb 03 2001 - 21:11:18 MST


I am trying to compile mol 0.9.55 to run on a 2.4.1 kernel i built by
getting the latest ppc-devel tree . I have tried with a snapshot of the
current mol source i got with bitkeeper as well as the .55 src tarball
and previous versions. I always get the same problem shown below, am I
missing something obvious?

Thanxs in advance.

scorp:/usr/src/mol# make
++ BUILDING ++
Entering '/usr/src/mol/debugger'
Entering '/usr/src/mol/debugger/../mon'
gcc -pipe -O2 -Wall -fomit-frame-pointer -mmultiple -I../include -c -o
ppc-dis.o ppc-dis.c
In file included from ppc-dis.c:23:
sysdep.h:30: ansidecl.h: No such file or directory
In file included from ppc-dis.c:24:
../include/dis-asm.h:13: bfd.h: No such file or directory
In file included from ppc-dis.c:24:
../include/dis-asm.h:47: field `flavour' has incomplete type
../include/dis-asm.h:49: field `arch' has incomplete type
../include/dis-asm.h:53: field `endian' has incomplete type
../include/dis-asm.h:60: parse error before `asymbol'
../include/dis-asm.h:60: warning: no semicolon at end of struct or union

../include/dis-asm.h:77: parse error before `memaddr'
../include/dis-asm.h:85: parse error before `bfd_vma'
../include/dis-asm.h:89: parse error before `addr'
../include/dis-asm.h:99: parse error before `addr'
../include/dis-asm.h:102: parse error before `*'
../include/dis-asm.h:102: warning: type defaults to `int' in declaration
of `buffer'
../include/dis-asm.h:102: warning: data definition has no type or
storage class
../include/dis-asm.h:103: parse error before `buffer_vma'
../include/dis-asm.h:103: warning: type defaults to `int' in declaration
of `buffer_vma'
../include/dis-asm.h:103: warning: data definition has no type or
storage class
../include/dis-asm.h:132: parse error before `target'
../include/dis-asm.h:132: warning: type defaults to `int' in declaration
of `target'
../include/dis-asm.h:132: warning: data definition has no type or
storage class
../include/dis-asm.h:134: parse error before `target2'
../include/dis-asm.h:134: warning: type defaults to `int' in declaration
of `target2'
../include/dis-asm.h:134: warning: data definition has no type or
storage class
../include/dis-asm.h:136: warning: type defaults to `int' in declaration
of `disassemble_info'
../include/dis-asm.h:136: warning: data definition has no type or
storage class
../include/dis-asm.h:142: parse error before `*'
../include/dis-asm.h:144: parse error before `*'
../include/dis-asm.h:145: parse error before `*'
../include/dis-asm.h:146: parse error before `*'
../include/dis-asm.h:147: parse error before `*'
../include/dis-asm.h:148: parse error before `*'
../include/dis-asm.h:149: parse error before `*'
../include/dis-asm.h:150: parse error before `*'
../include/dis-asm.h:151: parse error before `*'
../include/dis-asm.h:152: parse error before `*'
../include/dis-asm.h:153: parse error before `*'
../include/dis-asm.h:154: parse error before `*'
../include/dis-asm.h:156: parse error before `*'
../include/dis-asm.h:157: parse error before `*'
../include/dis-asm.h:158: parse error before `*'
../include/dis-asm.h:159: parse error before `*'
../include/dis-asm.h:160: parse error before `*'
../include/dis-asm.h:161: parse error before `*'
../include/dis-asm.h:162: parse error before `*'
../include/dis-asm.h:163: parse error before `*'
../include/dis-asm.h:164: parse error before `*'
../include/dis-asm.h:165: parse error before `*'
../include/dis-asm.h:166: parse error before `*'
../include/dis-asm.h:167: parse error before `*'
../include/dis-asm.h:168: parse error before `*'
../include/dis-asm.h:169: parse error before `*'
../include/dis-asm.h:170: parse error before `*'
../include/dis-asm.h:171: parse error before `*'
../include/dis-asm.h:172: parse error before `*'
../include/dis-asm.h:173: parse error before `*'
../include/dis-asm.h:174: parse error before `*'
../include/dis-asm.h:175: parse error before `*'
../include/dis-asm.h:176: parse error before `*'
../include/dis-asm.h:179: parse error before `*'
../include/dis-asm.h:188: parse error before `*'
../include/dis-asm.h:192: parse error before `bfd_vma'
../include/dis-asm.h:199: parse error before `struct'
../include/dis-asm.h:203: parse error before `struct'
ppc-dis.c:35: parse error before `struct'
ppc-dis.c:43: parse error before `bfd_vma'
ppc-dis.c:43: warning: type defaults to `int' in declaration of
`memaddr'
ppc-dis.c:43: warning: data definition has no type or storage class
ppc-dis.c:45: parse error before `{'
ppc-dis.c:55: parse error before `bfd_vma'
ppc-dis.c:55: warning: type defaults to `int' in declaration of
`memaddr'
ppc-dis.c:55: warning: data definition has no type or storage class
ppc-dis.c:57: parse error before `{'
ppc-dis.c:66: parse error before `bfd_vma'
ppc-dis.c:66: warning: type defaults to `int' in declaration of
`memaddr'
ppc-dis.c:66: warning: data definition has no type or storage class
ppc-dis.c:68: parse error before `{'
ppc-dis.c:76: parse error before `bfd_vma'
ppc-dis.c:76: warning: type defaults to `int' in declaration of
`memaddr'
ppc-dis.c:76: warning: data definition has no type or storage class
ppc-dis.c:80: parse error before `{'
ppc-dis.c:88: warning: type defaults to `int' in declaration of `status'

ppc-dis.c:88: dereferencing pointer to incomplete type
ppc-dis.c:88: warning: data definition has no type or storage class
ppc-dis.c:89: parse error before `if'
ppc-dis.c:101: warning: type defaults to `int' in declaration of `op'
ppc-dis.c:101: conflicting types for `op'
ppc-dis.c:86: previous declaration of `op'
ppc-dis.c:101: initializer element is not constant
ppc-dis.c:101: warning: data definition has no type or storage class
ppc-dis.c:105: warning: type defaults to `int' in declaration of
`opcode_end'
ppc-dis.c:105: conflicting types for `opcode_end'
ppc-dis.c:85: previous declaration of `opcode_end'
ppc-dis.c:105: warning: initialization makes integer from pointer
without a cast
ppc-dis.c:105: initializer element is not constant
ppc-dis.c:105: warning: data definition has no type or storage class
ppc-dis.c:106: parse error before `for'
ppc-dis.c:115: warning: type defaults to `int' in declaration of
`table_op'
ppc-dis.c:115: initializer element is not constant
ppc-dis.c:115: warning: data definition has no type or storage class
ppc-dis.c:116: parse error before `if'
ppc-dis.c:128: warning: type defaults to `int' in declaration of
`invalid'
ppc-dis.c:128: warning: data definition has no type or storage class
ppc-dis.c:129: parse error before `for'
ppc-dis.c:129: parse error before `!='
ppc-dis.c:139: parse error before `->'
ppc-dis.c:144: warning: type defaults to `int' in declaration of
`need_comma'
ppc-dis.c:144: warning: data definition has no type or storage class
ppc-dis.c:145: warning: type defaults to `int' in declaration of
`need_paren'
ppc-dis.c:145: warning: data definition has no type or storage class
ppc-dis.c:146: parse error before `for'
ppc-dis.c:146: parse error before `!='
ppc-dis.c:150: warning: type defaults to `int' in declaration of
`operand'
ppc-dis.c:150: conflicting types for `operand'
ppc-dis.c:110: previous declaration of `operand'
ppc-dis.c:150: warning: initialization makes integer from pointer
without a cast
ppc-dis.c:150: initializer element is not constant
ppc-dis.c:150: warning: data definition has no type or storage class
ppc-dis.c:155: parse error before `if'
ppc-dis.c:179: warning: type defaults to `int' in declaration of
`need_comma'
ppc-dis.c:179: redefinition of `need_comma'
ppc-dis.c:144: `need_comma' previously defined here
ppc-dis.c:179: warning: data definition has no type or storage class
ppc-dis.c:180: parse error before `}'
ppc-dis.c:204: warning: type defaults to `int' in declaration of `cr'
ppc-dis.c:204: `value' undeclared here (not in a function)
ppc-dis.c:204: initializer element is not constant
ppc-dis.c:204: warning: data definition has no type or storage class
ppc-dis.c:205: parse error before `if'
ppc-dis.c:207: warning: type defaults to `int' in declaration of `cc'
ppc-dis.c:207: `value' undeclared here (not in a function)
ppc-dis.c:207: initializer element is not constant
ppc-dis.c:207: warning: data definition has no type or storage class
ppc-dis.c:208: parse error before `if'
ppc-dis.c:212: parse error before `->'
ppc-dis.c:220: warning: type defaults to `int' in declaration of
`need_paren'
ppc-dis.c:220: redefinition of `need_paren'
ppc-dis.c:145: `need_paren' previously defined here
ppc-dis.c:220: warning: data definition has no type or storage class
ppc-dis.c:221: parse error before `}'
ppc-dis.c:228: warning: type defaults to `int' in declaration of
`need_paren'
ppc-dis.c:228: redefinition of `need_paren'
ppc-dis.c:220: `need_paren' previously defined here
ppc-dis.c:228: warning: data definition has no type or storage class
ppc-dis.c:229: parse error before `}'
ppc-dis.c:237: parse error before `->'
../include/dis-asm.h:118: storage size of `display_endian' isn't known
ppc-dis.c:36: warning: `print_insn_powerpc' declared `static' but never
defined
make[2]: *** [ppc-dis.o] Error 1
make[1]: *** [_subdir_../mon] Error 2
make: *** [_subdir_debugger] Error 2



This archive was generated by hypermail 2a24 : Sat Feb 03 2001 - 21:12:57 MST