Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!cbmvax!carolyn From: carolyn@cbmvax.UUCP Newsgroups: comp.sys.amiga Subject: Re: Calling CINIT from LATTICE-C and/or MANX/Atztec-C Message-ID: <1464@cbmvax.cbmvax.cbm.UUCP> Date: Wed, 25-Feb-87 10:32:08 EST Article-I.D.: cbmvax.1464 Posted: Wed Feb 25 10:32:08 1987 Date-Received: Fri, 27-Feb-87 07:26:44 EST References: <1049@rutgers.RUTGERS.EDU> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner) Organization: Commodore Technology, West Chester, PA Lines: 23 In article <1049@rutgers.RUTGERS.EDU> XBR2D995@DDATHD21.BITNET writes: >one of my coworkers has a request. He want's to call the routine >CINIT (initializes a User-CopperList ???) from Lattice-C or from >Manx-C. Both compilers seem to know the routine, but at link time >it is not available. CINIT is a macro defined in graphics/gfxmacros.h. It calls UCopperListInit(). Unfortunately, the stub for UCopperListInit() is missing from 1.1 Amiga.lib (thus the unresolved reference). So you either need 1.2 Amiga.lib or you can try replacing the CINIT with: cl = AllocMem(sizeof(struct UCopList),MEMF_PUBLIC|MEMF_CLEAR); (From Addison/Wesley RK Libs&Devs, page 64) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CBM >>Amiga Technical Support<< UUCP ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=