[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb5.3 on openbsd 3.3 compile problems



I have this built and working enough for our needs.

The big problem was the missing OpenBSD files. I assumed
that the NetBSD files where close enough and copied them
with the obvious edits to #includes etc. The only other
thing I needed to do was remove solib-sunos.o from 
gdb/config/i386/obsdaout.mh (copied from nbsdaout.mh).

	Barry

-----Original Message-----
From: Schamil Wackenhut [mailto:sw_(_at_)_wacke_(_dot_)_org] 
Sent: 27 May 2003 10:15
To: misc_(_at_)_openbsd_(_dot_)_org
Subject: gdb5.3 on openbsd 3.3 compile problems

Hi,

I want to compile gdb 5.3 on my openbsd 3.3, but it ends with some
errors:

make  all-recursive
Making all in doc
Making all in po
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-D_GNU_SOURCE   -DTRAD_CORE   -I. -I. -I./../include  -I./../intl
-I../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c
trad-core.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I.
-I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c trad-core.c -o trad-core.o
trad-core.c: In function `trad_unix_core_file_failing_signal':
trad-core.c:257: structure has no member named `u_sig'
trad-core.c:261: warning: control reaches end of non-void function
*** Error code 1

Stop in /home/wacke/gdb-5.3/bfd.
*** Error code 1

Stop in /home/wacke/gdb-5.3/bfd (line 940 of Makefile).
*** Error code 1

Stop in /home/wacke/gdb-5.3/bfd (line 1070 of Makefile).
*** Error code 1

Stop in /home/wacke/gdb-5.3 (line 1303 of Makefile).

I configured it with ./configure i686-bsd.
Some ideas?

ciao,
schamil
-- 
bash$ :(){ :|:&};: