Camm, With your patch below applied to the current Silver version of Axiom with the modified gcl-2.6.8pre pulled from cvs, I get a different result, but an error persists:
$tail -18 build3.log Loading /home/page/axiom.build-improvements/obj/linux/interp/cformat.o start address -T 0x857a700 Finished loading /home/page/axiom.build-improvements/obj/linux/interp/cformat.o Loading /home/page/axiom.build-improvements/obj/linux/interp/cfuns.o directoryp is undefined Error: Cannot get relocated section contents Fast links are on: do (si::use-fast-links nil) for debugging Error signalled by LOAD. Broken at BUILD-INTERPSYS. Type :H for Help. BOOT>>make[4]: *** [/home/page/axiom.build-improvements/obj/linux/bin/interpsys] Error 255 make[4]: Leaving directory `/home/page/axiom.build-improvements/src/interp' make[3]: *** [interpdir] Error 2 make[3]: Leaving directory `/home/page/axiom.build-improvements/src' make[2]: *** [srcdir] Error 2 make[2]: Leaving directory `/home/page/axiom.build-improvements' make[1]: *** [do-all] Error 2 make[1]: Leaving directory `/home/page/axiom.build-improvements' make: *** [all] Error 2 -------- directoryp is a C function defined in 'src/lib/cfuns-c.c.pamphlet'. I have checked the rest of the build3.log and it seems to me that cfuns-c was built and linked properly, i.e. the "old way" via an ini file. Got any ideas? Regards, Bill Page. > -----Original Message----- > From: Camm Maguire [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 15, 2006 6:19 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; > [email protected]; [EMAIL PROTECTED]; > [email protected]; [EMAIL PROTECTED] > Subject: Re: NULL_OR_ON_C_STACK macro invalid (was: noweb) > > Greetings! > > --- axiom-20050901.orig/src/interp/cfuns.lisp.pamphlet > +++ axiom-20050901/src/interp/cfuns.lisp.pamphlet > @@ -103,10 +103,10 @@ > > #+(AND KCL (NOT ELF)) > (Clines > -"unsigned int MYCOMBINE(i,j)" > -"unsigned int i,j;" > +"int MYCOMBINE(i,j)" > +"int i,j;" > "{" > -"return ( (((j & 16777215) << 6)+i) % 1073741789);" > +"return ( (((((unsigned int)j) & 16777215) << 6)+((unsigned > int)i)) % 1073741789);" > "}" > ) > #+(AND KCL (NOT ELF)) > --- axiom-20050901.orig/src/interp/hash.lisp.pamphlet > +++ axiom-20050901/src/interp/hash.lisp.pamphlet > @@ -81,7 +81,7 @@ > (define-function 'HASHTABLE-CLASS #'system::hash-table-test) > > #+AKCL > -(clines "static int mem_value(x ,i)object x;int i; { return > ((short *)x)[i];}") > +(clines "int mem_value(x ,i)object x;int i; { return ((short > *)x)[i];}") > #+AKCL > (defentry memory-value-short(object int) (int "mem_value")) > > --- axiom-20050901.orig/src/interp/sockio.lisp.pamphlet > +++ axiom-20050901/src/interp/sockio.lisp.pamphlet > @@ -78,7 +78,7 @@ > (defentry sock_send_int (int int) (int "sock_send_int")) > (defentry sock_get_string_buf (int string int) (int > "sock_get_string_buf")) > (defentry sock_send_string_len (int string int) (int > "sock_send_string_len")) > - (defentry sock_get_float (int) (float "sock_get_float")) > + (defentry sock_get_float (int) (double "sock_get_float")) > (defentry sock_send_float (int float) (int "sock_send_float")) > (defentry sock_send_wakeup (int int) (int "sock_send_wakeup")) > (defentry server_switch () (int "server_switch")) > > > Please let me know if there is any problem with these. > > Take care, > > root <[EMAIL PROTECTED]> writes: > > > Camm, > > > > > I had to make the following modifications to 20050901 to > work with the > > > latest 2.6.8pre: > > > > Axiom has had several releases since 20050901. > > What do we need to do to bring it up to date? > > > > t > > > > > > > > -- > Camm Maguire > [EMAIL PROTECTED] > ============================================================== > ============ > "The earth is but one country, and mankind its citizens." -- > Baha'u'llah > _______________________________________________ Axiom-developer mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/axiom-developer
