Mail Archives: djgpp/1998/10/21/09:16:22
Olivier Perron <perron AT art DOT alcatel DOT fr> wrote:
> I've posted this message last fryday, but as nobody answered me, I'm
> posting it again.
>
> I've build libtv.a with nointl.h and from the diffs wich come with
> the sources of rhide-1.46
>
> Now, if I try to build a simple example which uses TVision, I have the
> following error at link time:
>
> gxx -o listbox.exe listbox.o -L/djgpp/contrib/rhide-1.46/tvision -ltv
> listbox.o: In function `main':
> listbox.cc:5: undefined reference to `TApplication type_info node'
> listbox.o: In function `TApp type_info function':
> listbox.cc(.text+0xc63): undefined reference to `TApplication type_info function'
>
> As it is the very first time I use the TVision lib, as I'm not a C++
> guru, I really don't know what the problem is.
Are you using the same compiler you used to compiler the library? (same
version).
> Is it a problem with the TVision port which comes with Rhide or is it my
> sample program (listbox.cc from
> ftp://ftp.borland.com/pub/borlandcpp/devsupport/archive/turbovision/listbox.zip)
Borland examples runs with small modifications. I compiled various from
Borland and other sources, but I never saw the error that you have.
It looks similar to the errors reported by gcc 2.8.x when using a library
compiled with 2.7.2, but I'm not sure.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -