This is the mail archive of the sid@sources.redhat.com mailing list for the SID 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: Patch to fix init_disassemble_info linking


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.


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