public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: "Robert Cragie" <rcc@jennic.com>
To: <ashutoshvyas@tataelxsi.co.in>
Cc: "SID" <sid@sources.redhat.com>
Subject: RE: Patch to fix init_disassemble_info linking
Date: Mon, 10 May 2004 13:33:00 -0000	[thread overview]
Message-ID: <NMEDLDELHPEFHOMFIJBHMECJDEAA.rcc@jennic.com> (raw)
In-Reply-To: <000201c4366a$adbaa4a0$5514010a@telxsi.com>

It looks like there is an error in the Makefile, which has come from
Makefile.in, which is in turn generated by 'automake' from Makefile.am - I
feel it might be something to do with incompatibilities in 'automake'. The
error is probably this line, as there is no '\' at the end:

> OPCODES_COMPILE_FLAGS =
-DHAVE_CONFIG_H       -I../../../opcodes      -I../../../bfd

If you have 'automake' on your cygwin system (if not, I would suggest
getting it from Redhat), I would patch 'Makefile.am' only, then run
automake.

Alternatively you could try this simpler patch for 'Makefile.in' which sorts
the problem out:

Index: sid/component/cgen-cpu/Makefile.in
===================================================================
RCS file: /cvs/src/src/sid/component/cgen-cpu/Makefile.in,v
retrieving revision 1.9
diff -r1.9 Makefile.in
115,116c115,116
< libcgencpu_la_LIBADD = @cpu_libs@ $(INTLLIBS) $(LIBIBERTY) cgen-asm.lo
cgen-dis.lo cgen-opc.lo dis-buf.lo
< libcgencpu_la_DEPENDENCIES = @cpu_libs@ cgen-asm.lo cgen-dis.lo
cgen-opc.lo
dis-buf.lo
---
> libcgencpu_la_LIBADD = @cpu_libs@ $(INTLLIBS) $(LIBIBERTY) cgen-asm.lo
cgen-dis.lo cgen-opc.lo dis-buf.lo dis-init.lo
> libcgencpu_la_DEPENDENCIES = @cpu_libs@ cgen-asm.lo cgen-dis.lo
cgen-opc.lo
dis-buf.lo dis-init.lo
580a573,575
>       /bin/sh ./libtool --mode=compile $(CC) $(OPCODES_COMPILE_FLAGS)
$(CFLAGS)
-c $<
>
> dis-init.lo: ../../../opcodes/dis-init.c

You then need to do:

make distclean
../src/configure ...etc.
make all 2>&1 | tee make.out

Please supply inline text output of the error, not JPEGs and especially not
bitmaps (as they are large). If you look at the 'make all' line above, it
shows you how to do this. The result of the build will then be in
'make.out' - you can cut and paste the error bit.

Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT,  UK
http://www.jennic.com  Tel: +44 (0) 114 281 2655
_______________________________________________________________

> -----Original Message-----
> From: Ashutosh [mailto:ashutoshvyas@tataelxsi.co.in]
> Sent: 10 May 2004 09:42
> To: 'Robert Cragie'
> Subject: RE: Patch to fix init_disassemble_info linking
>
>
> Dear Robert ,
> Thanks for your solution.I had followed the step which you had
> given in your
> mail. I patched the Makefile.in and Makefile.asm.
> But I am obtaining new error. Please have a look. It is in the JPEG
format,
> attached with this mail.
> Regards,
> Ashutosh

(from JPEG):
Makefile:119: *** missing separator.  Stop.

       reply	other threads:[~2004-05-10 13:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <000201c4366a$adbaa4a0$5514010a@telxsi.com>
2004-05-10 13:33 ` Robert Cragie [this message]
2004-05-10 17:14   ` Frank Ch. Eigler
2004-05-11 13:54     ` Robert Cragie
2004-05-14  7:45       ` Ashutosh
2004-05-14  8:37         ` Robert Cragie
2004-05-08 15:24 Robert Cragie
2004-05-08 20:06 ` Frank Ch. Eigler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NMEDLDELHPEFHOMFIJBHMECJDEAA.rcc@jennic.com \
    --to=rcc@jennic.com \
    --cc=ashutoshvyas@tataelxsi.co.in \
    --cc=sid@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).