[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building Jonah?
hello, I have troubles to build Jonah code,
here you are an extract of the error message during the build process:
In the following lines we are in the LIBBUILD phase which runs the
linker to build DLLs, in particular here it build OSSrv.dll and
PKCS11.dll using OSSrv.lib
So: 1/ do you know how the OSSrv.lib is made ?
2/ in the LIBBLUID phase of PKCS11.dll, OSSrv.dll is used but the
constructor "StrngLst:: StrngLst(...)", that is in StrngLst.obj, must
be in OSSrv.dll and perhaps in OSSrv.lib but it can't find it!
so how resolve this problem in order to do the link ?
...
>Starting build in Y:/Src/OSSrv
>make: Warning -- Attempt to redefine macro `PWD' failed
>echo Building movelibraries movedlls
>Building movelibraries movedlls
>link -DLL
>-DEBUG
>-LIBPATH:Y:\lib\nt
>-LIBPATH:Z:\lib\nt
>-LIBPATH:C:\PROGRA~1\DEVSTU~1\VC\LIB\ /OUT:OSSrv.dll
>pkiqdxpg.obj pkit
>ask.obj pkiMsg.obj StrngLst.obj IniFile.obj JonahIni.obj
>JonahMsg.obj Jnh
>Timer.obj fsys.obj
>Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
>Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
>LINK : LNK6004: OSSrv.dll not found or not built by the last
>incremental link; p
>erforming full link
>Microsoft (R) 32-Bit Library Manager Version 5.00.7022
>Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
>LINK : warning LNK4068: /MACHINE not specified; defaulting to IX86
> Creating library OSSrv.lib and object OSSrv.exp
>cp -mf OSSrv.dll /lib/NT/OSSrv.dll
>cp -mf OSSrv.lib /lib/NT/OSSrv.lib
...
>echo Starting build in Y:/Src/vsc
>Starting build in Y:/Src/vsc
>make: Warning -- Attempt to redefine macro `PWD' failed
>cho Building movelibraries movedlls
>Building movelibraries movedlls
>link -DLL
>-DEBUG
-LIBPATH:Y:\lib\nt
>-LIBPATH:Z:\lib\nt
>-LIBPATH:C:\PROGRA~1\DEVSTU~1\VC\LIB -nodefaultlib:libcmt.lib
>-nodefaultlib:libcmtd.lib /OUT:PKCS11.dll pkcsmain.obj
>pkcstok.obj pkc
>ssess.obj pkcsinit.obj pkcscryp.obj pkcsmisc.obj
>pkcsjnh.obj OSSrv.lib msvcrt.lib
>Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
>Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
> Creating library PKCS11.lib and object PKCS11.exp
>pkcsjnh.obj : error LNK2001: unresolved external symbol "public:
>__thiscall StringList::StringList(unsigned int)"
>(??0StringList@@QAE@I@Z)
>pkcsjnh.obj : error LNK2001: unresolved external symbol "bool __cdecl
>IniReadString(char const *,char const *,char *,unsigned int,char
>const *)" (?IniReadString@@YA_NPBD0PADI0@Z)
>PKCS11.dll : fatal error LNK1120: 2 unresolved externals
>make: Error code 25
>make: Error code 255
>make: Error code 255
>Y:\Src>GOTO EOF
>Y:\Src>
thank you for your help
Rahim
----------------------------------------------------------------
INFORMATION AUTOMATIC VIRUS CHECK (GEMPLUS) No virus known.
----------------------------------------------------------------