www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/17/19:22:09

Date: Thu, 17 Aug 95 18:40:44 -0400
From: Wonkoo Kim <wkim+@pitt.edu>
To: djgpp users <djgpp AT sun DOT soe DOT clarkson DOT edu>
Reply-To: Wonkoo Kim <wkim+@pitt.edu>
Subject: Compile error on GRX 2.0 beta test

I installed djgpp v2.0 beta2 and GRX v2.0 beta (08-04-95, grx20dj.zip).
I checked djgpp 2.0 installation was working with 'hello.c'.
When I tried to build GRX 2.0 test program (modetest),
I got the following error.  What am I missing?
I am running under OS/2 DOS box on a P90.

D:\DJGPP\CONTRIB\GRX20\TEST>djmake
gcc -c -O6 -Wall -m486 -I../include arctest.c -o arctest.o
gcc  -o arctest.out arctest.o ../lib/libgrx20.a -lpc -lm
setmode.c(.text+0x4c7): undefined reference to `_iob'
setmode.c(.text+0x78b): undefined reference to `_iob'
setmode.c(.text+0x970): undefined reference to `_iob'
drvinfo.c(.text+0x7b): undefined reference to `_iob'
setdrvr.c(.text+0xc4): undefined reference to `_ctype_'
setdrvr.c(.text+0xdc): undefined reference to `_ctype_'
setdrvr.c(.text+0x206): undefined reference to `_ctype_'
setdrvr.c(.text+0x2cf): undefined reference to `_ctype_'
setdrvr.c(.text+0x2de): undefined reference to `_ctype_'
djmake.exe: *** [arctest.out] Error 1

Another thing is, in D:\djgpp\contrib\grx20\bin, I tried to make .exe by

	coff2exe modetest

but the output executable modetest.exe didn't work.  It crashed OS/2
DOS box.

Thanks.

//--------------------------------------------------------------------
// Wonkoo Kim
// wkim+@pitt.edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019