From: "Nick A. van Goor" Subject: _iob and _ctype_ missing in V2 ? To: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP Mailing List) Date: Wed, 19 Jul 1995 16:00:54 -0400 (EDT) Cc: nick AT pandaemonium DOT engr DOT utk DOT edu (Nick A. van Goor) Greetings ! I recently (yesterday) switched to V2, because I was having lots of problems dealing with hardware interrupts with V1.12. I had to rewrite some of my code to adapt it, but it all compiles fine now. The linking is the problem. I get the following output when running make : gcc -I/include -I. -O -g -Wall -o chaos interrup.o chaos.o csystem.o moonbeam.o vector.o -L/lib -L. -lgraph -lgrx -liostream -lm -lgpp -lpc textsize.c(.text+0x59): undefined reference to `_iob' setmode.c(.text+0x246): undefined reference to `_iob' setmode.c(.text+0x360): undefined reference to `_iob' setmode.c(.text+0x438): undefined reference to `_iob' fileutil.c(.text+0x1c): undefined reference to `_ctype_' fileutil.c(.text+0x3b): undefined reference to `_ctype_' fileutil.c(.text+0x4c): undefined reference to `_ctype_' fileutil.c(.text+0x67): undefined reference to `_ctype_' fileutil.c(.text+0xae): undefined reference to `_ctype_' fileutil.c(.text+0xd9): more undefined references to `_ctype_' follow voiddrv.c(.text+0x3f): undefined reference to `_iob' make.exe: *** [chaos] Error 1 The references to _iob and _ctype_ are in the libgrx code. Am I missing something obvious here, or what ? Any help/suggestions would be greatly appreciated ! Nick