delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/08/01:14:14

From: ulrich DOT lauther AT mchp DOT siemens DOT de (Ulrich Lauther)
Subject: slightly off topic: gnu make and VC++
8 Nov 1997 01:14:14 -0800 :
Message-ID: <199711080836.JAA08202.cygnus.gnu-win32@fubini.mchp.siemens.de>
Reply-To: Ulrich DOT Lauther AT mchp DOT siemens DOT de
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Unnerved by VC++'s gui, I tried to convert a generated *.mak file
to gnu make's syntax and to run make. This seems to work for generating
objects, but in the link stage I get an anresolved extern "operator new()".
link.exe seems to use some hidden libs, but I can't find out which ones.
Can anybody help? Here is the link command and the error message (newlines
inserted for readability):


link.exe /LIBPATH:/programme/devstudio/vc/lib kernel32.lib user32.lib
  gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
  oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib libc.lib
  "C:\turbo\turbolib\turbod.lib" "C:\tcltk8.0\tcl80.lib"
  "C:\tcltk8.0\tk80.lib" /nologo /subsystem:console /incremental:no
  /machine:I386 /nodefaultlib:"libcd.lib" wincat.obj /out:"wincat.exe"

  libcid.lib(_ios.obj) : error LNK2001: unresolved external symbol
  "void * __cdecl operator new(unsigned int,int,char const *,int)"
  (??2 AT YAPAXIHPBDH@Z)
  wincat.exe : fatal error LNK1120: 1 unresolved externals
-- 
	-lauther

----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens ZT SE 4         Internet: Ulrich DOT Lauther AT mchp DOT siemens DOT de
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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