Unresolved references when compling with root 2.22.04 on WinNT

From: Peter Lipa (lipa@nsma.arizona.edu)
Date: Tue Jun 08 1999 - 01:09:36 MEST


Hi rooters,
I am compling a dictionary with the recent development version
2.22.04 of root on WinNT and the linker complains about
unresolved references(TBuffer::WriteVersion and TBuffer::ReadVersion).
The very same code compiles fine with
the previous release (2.21.08)! I can't figure out what the problem is.
(I made sure that only the correct version of all .dll's and .lib's are on
the compilers
search path and the /test examples complied and linked without problems...
I also checked if there are any changes in the makefile of the \test
examples but couldn't find any different
complier/linker settings compared to the predecessor version.).

The error message displayed by VC5 is:

   link -DEBUG -PDB:libDbaTs.pdb /NODEFAULTLIB /INCREMENTAL:NO  /RELEASE
/NOLOGO -entry:_DllMainCRTStartup@12 -dll TDbaTs.obj  TDbaTsDict.obj
dbUtils.obj libDbaTs.exp C:\root/lib/*.lib D:/lipa/pcq/lib/Pcqw32.lib
msvcrt.lib oldnames.lib kernel32.lib
 ws2_32.lib mswsock.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
winspool.lib MSVCIRT.LIB /out:libDbaTs.dll
TDbaTsDict.obj : error LNK2001: unresolved external symbol "public: void
__thiscall TBuffer::WriteVersion(class TClass const *)"
(?WriteVersion@TBuffer@@QAEXPBVTClass@@@Z)
TDbaTsDict.obj : error LNK2001: unresolved external symbol "public: short
__thiscall TBuffer::ReadVersion(void)" (?ReadVersion@TBuffer@@QAEFXZ)
libDbaTs.dll : fatal error LNK1120: 2 unresolved externals

Any hint on what went wrong is greatly appreciated.....

Thanks in advance,
Peter



****************************************************************************
Peter Lipa, PhD                            e-mail: lipa@nsma.arizona.edu
Arizona Research Labs - Neural Systems, Memory and Aging
University of Arizona
Life Sciences North Bldg, Room 384;   Phone: (520) 626-3101
Tucson, AZ 85724-5115                       Fax: (520) 626-2618
****************************************************************************



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET