[comp.sys.amiga.programmer] Aztec link error! Help!

bosman@fwi.uva.nl (Dr.D) (05/28/91)

I got some ansi-c code from someone. It had some functions aztec 3.4
doesn't have (like strtok()  ).
So I thought I just take aztec 5.? cc , as , ln and c.lib and compile
it.  Compiling went great. No errors . (except for those error msgs that
are warnings in 3.4 but  -k  solves that)

Now I tried to link the files I got (5) but it gave errormsgs.

something about  agetc  and  Cbuffs  (I forgot the exact msg just the
standard error when it can't find a function). Why is this. It compiled
and linked 'good' under 3.4 (except ofcourse for the strtok etc) but it then
didn't say anything about Cbuffs or agetc.

I think I solved the agetc part. I read something about putting a #define in
my code..    #define agetc getc    or something like that. Is this correct?

But how do I solve the  Cbuffs part? I suppose it has something to do with
the include files.  

Cor

-- 
|bosman@fwi.uva.nl_   //    |  Honest Officer , had I known my health       |
|-----------------\\ //AMIGA|  stood in jeopardy I would never had lit one. |
|   [  PE  ]       \//      |              -MAXIM (of the Hells Angels)-    |
|__________ Quickly Scotty,beam me up.There is no ox..y..ge...______________|