delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/01/06:58:04

From: nospam AT tin DOT it
Newsgroups: comp.os.msdos.djgpp
Subject: Help with TWS...
Message-ID: <381b39e2.3220905@news.libero.it>
X-Newsreader: Forte Free Agent 1.11/32.235
Lines: 23
Date: Sun, 31 Oct 1999 19:34:40 GMT
NNTP-Posting-Host: 151.21.62.113
X-Complaints-To: abuse AT libero DOT it
X-Trace: typhoon.libero.it 941398480 151.21.62.113 (Sun, 31 Oct 1999 20:34:40 MET)
NNTP-Posting-Date: Sun, 31 Oct 1999 20:34:40 MET
Organization: [Infostrada]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have a little problem using TWS...I cannot link successfully the
tutotials examples and the demos the package includes...After
launching GCC(2.9.5.1) with the suggested flags(here I use 'step1.cc',
but I get the same error linking any other file included in the
package):

-gcc step1.cc -c -o step1.o(that works fine)
-gcc step1.o -o step1.exe  -ltws -lgr

that's what I get:

step1.o(.text+0x1d6):step1.cc: undefined reference to `Menu type_info
node'
step1.o(.text+0x214):step1.cc: undefined reference to `AutoMenu
type_info function'
step1.o(.text+0x21e):step1.cc: undefined reference to `AutoMenu
type_info node'
step1.o(.text+0x264):step1.cc: undefined reference to `Window
type_info function'
step1.o(.text+0x26e):step1.cc: undefined reference to `Window
type_info node'

Can anyone help me? Thank you in advance....Tmb

- Raw text -


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