🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Carl Greco Thu, 24 Dec 1992 15:43
delta88 compile problems
#543
Author: Carl Greco
Date: Thu, 24 Dec 1992 15:43
111 lines
4877 bytes
I am attempting to install gdb-4.7 on a Motorola 187 system R32V3.1 with
gcc-2.3.2 and have encountered several problems.  I have "fixed??" several
but not all. The error log with my patches is attached. Before I continue
I thought I would (a) report these potential bugs and (b) see if there was
an update to the delta88 configuration before continuing.

The excerpted section from the make log follow:

# ./configure delta88 2>&1 |tee MAKELOG
Created "Makefile" in /prod2/gnu/gdb-4.7 using "config/mh-delta88"
#
#
# /usr/local/bin/make 2>&1 | tee -a MAKELOG

	*************** STUFF DELETED *************


gcc -O2 -c  -DUSG   -I. -I. -I./../include  libbfd.c
In file included from libbfd.c:22:
sysdep.h:21: macro `EXFUN' used with just one arg
make[1]: *** [libbfd.o] Error 1
make: *** [all-bfd] Error 1

	FIX bfd/hosts/delta88.h which is linked to bfd/sysdep.h
*** bfd/hosts/delta88.h Sun Dec 20 13:09:19 1992
--- bfd/hosts/delta88.h~        Fri Aug 28 17:53:44 1992
***************
*** 19,23 ****
  extern void EXFUN(bcopy,(char*,char*,int));
  extern void EXFUN(exit,(int));
! extern int  EXFUN(strtol,(char*,char**,int));
  extern void EXFUN(bzero,(char *, int));
#define NO_STDARG 1
--- 19,23 ----
  extern void EXFUN(bcopy,(char*,char*,int));
  extern void EXFUN(exit,(int));
! extern int  EXFUN(strtol());
  extern void EXFUN(bzero,(char *, int));
#define NO_STDARG 1
#

	*************** STUFF DELETED *************

gcc -O2  -c -DUSG   -I. -I. -I./../include  -DMINIMIZE=0 -DSELECT_ARCHITECTURES=bfd_m88kbcs_arch -DSELECT_VECS='&m88kbcs_vec' archures.c
archures.c:420: `bfd_m88kbcs_arch' undeclared, outside of functions
make[1]: *** [archures.o] Error 1
make: *** [all-bfd] Error 1

	Altered SELECT_ARCHITECTURES=bfd_m88k_arch as follows:
gcc -O2  -c -DUSG   -I. -I. -I./../include  -DMINIMIZE=0 -DSELECT_ARCHITECTURES=bfd_m88k_arch -DSELECT_VECS='&m88kbcs_vec' archures.c



	*************** STUFF DELETED *************

gcc -O2 -c       -I. -I. -I./../include  -I./../readline main.c
In file included from tm.h:20, from defs.h:744, from main.c:21:
tm-m88k.h:283: parse error before `{'
make[1]: *** [main.o] Error 1
make: *** [all-gdb] Error 1

	Fix gdb/tm-m88k.h
# /usr/local/bin/diff -c2 gdb/tm-m88k.h gdb/tm-m88k.h~
*** gdb/tm-m88k.h       Sun Dec 20 18:02:01 1992
--- gdb/tm-m88k.h~      Thu Jun 11 03:43:20 1992
***************
*** 280,284 ****
     to raw format for register REGNUM.  */

! #define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO) \
    {bcopy ((FROM), (TO), REGISTER_RAW_SIZE (REGNUM));}

--- 280,284 ----
     to raw format for register REGNUM.  */

! #define REGISTER_CONVERT_TO_RAW(REGNUM,FROM,TO)
    {bcopy ((FROM), (TO), REGISTER_RAW_SIZE (REGNUM));}


	*************** STUFF DELETED *************

gcc -O2 -c       -I. -I. -I./../include  m88k-tdep.c
m88k-tdep.c: In function `next_insn':
m88k-tdep.c:181: warning: passing arg 2 of `read_memory' from incompatible pointer type
m88k-tdep.c: In function `store_parm_word':
m88k-tdep.c:645: warning: passing arg 2 of `write_memory' from incompatible pointer type
gcc -O2 -c       -I. -I. -I./../include  m88k-pinsn.c
In file included from m88k-pinsn.c:23:
./../include/opcode/m88k.h:91: warning: `PMEM' redefined
/usr/local/lib/gcc-lib/m88k-svr3/2.3.2/include/sys/param.h:139: warning: this is the location of the previous definition
./../include/opcode/m88k.h:232: warning: `AND' redefined
./../include/ansidecl.h:78: warning: this is the location of the previous definition
gcc -O2 -c       -I. -I. -I./../include  exec.c
gcc -O2 -c       -I. -I. -I./../include  infptrace.c
gcc -O2 -c       -I. -I. -I./../include  inftarg.c
gcc -O2 -c       -I. -I. -I./../include  fork-child.c
gcc -O2 -c       -I. -I. -I./../include  m88k-nat.c
m88k-nat.c: In function `fetch_inferior_registers':
m88k-nat.c:75: storage size of `u' isn't known
m88k-nat.c: In function `store_inferior_registers':
m88k-nat.c:118: storage size of `u' isn't known
m88k-nat.c: In function `m88k_register_u_addr':
m88k-nat.c:180: storage size of `u' isn't known
m88k-nat.c:181: sizeof applied to an incomplete type
make[1]: *** [m88k-nat.o] Error 1
make: *** [all-gdb] Error 1
-- 
======================================================
Carl Greco                 PHONE voice: (402) 280-4552
cgreco@Creighton.Edu               fax: (402) 280-4654
======================================================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads