Path: chuka.playstation.co.uk!news From: "Craig Graham" Newsgroups: scee.yaroze.freetalk.english Subject: Re: ARS 2.0 with Gnu Date: 22 Jul 1998 08:26:46 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 26 Message-ID: <01bdb54a$280ba0e0$f30b0a0a@Angela1.intelligent-group.com> References: <35B58D32.2A241BA6@sinclair.net> NNTP-Posting-Host: d3-s32-197-telehouse.mistral.co.uk X-Newsreader: Microsoft Internet News 4.70.1155 Joshua Meeds wrote in article <35B58D32.2A241BA6@sinclair.net>... > Hey, has anyone successfully used Craig Grahm's ARS 2.0 with Gnu C? Any > tips on getting it to compile? I thought I followed the DOC file exact, > but when I compile just using one command I get this: > > Infinity.c:88: undefined reference to `cg_bload' > Infinity.c:88: relocation truncated to fit: JMPADDR cg_bload Don't use cg_bload. It doesn't work. Use open/read/close instead. > Do I have to specially link the ARS lib in? If so, how? The docs show > to add a couple things to the GCC line, but I still get the messages. How exactly are you compiling (exact command line to GCC)? You have to put "libar.a" in your libs directory (where "libps.a" is), and use the switchs: gcc -DAR_DEBUG main.c -lar The "-lar" switch will link in the lib for you. > - Joshua Meeds Craig.