Mail Archives: djgpp/1999/07/25/17:05:27
From: | dtsw98 AT yahoo DOT com (dtsw)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Problem with TVision Examples
|
Message-ID: | <379b6a96.683349@news.seidata.com>
|
X-Newsreader: | Forte Agent 1.5/32.452
|
MIME-Version: | 1.0
|
Lines: | 66
|
Date: | Sun, 25 Jul 1999 20:18:48 GMT
|
NNTP-Posting-Host: | 208.15.64.99
|
X-Trace: | news.goodnet.com 932933928 208.15.64.99 (Sun, 25 Jul 1999 13:18:48 MDT)
|
NNTP-Posting-Date: | Sun, 25 Jul 1999 13:18:48 MDT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
I recently downloaded the Turbo Vision DJGPP port (tv106s.zip) and the
gettext library (binary distribution).
I built the library without changing any source or the makefile. When
the library was built I used the SACADEB.BAT file to strip the debug
info from the library.
The library built without any problems, but when I try to compile the
examples using RHIDE (as the documentation says), it either says
Invalid Project FIle or crashes with the following core dump
Exiting due to signal SIGSEGV
Page fault at eip=0000d086, error=0004
eax=0602ba00 ebx=00000000 ecx=00000063 edx=00000000 esi=ffeb1780
edi=00000000
ebp=ffeafbc4 esp=ffeafbb4 program=c:\djgpp\bin\rhide.exe
cs: sel=00e7 base=830c0000 limit=ffefffff
ds: sel=00ef base=830c0000 limit=ffefffff
es: sel=00ef base=830c0000 limit=ffefffff
fs: sel=0107 base=00000000 limit=000fffff
gs: sel=0107 base=00000000 limit=000fffff
ss: sel=00ef base=830c0000 limit=ffefffff
Call frame traceback EIPs:
0x0000d086
0x0000d49c
0x0000de15
0x000c199e
0x0000e1ba
0x000c415a
0x000c415a
0x000c2657
0x000c275d
0x000c7eb2
0x000c801a
0x0001145f
0x0001aed3
0x00010f61
0x000ec326
This output was taken from the examples/sdlg directory, but it does
the same thing no matter which example I try to compile. I am using
the latest version of RHIDE.
Also, if I write a small TVision source file and try to compile with
'gcc source.cc -o source.exe -lintl -lrhtv -fno-exceptions -fno-rtti'
(as the docs mention to compile with -fno-rtti and -fno-exceptions) I
get a whole slew of errors:
c:/djgpp/lib/librhtv.a(tprogram.o)(.text+0x719): undefined reference
to `gettext__'
c:/djgpp/lib/librhtv.a(opstream.o)(.text+0x2c4): undefined reference
to `_IO_putc'
c:/djgpp/lib/librhtv.a(opstream.o)(.text+0x5f0): undefined reference
to `gettext__'
c:/djgpp/lib/librhtv.a(ipstream.o)(.text+0x203): undefined reference
to `_IO_getc'
c:/djgpp/lib/librhtv.a(ipstream.o)(.text+0x220): undefined reference
to `_IO_sgetn'
c:/djgpp/lib/librhtv.a(ipstream.o)(.text+0x23d): undefined reference
to `_IO_sgetn'
I've even tried reversing the order of the libraries on the command
line but that dosen't help.
Any help would be greatly appreciated.
- Raw text -