public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* Can't build sid
@ 2001-08-09  4:21 Robert Cragie
  2001-08-09  4:42 ` Frank Ch. Eigler
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Cragie @ 2001-08-09  4:21 UTC (permalink / raw)
  To: sid

I am trying to build SID, CVS version checked out at approx. 9th August 2001
0900 GMT, and I get the following error.

I did the following:

configure --prefix=/usr/local/sid/bin
make -w all install 2>&1 | tee make.out

I am using gcc version 2.95.3.

Here is the offending stuff from make.out:

[snip]
Making all in arm7t
make[6]: Entering directory
`/usr/src/sid/build/sid/component/cgen-cpu/arm7t'
/bin/sh ./libtool --mode=compile
++ -DPACKAGE=\"sidcomp\" -DVERSION=\"0.1\"  -I. -I../../../../../src/sid/com
ponent/cgen-cpu/arm7t  -I../../../../../src/sid/component/cgen-cpu/arm7t -I.
./../../../../src/sid/component/cgen-cpu/arm7t/.. -I../../../include -I../..
/../../../src/sid/component/cgen-cpu/arm7t/../../../include -I../../../../bf
d -I../../../../../src/sid/component/cgen-cpu/arm7t/../../../../include    -
g -O2 -c ../../../../../src/sid/component/cgen-cpu/arm7t/arm7f.cxx
c++ -DPACKAGE=\"sidcomp\" -DVERSION=\"0.1\" -I. -I../../../../../src/sid/com
ponent/cgen-cpu/arm7t -I../../../../../src/sid/component/cgen-cpu/arm7t -I..
/../../../../src/sid/component/cgen-cpu/arm7t/.. -I../../../include -I../../
../../../src/sid/component/cgen-cpu/arm7t/../../../include -I../../../../bfd
 -I../../../../../src/sid/component/cgen-cpu/arm7t/../../../../include -g -O
2 -Wp,-MD,.deps/arm7f.pp -c
../../../../../src/sid/component/cgen-cpu/arm7t/arm7f.cxx -o arm7f.o
In file included from
../../../../../src/sid/component/cgen-cpu/arm7t/arm7f.h:13,
                 from
../../../../../src/sid/component/cgen-cpu/arm7t/arm7f.cxx:8:
../../../../../src/sid/component/cgen-cpu/arm7t/../cgen-cpu.h:27: dis-asm.h:
No such file or directory
make[6]: *** [arm7f.lo] Error 1
make[6]: Leaving directory `/usr/src/sid/build/sid/component/cgen-cpu/arm7t'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/usr/src/sid/build/sid/component/cgen-cpu'
make[4]: *** [all-recursive-am] Error 2
make[4]: Leaving directory `/usr/src/sid/build/sid/component/cgen-cpu'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/sid/build/sid/component'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/usr/src/sid/build/sid/component'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/sid/build/sid'
make: *** [all-sid] Error 2
make: Leaving directory `/usr/src/sid/build'

Can anyone help?

Robert Cragie
Design Engineer
Jennic Ltd.
Furnival Street
Sheffield
S1 4QT
United Kingdom
Tel: +44 (0) 114 281 4512
Fax: +44 (0) 114 281 2951
Mob: +44 (0) 7940 558520
mailto:rcc@jennic.com
http://www.jennic.com

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

* Re: Can't build sid
  2001-08-09  4:21 Can't build sid Robert Cragie
@ 2001-08-09  4:42 ` Frank Ch. Eigler
  2001-08-09  5:18   ` Robert Cragie
  0 siblings, 1 reply; 7+ messages in thread
From: Frank Ch. Eigler @ 2001-08-09  4:42 UTC (permalink / raw)
  To: Robert Cragie; +Cc: sid

Hi -

On Thu, Aug 09, 2001 at 12:21:23PM +0100, Robert Cragie wrote:
: I am trying to build SID, CVS version checked out at approx. 9th August 2001
: 0900 GMT, and I get the following error.
: [...]
: ../../../../../src/sid/component/cgen-cpu/arm7t/arm7f.cxx:8:
: ../../../../../src/sid/component/cgen-cpu/arm7t/../cgen-cpu.h:27: dis-asm.h:
: No such file or directory
: [...]

This is most likely because you didn't have a newly required sibling directory,
src/opcodes/ checked out beside src/sid/.  sid is being taught how to do
on-the-fly disassembly of instructions it is executing, by calling into the
gnu opcodes library.  (The opcodes library is shared by the gnu assembler,
disassembler tools, and the debugger, and handles individual
machine language <-> assembly language instruction translations.)

We are in the process of revamping the details of this mechanism, by the way.


- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD4DBQE7cnb9VZbdDOm/ZT0RAum3AJYxtf0yu252dhthOCxFXYpZ9vCTAJ9BFEpc
NRxZ1hkWO4Vy7iwo364TcQ==
=Zam+
-----END PGP SIGNATURE-----

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

* RE: Can't build sid
  2001-08-09  4:42 ` Frank Ch. Eigler
