Xref: news-dnh.mv.net comp.os.msdos.djgpp:1092 Path: news-dnh.mv.net!mv!news.sprintlink.net!cs.utexas.edu!convex!darwin.sura.net!martha.utk.edu!pandaemonium.engr.utk.edu!nick From: nick AT pandaemonium DOT engr DOT utk DOT edu (Nick A. van Goor) Newsgroups: comp.os.msdos.djgpp Subject: _iob and _ctype_ missing in V2 ? Date: 18 Jul 1995 15:14:53 GMT Organization: University of Tennessee, Knoxville Lines: 30 Nntp-Posting-Host: pandaemonium.engr.utk.edu Keywords: V2, linking, libgrx To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp 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