Re: [cc65] unresolved externals in current SVN version

From: Christian Groessler <chris1groessler.org>
Date: 2010-06-26 00:02:18
Ok, I found it, sorry for the noise :-)

I had some old objects laying around in libsrc/common,
maperrno.o and oserrcheck.o, and then when building the atari.lib it 
showed an error

ar65: Error: Object file `common/maperrno.o' has wrong version

but somehow didn't stop the make and made an incomplete atari.lib.

I've deleted the objects and rebuilt atari.lib and now it works.

I think this change could be added to libsrc/Makefile (for all targets, 
not only Atari as shown here):

--- Makefile    (revision 4726)
+++ Makefile    (working copy)
@@ -84,7 +84,7 @@
 atarilib:
        for i in atari common runtime conio dbg em joystick tgi zlib; do \
            $(MAKE) SYS=atari -C $$i || exit 1; \
-           $(AR) a atari.lib $$i/*.o;\
+           $(AR) a atari.lib $$i/*.o || exit 1; \
        done
        cp atari/atari-stdjoy.joy ataristd.joy
        cp atari/atari-multijoy.joy atarimj8.joy


regards,
chris


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jun 25 23:57:05 2010

This archive was generated by hypermail 2.1.8 : 2010-06-25 23:57:07 CEST