@ 2001-08-09  5:18   ` Robert Cragie
  2001-08-09  5:22     ` Frank Ch. Eigler
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Cragie @ 2001-08-09  5:18 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: sid

> This is most likely because you didn't have a newly required 
> sibling directory,
> src/opcodes/ checked out beside src/sid/.

So how do I get these files? I tried:

cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co sid/src/opcodes

and didn't get any more files...

Robert


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

* Re: Can't build sid
  2001-08-09  5:18   ` Robert Cragie
@ 2001-08-09  5:22     ` Frank Ch. Eigler
  2001-08-09  5:45       ` Robert Cragie
  0 siblings, 1 reply; 7+ messages in thread
From: Frank Ch. Eigler @ 2001-08-09  5:22 UTC (permalink / raw)
  To: Robert Cragie; +Cc: sid

Hi -

On Thu, Aug 09, 2001 at 01:18:37PM +0100, Robert Cragie wrote:
: So how do I get these files? I tried:
: cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co sid/src/opcodes
: and didn't get any more files...

Try 

# cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co opcodes

as opcodes/ is a sibling (not a subdirectory) of sid/.


- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7coBqVZbdDOm/ZT0RArVIAJ9Y+L1ACJBBb4zbke2pv4OAF3MQIwCfdKfi
tzaXv0U64ie+OfkXa9FYBgk=
=6Y9V
-----END PGP SIGNATURE-----

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

* RE: Can't build sid
  2001-08-09  5:22     ` Frank Ch. Eigler
@ 2001-08-09  5:45       ` Robert Cragie
  2001-08-09  6:35         ` Frank Ch. Eigler
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Cragie @ 2001-08-09  5:45 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: sid

> Try
>
> # cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co opcodes
>
> as opcodes/ is a sibling (not a subdirectory) of sid/.

I did actually try that first and it didn't work, so I assumed I was totally
wrong with that :-)

Here's what I get:

cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co opcodes
cvs server: cannot find module `opcodes' - ignored
cvs [checkout aborted]: cannot expand modules

Robert

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

* Re: Can't build sid
  2001-08-09  5:45       ` Robert Cragie
@ 2001-08-09  6:35         ` Frank Ch. Eigler
  2001-08-09 10:33           ` Robert Cragie
  0 siblings, 1 reply; 7+ messages in thread
From: Frank Ch. Eigler @ 2001-08-09  6:35 UTC (permalink / raw)
  To: Robert Cragie; +Cc: sid

Hi -

: I did actually try that first and it didn't work, so I assumed I was totally
: wrong with that :-)

Nah, something's just missing in the CVS modules file - sorry about that.

: cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co opcodes

Hmm.  According to "cvs [...] co -c", the opcodes module doesn't exist
by itself.  You could alternatively fetch the "binutils", or even "gdb"
modules, since you'll probably need those tools to construct/debug the
programs you might be running on the simulator.

- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7cpGxVZbdDOm/ZT0RAl0UAJ98oQ/PgzggGqtb0dKRrixrmFcvwQCggFfD
d7leW9osziq8+JzeXbstukg=
=CY0L
-----END PGP SIGNATURE-----

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

* RE: Can't build sid
  2001-08-09  6:35         ` Frank Ch. Eigler
@ 2001-08-09 10:33           ` Robert Cragie
  0 siblings, 0 replies; 7+ messages in thread
From: Robert Cragie @ 2001-08-09 10:33 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: sid

> Hmm.  According to "cvs [...] co -c", the opcodes module doesn't exist
> by itself.  You could alternatively fetch the "binutils", or even "gdb"
> modules, since you'll probably need those tools to construct/debug the
> programs you might be running on the simulator.

OK - succeeded now. For the record, I fetched the gdb module into the same
tree as sid using

cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co gdb

I then had to reconfigure the whole lot and build again from scratch.

Thanks for your help

Robert

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

end of thread, other threads:[~2001-08-09 10:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-09  4:21 Can't build sid Robert Cragie
2001-08-09  4:42 ` Frank Ch. Eigler
2001-08-09  5:18   ` Robert Cragie
2001-08-09  5:22     ` Frank Ch. Eigler
2001-08-09  5:45       ` Robert Cragie
2001-08-09  6:35         ` Frank Ch. Eigler
2001-08-09 10:33           ` Robert Cragie

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).