www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/10/22/16:42:05

From: aw059 AT freenet DOT carleton DOT ca (Mr. Kevin D. Peckover)
Subject: linking with V
22 Oct 1996 16:42:05 -0700 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199610221932.PAA01557.cygnus.gnu-win32@freenet6.carleton.ca>
Reply-To: aw059 AT freenet DOT carleton DOT ca
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I am trying to build the 'test' program in the V package.
I don't think my problem is specific to V, when I build the final
app and try to link in the V library, the linker does not find the 
function calls in my *.o files in the V libary.

My command looks like this:

C:\usr\libsrc\v\test>make
g++ -o /usr/libexec/v/v1  /usr/libobj/v/testapp.o /usr/libobj/v/vtcanvas.o /usr
libobj/v/vtcmdwin.o /usr/libobj/v/vtcw2.o /usr/libobj/v/vttogdlg.o /usr/libobj/
/vtdialog.o -lcygwin -lkernel32 -luser32 -lgdi32 -lV

and the first few errors are:

/usr/libobj/v/testapp.o(.text+0x16b):testapp.cc: undefined reference to `vNotic
Dialog::vCmdParent virtual table'
/usr/libobj/v/testapp.o(.text+0x172):testapp.cc: undefined reference to `vNotic
Dialog virtual table'
/usr/libobj/v/testapp.o(.text+0x318):testapp.cc: undefined reference to `vApp::
orkSlice(void)'
/usr/libobj/v/testapp.o(.text+0x331):testapp.cc: undefined reference to `__tf4v
pp'
/usr/libobj/v/vtcanvas.o(.text+0xb8):vtcanvas.cc: undefined reference to `vCanv
sPane::MouseMotion(int, int)'

- Raw text -


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