home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gdb / bug / 1335 < prev    next >
Encoding:
Text File  |  1992-12-25  |  4.6 KB  |  125 lines

  1. Newsgroups: gnu.gdb.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!parrot.creighton.edu!cgreco
  3. From: cgreco@parrot.creighton.edu (Carl Greco)
  4. Subject: delta88 compile problems
  5. Message-ID: <9212241543.AA03490@parrot.creighton.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Cardiac Center, Creighton University
  8. Distribution: gnu
  9. Date: Thu, 24 Dec 1992 15:43:32 GMT
  10. Approved: bug-gdb@prep.ai.mit.edu
  11. Lines: 112
  12.  
  13. I am attempting to install gdb-4.7 on a Motorola 187 system R32V3.1 with
  14. gcc-2.3.2 and have encountered several problems.  I have "fixed??" several
  15. but not all. The error log with my patches is attached. Before I continue
  16. I thought I would (a) report these potential bugs and (b) see if there was
  17. an update to the delta88 configuration before continuing.
  18.  
  19. The excerpted section from the make log follow:
  20.  
  21. # ./configure delta88 2>&1 |tee MAKELOG
  22. Created "Makefile" in /prod2/gnu/gdb-4.7 using "config/mh-delta88"
  23. #
  24. #
  25. # /usr/local/bin/make 2>&1 | tee -a MAKELOG
  26.  
  27.     *************** STUFF DELETED *************
  28.  
  29.  
  30. gcc -O2 -c  -DUSG   -I. -I. -I./../include  libbfd.c
  31. In file included from libbfd.c:22:
  32. sysdep.h:21: macro `EXFUN' used with just one arg
  33. make[1]: *** [libbfd.o] Error 1
  34. make: *** [all-bfd] Error 1
  35.  
  36.     FIX bfd/hosts/delta88.h which is linked to bfd/sysdep.h
  37. *** bfd/hosts/delta88.h Sun Dec 20 13:09:19 1992
  38. --- bfd/hosts/delta88.h~        Fri Aug 28 17:53:44 1992
  39. ***************
  40. *** 19,23 ****
  41.   extern void EXFUN(bcopy,(char*,char*,int));
  42.   extern void EXFUN(exit,(int));
  43. ! extern int  EXFUN(strtol,(char*,char**,int));
  44.   extern void EXFUN(bzero,(char *, int));
  45. #define NO_STDARG 1
  46. --- 19,23 ----
  47.   extern void EXFUN(bcopy,(char*,char*,int));
  48.   extern void EXFUN(exit,(int));
  49. ! extern int  EXFUN(strtol());
  50.   extern void EXFUN(bzero,(char *, int));
  51. #define NO_STDARG 1
  52. #
  53.  
  54.     *************** STUFF DELETED *************
  55.  
  56. gcc -O2  -c -DUSG   -I. -I. -I./../include  -DMINIMIZE=0 -DSELECT_ARCHITECTURES=bfd_m88kbcs_arch -DSELECT_VECS='&m88kbcs_vec' archures.c
  57. archures.c:420: `bfd_m88kbcs_arch' undeclared, outside of functions
  58. make[1]: *** [archures.o] Error 1
  59. make: *** [all-bfd] Error 1
  60.  
  61.     Altered SELECT_ARCHITECTURES=bfd_m88k_arch as follows:
  62. gcc -O2  -c -DUSG   -I. -I. -I./../include  -DMINIMIZE=0 -DSELECT_ARCHITECTURES=bfd_m88k_arch -DSELECT_VECS='&m88kbcs_vec' archures.c
  63.  
  64.  
  65.  
  66.     *************** STUFF DELETED *************
  67.  
  68. gcc -O2 -c       -I. -I. -I./../include  -I./../readline main.c
  69. In file included from tm.h:20, from defs.h:744, from main.c:21:
  70. tm-m88k.h:283: parse error before `{'
  71. make[1]: *** [main.o] Error 1
  72. make: *** [all-gdb] Error 1
  73.  
  74.     Fix gdb/tm-m88k.h
  75. # /usr/local/bin/diff -c2 gdb/tm-m88k.h gdb/tm-m88k.h~
  76. *** gdb/tm-m88k.h       Sun Dec 20 18:02:01 1992
  77. --- gdb/tm-m88k.h~      Thu Jun 11 03:43:20 1992
  78. ***************
  79. *** 280,284 ****
  80.      to raw format for register REGNUM.  */
  81.  
  82. ! #define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \
  83.     {bcopy ((FROM), (TO), REGISTER_RAW_SIZE (REGNUM));}
  84.  
  85. --- 280,284 ----
  86.      to raw format for register REGNUM.  */
  87.  
  88. ! #define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO)
  89.     {bcopy ((FROM), (TO), REGISTER_RAW_SIZE (REGNUM));}
  90.  
  91.  
  92.     *************** STUFF DELETED *************
  93.  
  94. gcc -O2 -c       -I. -I. -I./../include  m88k-tdep.c
  95. m88k-tdep.c: In function `next_insn':
  96. m88k-tdep.c:181: warning: passing arg 2 of `read_memory' from incompatible pointer type
  97. m88k-tdep.c: In function `store_parm_word':
  98. m88k-tdep.c:645: warning: passing arg 2 of `write_memory' from incompatible pointer type
  99. gcc -O2 -c       -I. -I. -I./../include  m88k-pinsn.c
  100. In file included from m88k-pinsn.c:23:
  101. ./../include/opcode/m88k.h:91: warning: `PMEM' redefined
  102. /usr/local/lib/gcc-lib/m88k-svr3/2.3.2/include/sys/param.h:139: warning: this is the location of the previous definition
  103. ./../include/opcode/m88k.h:232: warning: `AND' redefined
  104. ./../include/ansidecl.h:78: warning: this is the location of the previous definition
  105. gcc -O2 -c       -I. -I. -I./../include  exec.c
  106. gcc -O2 -c       -I. -I. -I./../include  infptrace.c
  107. gcc -O2 -c       -I. -I. -I./../include  inftarg.c
  108. gcc -O2 -c       -I. -I. -I./../include  fork-child.c
  109. gcc -O2 -c       -I. -I. -I./../include  m88k-nat.c
  110. m88k-nat.c: In function `fetch_inferior_registers':
  111. m88k-nat.c:75: storage size of `u' isn't known
  112. m88k-nat.c: In function `store_inferior_registers':
  113. m88k-nat.c:118: storage size of `u' isn't known
  114. m88k-nat.c: In function `m88k_register_u_addr':
  115. m88k-nat.c:180: storage size of `u' isn't known
  116. m88k-nat.c:181: sizeof applied to an incomplete type
  117. make[1]: *** [m88k-nat.o] Error 1
  118. make: *** [all-gdb] Error 1
  119. -- 
  120. ======================================================
  121. Carl Greco                 PHONE voice: (402) 280-4552
  122. cgreco@Creighton.Edu               fax: (402) 280-4654
  123. ======================================================
  124.  
  125.