public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* No rule to make include/elf/vxworks.h
@ 2007-11-09 22:23 Rob Quill
  2007-11-09 22:29 ` H.J. Lu
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Quill @ 2007-11-09 22:23 UTC (permalink / raw)
  To: gdb

Hi,

When trying to compile from the current CVS I get the following error:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -I.
-I../../src/bfd -I../../src/bfd/../include -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c
../../src/bfd/dwarf1.c -o dwarf1.o
rm -f elf32-target.h
sed -e s/NN/32/g < ../../src/bfd/elfxx-target.h > elf32-target.new
mv -f elf32-target.new elf32-target.h
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../src/bfd -I. -I. -I../../src/bfd -I../../src/bfd/../include
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o
elf32-i386.lo ../../src/bfd/elf32-i386.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -I.
-I../../src/bfd -I../../src/bfd/../include -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c
../../src/bfd/elf32-i386.c -o elf32-i386.o
make[4]: *** No rule to make target
`../../src/bfd/../include/elf/vxworks.h', needed by `elf-vxworks.lo'.
Stop.

I did "make clean", "make distclean", then "../src/configure", then "make".

Is anyone else getting this error?

Thanks for your help.

Rob

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No rule to make include/elf/vxworks.h
  2007-11-09 22:23 No rule to make include/elf/vxworks.h Rob Quill
@ 2007-11-09 22:29 ` H.J. Lu
  2007-11-10  1:13   ` Rob Quill
  0 siblings, 1 reply; 5+ messages in thread
From: H.J. Lu @ 2007-11-09 22:29 UTC (permalink / raw)
  To: Rob Quill; +Cc: gdb

On Fri, Nov 09, 2007 at 10:23:47PM +0000, Rob Quill wrote:
> Hi,
> 
> When trying to compile from the current CVS I get the following error:
> 

Use "cvs co binutils" to update from CVS.


H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No rule to make include/elf/vxworks.h
  2007-11-09 22:29 ` H.J. Lu
@ 2007-11-10  1:13   ` Rob Quill
  2007-11-10  1:31     ` Joel Brobecker
       [not found]     ` <20071110012915.GA16646@lucon.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Rob Quill @ 2007-11-10  1:13 UTC (permalink / raw)
  To: H.J. Lu; +Cc: gdb

On 09/11/2007, H.J. Lu <hjl@lucon.org> wrote:
> On Fri, Nov 09, 2007 at 10:23:47PM +0000, Rob Quill wrote:
> > Hi,
> >
> > When trying to compile from the current CVS I get the following error:
> >
>
> Use "cvs co binutils" to update from CVS.

I have checked out binutils into the same directory, so i have
./src/gdb and also now ./src/binutils. If I do a configure and build
from the top level, i.e. ./src/configure then I get the same error as
before. If i try to configure and build binutils on its own I get the
error message:

make[2]: *** No rule to make target `../bfd/libbfd.la', needed by `size'. Stop.

and if I try to build libbfd on it's own then I get the same original
error message:

make[2]: *** No rule to make target
`../../src/bfd/../include/elf/vxworks.h', needed by `elf-vxworks.lo'.
Stop.

Is this a dependency problem? Or am I just not compiling things in the
right order or something?

Thanks for your help.

Rob Quill

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No rule to make include/elf/vxworks.h
  2007-11-10  1:13   ` Rob Quill
@ 2007-11-10  1:31     ` Joel Brobecker
       [not found]     ` <20071110012915.GA16646@lucon.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Joel Brobecker @ 2007-11-10  1:31 UTC (permalink / raw)
  To: Rob Quill; +Cc: H.J. Lu, gdb

Not sure how you are trying to build GDB.

I'm on x86-linux. If I do a fresh check-out of GDB:

   % cvs -d sourceware.org:/cvs/src co gdb

And then build it using:

   % configure
   % make

It builds. Either your sources are a bit screwed, or you are using
a different environement. We'll probably need to get more info from
you to be able to help you.

-- 
Joel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No rule to make include/elf/vxworks.h
       [not found]     ` <20071110012915.GA16646@lucon.org>
@ 2007-11-13  9:57       ` Rob Quill
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Quill @ 2007-11-13  9:57 UTC (permalink / raw)
  To: H.J. Lu; +Cc: gdb

On 10/11/2007, H.J. Lu <hjl@lucon.org> wrote:
> On Sat, Nov 10, 2007 at 01:13:48AM +0000, Rob Quill wrote:
> > On 09/11/2007, H.J. Lu <hjl@lucon.org> wrote:
> > > On Fri, Nov 09, 2007 at 10:23:47PM +0000, Rob Quill wrote:
> > > > Hi,
> > > >
> > > > When trying to compile from the current CVS I get the following error:
> > > >
> > >
> > > Use "cvs co binutils" to update from CVS.
> >
> > I have checked out binutils into the same directory, so i have
> > ./src/gdb and also now ./src/binutils. If I do a configure and build
>
> You need to use
>
> # cvs co binutils
>
> in the parent diretory of src.

Thanks for the help everyone. In the end I solved this by just
checking out a fresh copy and building in, then patching the changes I
had made previously to it.

Rob

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-13  9:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-09 22:23 No rule to make include/elf/vxworks.h Rob Quill
2007-11-09 22:29 ` H.J. Lu
2007-11-10  1:13   ` Rob Quill
2007-11-10  1:31     ` Joel Brobecker
     [not found]     ` <20071110012915.GA16646@lucon.org>
2007-11-13  9:57       ` Rob Quill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).