This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb/927: Missing ./bfd/bfd.h in gdb 5.3 tar file


The following reply was made to PR build/927; it has been noted by GNATS.

From: "Johan Vermeire WX21 /. Tel 54189" <Johan.Vermeire@alcatel.be>
To: Daniel Jacobowitz <drow@mvista.com>,
   Michael Elizabeth Chastain <mec@shout.net>
Cc: Johan.Vermeire@skynet.be, gdb-gnats@sources.redhat.com,
   gdb-prs@sources.redhat.com, nobody@sources.redhat.com
Subject: Re: gdb/927: Missing ./bfd/bfd.h in gdb 5.3 tar file
Date: Tue, 14 Jan 2003 11:45:00 +0100

 Daniel Jacobowitz wrote:
 
 > On Mon, Jan 13, 2003 at 11:22:35AM -0000, Johan.Vermeire@skynet.be wrote:
 > >
 > > >Number:         927
 > > >Category:       gdb
 > > >Synopsis:       Missing ./bfd/bfd.h in gdb 5.3 tar file
 > > >Confidential:   no
 > > >Severity:       serious
 > > >Priority:       high
 > > >Responsible:    unassigned
 > > >State:          open
 > > >Class:          sw-bug
 > > >Submitter-Id:   net
 > > >Arrival-Date:   Mon Jan 13 03:28:02 PST 2003
 > > >Closed-Date:
 > > >Last-Modified:
 > > >Originator:     Johan Vermeire
 > > >Release:        5.3
 > > >Organization:
 > > >Environment:
 > > SunOS btm0gn 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-5_10
 > > >Description:
 > > ./bfd/bfd.h is missing.
 > >
 > > Configure step:
 > > btm0gn:/home/jvme/bin/gdb-5.3/build> /home/jvme/bin/gdb-5.3/gdb/configure
 > > --host=sparc-sun-solaris2.8 --prefix=/cmx_tools2/3EZ00321_gdb_Sol_2.8
 > > --exec-prefix=/cmx_tools2/3EZ00321_gdb_Sol_2.8
 > >
 > > make step:
 > > btm0gn:/home/jvme/bin/gdb-5.3/build> make
 > > make: *** No rule to make target `../bfd/bfd.h', needed by `gdb.o'.  Stop.
 >
 > bfd.h shouldn't be included.  Could you try this again; run configure
 > from /home/jvme/bin/gdb-5.3/configure, not from the one under the GDB
 > directory.  You've got to build the whole thing.
 >
 > --
 > Daniel Jacobowitz
 > MontaVista Software                         Debian GNU/Linux Developer
 
 Hi Daniel & Michael,
 
 I had first tried to configure & build on a separated 'build' dir under
 /home/jvme/bin/gdb-5.3/ like
 recommended in the /home/jvme/bin/gdb-5.3/gdb/README :
 "
 However, we recommend that an empty directory be used instead.
 This way you do not clutter your source tree with binary files
 and will be able to create different builds with different
 configuration options.
 
 You can build GDB in any empty build directory:
 
       mkdir build
       cd build
       <full path to your sources>/gdb-5.3/configure
       make
       cp gdb/gdb /usr/local/bin/gdb (or wherever you want)
 "
 
 The configuration succeeds, but building fails:
 
 gcc -DHAVE_CONFIG_H -I. -I/home/jvme/bin/gdb-5.3/bfd -I. -D_GNU_SOURCE -I.
 -I/home/jvme/bin/gdb-5.3/bfd -I/home/jvme/bin/gdb-5.3/bfd/../include
 -I/home/jvme/bin/gdb-5.3/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes
 -Wmissing-prototypes -g -O2 -c /home/jvme/bin/gdb-5.3/bfd/elf32.c -o elf32.o
 In file included from /home/jvme/bin/gdb-5.3/bfd/elfcode.h:69,
                  from /home/jvme/bin/gdb-5.3/bfd/elf32.c:22:
 /home/jvme/bin/gdb-5.3/bfd/../include/libiberty.h:80: warning: function
 declaration isn't a prototype
 In file included from /home/jvme/bin/gdb-5.3/bfd/elfcode.h:1646,
                  from /home/jvme/bin/gdb-5.3/bfd/elf32.c:22:
 /home/jvme/bin/gdb-5.3/bfd/elflink.h: In function `elf_link_add_object_symbols':
 
 /home/jvme/bin/gdb-5.3/bfd/elflink.h:1673: `SEC_THREAD_LOCAL' undeclared (first
 use in this function)
 /home/jvme/bin/gdb-5.3/bfd/elflink.h:1673: (Each undeclared identifier is
 reported only once
 /home/jvme/bin/gdb-5.3/bfd/elflink.h:1673: for each function it appears in.)
 /home/jvme/bin/gdb-5.3/bfd/elflink.h: In function `bfd_elf32_bfd_final_link':
 /home/jvme/bin/gdb-5.3/bfd/elflink.h:4937: `SEC_THREAD_LOCAL' undeclared (first
 use in this function)
 make[3]: *** [elf32.lo] Error 1
 make[3]: Leaving directory `/home/jvme/bin/gdb-5.3/build/bfd'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/jvme/bin/gdb-5.3/build/bfd'
 make[1]: *** [all-recursive-am] Error 2
 make[1]: Leaving directory `/home/jvme/bin/gdb-5.3/build/bfd'
 make: *** [all-bfd] Error 2
 btm0gn:/home/jvme/bin/gdb-5.3/build>
 
 
 Then I thought I had to config & build in the gdb dir...
 So I became to gdb bug error report 927, which you can now reject (Sorry about
 this...)
 
 
 Now I have succesfull configure and build gdb 5.3 on Sparc Solaris 2.8
 with gcc 2.95.3 & gnu make 3.80 on /home/jvme/bin/gdb-5.3 .
 
 Thanks very much for the support and help,
 
 Regards,
 
 --
 ---------------------------------------------------------
 Johan Vermeire  Phone: +32-3-2404189  T&T-WX-7770-RDN-BND
                 Fax:   +32-3-2409816      Alcatel Belgium
 ---------------------------------------------------------
 
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]