🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #3

gdb-4.7 won't compile on HP700-HPUX

#3
From: Fokke de Boer
Date: Tue, 27 Oct 1992 13:41
56 lines
2650 bytes
Hello people!

The moment GDB-4.7 came out I tried to compile it for our HP730 running
HP-UX 8.07. Problem number one to cope with, was that 
	./configure hppa1.1-hp-hpux
came out with the option -norecursion. So, no Makefiles were created
in the subdirectories. I came around this (probably NOT the right way)
by changing the configure-script. I changed the line
	subdirs=
to:
	subdirs="bfd readline mmalloc libiberty gdb"
after which "make" did something :-).

The next, more difficult problem (for me) was that the compiler (cc)
stopped at compiling bfd/hppa.c. The errors were:
		cc -c -g   -I. -I. -I./../include  hppa.c
	cc: "hppa.c", line 616: error 1601: Initialization of integer with pointer.
	cc: "hppa.c", line 616: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 616: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 616: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 616: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 616: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 617: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 617: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 617: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 617: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 617: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 617: error 1650: Void type illegal in expression.
	cc: "hppa.c", line 619: error 1650: Void type illegal in expression.
	*** Error code 1

	Stop.
	*** Error code 1

	Stop.

Lines 616-619 of bfd/hppa.c are reproduced below:
--------------------------------------------
_do_getb64, _do_putb64, _do_getb32, _do_putb32, _do_getb16, _do_putb16, /* data
*/
_do_getb64, _do_putb64,  _do_getb32, _do_putb32, _do_getb16, _do_putb16, /* hdrs
 */

   { _bfd_dummy_target,
--------------------------------------------


Anyone knows what to do???

Thanks in advance!
--
I am:   Fokke de Boer
EMAIL	mtvfb@rivm.nl
SNAIL	RIVM, dep. MTV, PO Box 1, 3720 BA Bilthoven, The Netherlands
PHONE	(..31) 30 743530 
FAX		(..31) 30 250740
Technical Details
Message-ID: <Bws8oI.35F@rivm.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rivm.NL!mtvfb

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rivm.NL!mtvfb
From: mtvfb@rivm.NL (Fokke de Boer)
Subject: gdb-4.7 won't compile on HP700-HPUX
Message-ID: <Bws8oI.35F@rivm.nl>
Sender: gnulists@ai.mit.edu
Organization: Rijksinstituut voor Volksgezondheid en Milieuhygiene,Bilthoven,NL
Distribution: gnu
Date: Tue, 27 Oct 1992 13:41:06 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 57