Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!van-bc! From: lphillips@lpami.wimsey.bc.ca (Larry Phillips) Newsgroups: comp.sys.amiga Subject: Re: Arexx errors Keywords: arexx Message-ID: <687@lpami.wimsey.bc.ca> Date: 3 Aug 89 23:12:01 GMT Lines: 63 Return-Path: To: van-bc!rnews In <[958]un.amiga@tronsbox.UUCP>, tron1@tronsbox.UUCP (HIM) writes: > a make gives me a fine compile... and bad ... > > Udefined symbols: > > _CreateArgstring > _DeleteRexxMsg > _CreateRexxMsg > > al in 'fancydemo.o" These should all be picked up from rexxglue.o (they are in mine). There is a later version of ARexx than 1.0, and it is well worth having. If these symbols are not defined in your rexxglue.asm, the new version of ARexx should fix things up. While I'm at it, here's a glue routine that I wrote for StcToken. It was not supplied with my rexxglue.asm, and I needed it. Usage from C: ------------- struct Token = { char *Current char *NextToken int Length char Quote } structure = StcToken( stringptr, bufferptr ) Glue routine itself ------------------- XDEF _StcToken _StcToken move.l 4(sp),a0 ;get stringptr move.l a6,-(sp) ;save current lib pointer movea.l _RexxSysBase,a6 ;point to rexxlib jsr _LVOStcToken(a6) ;do it move.l 12(sp),a6 ;get buffer pointer move.l a1,(a6) ;fill in structure move.l a0,4(a6) move.l d1,8(a6) move.b d0,12(a6) move.l (sp)+,a6 ;restore lib pointer move.l d1,d0 ;return length of token rts ------------------- Add this to your rexxglue.asm if you need to call StcToken from C -larry -- "So what the hell are we going to do with a Sun?" - Darlene Phillips - +-----------------------------------------------------------------------+ | // Larry Phillips | | \X/ lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips | | COMPUSERVE: 76703,4322 -or- 76703.4322@compuserve.com | +-----------------------------------------------------------------------+