Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!stjhmc!p12.f56.n114.z1.fidonet.org!Chris.Gehlker From: Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) Newsgroups: comp.sys.mac.programmer Subject: What does a guy have to do to use ctype.h ???? Message-ID: <33372.277AD121@stjhmc.fidonet.org> Date: 28 Dec 90 04:26:28 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:114/56.12 - AZ MAC UG, Phoenix AZ Lines: 27 MR> What on earth am I doing wrong in the following test programme?? MR> The compiler says it all fine and dandy, but it won't link. MR> #include MR> #include MR> main() { if (isalpha('a')) printf("say something"); else MR> printf("say something else"); } MR> The linker chokes on it and spits out the following error message: MR> MR> ### Link: Error: Undefined entry, name: (Error 28) "__p_CType" MR> Referenced from: main in file: test.c.o ### Link: Errors prevented MR> normal completion. Just turning CreateMake loose on it produced: Link -d -c 'MPS ' -t MPST {OBJECTS} #Test.c.o "{CLibraries}"StdClib.o "{Libraries}"Stubs.o "{Libraries}"Runtime.o "{Libraries}"Interface.o -o Test which works here. -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org