Mail Archives: djgpp/2000/06/14/19:30:13
From: | Couperin <f DOT couperin AT online DOT fr>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | GRX23 configuration : help needed
|
Message-ID: | <39481386.6045583@news.free.fr>
|
X-Newsreader: | Forte Free Agent 1.21/32.243
|
Lines: | 141
|
Date: | Wed, 14 Jun 2000 23:17:06 GMT
|
NNTP-Posting-Host: | 212.27.42.32
|
X-Complaints-To: | abuse AT proxad DOT net
|
X-Trace: | nnrp1.proxad.net 961024626 212.27.42.32 (Thu, 15 Jun 2000 01:17:06 MEST)
|
NNTP-Posting-Date: | Thu, 15 Jun 2000 01:17:06 MEST
|
Organization: | Guest of ProXad - France
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hello,
Who can help me to solve a configuration problem with GRX23 ?
When I try to compile something with GCC or GPC (with RHIDE or in the
MS-DOS command prompt), that involve GRX23, I have a lot of errors
messages : "undefined reference to" ...ALL the GRX procedures !
I thought GRX23 was correctly installed on my computer, because I
could run all the test programs, and because I succeeded in installing
BCC2GRX (and in running BCC2GRX test programs). But when I tried to
install the demo files of BGI2GRX, it failed. I thought it was a
problem with it and send a message in this newsgroup under the subject
"[GPC] How to install BGI2GRX ?" I had no answer.
I looked in the archives but found no help
(http://www.delorie.com/djgpp/mail-archives/)... So, I tried by myself
to solve the problem and it seems to me, now, that it's a problem with
the configuration of GRX23. I tried several changes in autoexec.bat
and in djgpp.env but it solved nothing...
Here are the details of my problem :
When I run make_all.bat, a BGI2GRX file (to install demo files)...
when I put all the demo programs sources of GRX23 in my working
directory (c:\djgpp\work\) and try to compile one of them...
when I do the same things with GCC2GRX demo programs...
I ALWAYS get messages like that :
C:\djgpp\travail>gcc -o circtest.exe circtest.c {that is my command}
c:/djgpp/tmp\cccybg5l(.text+0x161):circtest.c: undefined reference to
`GrFilledBox'
c:/djgpp/tmp\cccybg5l(.text+0x27c):circtest.c: undefined reference to
`GrLine'
c:/djgpp/tmp\cccybg5l(.text+0x397):circtest.c: undefined reference to
`GrLine'
c:/djgpp/tmp\cccybg5l(.text+0x4c3):circtest.c: undefined reference to
`GrLine'
c:/djgpp/tmp\cccybg5l(.text+0x5ef):circtest.c: undefined reference to
`GrLine'
c:/djgpp/tmp\cccybg5l(.text+0x73f):circtest.c: undefined reference to
`GrLine'
c:/djgpp/tmp\cccybg5l(.text+0x88f):circtest.c: more undefined
references to `GrLine' follow
c:/djgpp/tmp\cccybg5l(.text+0xa1a):circtest.c: undefined reference to
`GrBox'
c:/djgpp/tmp\cccybg5l(.text+0xb4b):circtest.c: undefined reference to
`GrFilledBox'
c:/djgpp/tmp\cccybg5l(.text+0xca5):circtest.c: undefined reference to
`GrBox'
c:/djgpp/tmp\cccybg5l(.text+0xdbe):circtest.c: undefined reference to
`GrPlot'
c:/djgpp/tmp\cccybg5l(.text+0xefa):circtest.c: undefined reference to
`GrSetMode'
c:/djgpp/tmp\cccybg5l(.text+0xf21):circtest.c: undefined reference to
`GrSetMode'
[...]
- - - - - - - - - - -
Here are the files I downloaded to install DGJPP, with the help found
on a french site (l'ABC de la Programmation
http://www.multimania.com/abcp/accueil.html (Merci à Opie & Co !)) :
GCC 2.81 - gcc281b.zip (an old version to run GPC without
problems)
djdev203.zip
bnu281b.zip
mak377b.zip
rhide14b.zip
gpc20bb.zip (= gpc-19990430-i386-pc-djgppv202.zip)
csdpmi4b.zip
I added curspriv.h and curses.h in c:\djgpp\include, libcurso.a in
c:\djgpp\lib, and I deleted the file c:\djgpp\lib\djgpp.djl.
And I'm now trying to install :
grx23.zip
grx23fnt.zip
bccgrx20.zip
bgi2grx.zip
- - - - - - - - - - -
My AUTOEXEC.BAT :
@ECHO OFF
SET SOUND=C:\SB16
SET BLASTER=A220 I5 D1 H5 P330 E620 T6
SET MIDI=SYNTH:1 MAP:E MODE:0
C:\SB16\DIAGNOSE /S
C:\SB16\SB16SET /P /Q
PROMPT $p$g
PATH=C:\DOS;C:\MOUSE;C:\WINDOWS;C:\WINDOWS\COMMAND
SET PATH=C:\DJGPP\BIN;%PATH%
SET DJGPP=C:\DJGPP\DJGPP.ENV
SET TEMP=C:\TMP
- - - - - - - - - - -
My DJGPP.ENV :
DJDIR=%:/>DJGPP%
+USER=dosuser
+GROUP=root
+TMPDIR=%DJDIR%/tmp
+EMU387=%DJDIR%/bin/emu387.dxe
+LFN=y
+TEXMFMAIN=%DJDIR%/share/texmf
+GO32STUB=%DJDIR%/bin/stubify.exe
LANGUAGE=fr
+GRXFONT=%DJDIR%/contrib/grx23/fonts
[...]
[cpp]
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;%DJDIR%/contrib/grx23/include;%DJDIR%/contrib/bcc2grx/include
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/contrib/grx23/include;%DJDIR%/contrib/bcc2grx/include
OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
[gcc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx23/lib/dj2;%DJDIR%/contrib/bcc2grx/lib/dj
[...]
[gpc-cpp]
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/lang/pascal;%DJDIR%/include;%DJDIR%/contrib/grx23/include;%DJDIR%/contrib/bcc2grx/include
[gpc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx23/lib/dj2;%DJDIR%/contrib/bcc2grx/lib/dj
--
Couperin
f DOT couperin AT online DOT fr
- Raw text -