bug-gdb
[Top][All Lists]
Advanced

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

RE: gdb-5.0 build error on IRIX 6.5


From: Dragos Liciu
Subject: RE: gdb-5.0 build error on IRIX 6.5
Date: Wed, 20 Jun 2001 14:55:06 -0700

Thanks for answers (David B. Anderson and Marius Seritan).

I tried to build gdb-5.0 with the gnu version of make.
As a result, I have another error:

-----------
gcc -c ./../common/callback.c -DHAVE_CONFIG_H
-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT -DWITH_TARGET_WORD_BITSIZE=32
-DWITH_TARGET_WORD_MSB=31 -DWITH_DEFAULT_TARGET_BYTE_ORDER=BIG_ENDIAN
-DWITH_FLOATING_POINT=HARD_FLOATING_POINT
-DWITH_TARGET_FLOATING_POINT_BITSIZE=32 -DWITH_HW=0
-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN      -DWITH_SMP=0         -I. -I.
-I../common -I./../common -I../../include -I./../..//include -I../../bfd
-I./../..//bfd -I../../opcodes -I./../..//opcodes -I../../intl
-I./../..//intl -g -O2
./../common/callback.c: In function `cb_target_to_host_open':
./../common/callback.c:673: `TARGET_O_RDONLY' undeclared (first use in this
function)
./../common/callback.c:673: (Each undeclared identifier is reported only
once
./../common/callback.c:673: for each function it appears in.)
./../common/callback.c:674: `TARGET_O_WRONLY' undeclared (first use in this
function)
./../common/callback.c:675: `TARGET_O_RDWR' undeclared (first use in this
function)
./../common/callback.c:685: warning: unreachable code at beginning of switch
statement
make[2]: *** [callback.o] Error 1
make[2]: Leaving directory `/tmp_mnt/people/schan/dragos/gdb-5.0/sim/mips'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp_mnt/people/schan/dragos/gdb-5.0/sim'
make: *** [all-sim] Error 2
-------------------

The same error appeared subsequently, when trying to build gdb-4.18 on IRIX
6.5.
I've looked for these three symbols (TARGET_O_RDONLY, TARGET_O_WRONLY,
TARGET_O_RDWR) into the gdb sources; unfortunately I did't find any
definition of them.

If you know how to fix that, please let me know.

Regards,

Dragos Liciu
address@hidden
Ensemble Systems Inc. (http://www.ensemble-systems.com)
Office: (604) 232 4335
Home: (604) 715 2323


-----Original Message-----
From: David B Anderson [mailto:address@hidden
Sent: Wednesday, June 20, 2001 7:23 AM
To: address@hidden; Dragos Liciu
Subject: Re: gdb-5.0 build error on IRIX 6.5



>I tried to install gdb-5.0 on an IRIX 6.5 machine.
>"Configure" step was OK, but "make" step shows me the error below:
>-----------
>gcc  -o igen igen.o table.o  lf.o misc.o  filter_host.o  ld-decode.o
>ld-cache.o  filter.o  ld-insn.o  gen-model.o  gen-itable.o  gen-icache.o
>gen-semantics.o  gen-idecode.o  gen-support.o  gen-engine.o  gen.o
>../../libiberty/libiberty.a
>make: file `Makefile' line 285: Syntax error
>*** Error code 1 (bu21)
>*** Error code 1 (bu21)

I'll hazard a guess.

It seems likely you are using IRIX 'make' and that's not
going to work: there are various small dependencies on
using 'gnu make' in many software packages on the net.
Including gdb.

Instead install gnu make (you could call it 'gmake' 
on your machine)
(from http://freeware.sgi.com, for example) 

and do
        gmake


Regards,
David B. Anderson address@hidden address@hidden
http://reality.sgi.com/davea/ 
(reality.sgi.com to be permanently turned off --  around Aug 15, 2001)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]