Dear All,
I have an issue with the compiling on the new TAFC R11 version. I can do the
BASIC but when I try to do the CATALOG it throws me the following errors. I
have given the jdiag, jshow for the cl & link together with some more
information. I hope one can throw me a light.
FYI : I tried with Microsoft Windows SDK v 7.1 for Windows 7 and .NET
Framework 4 & again with Visual Studio 2010 Professional also (After
uninstalling the first one). But the result is same.
Eror Message
jsh R11 ~ -->BASIC TOOLS.BP TEST.RTN
TEST.RTN
BASIC_1.c
Source file TEST.RTN compiled successfully
jsh R11 ~ -->CATALOG TOOLS.BP TEST.RTN
TEST.RTN
link @C:\Windows\TEMP\jbuild2 >C:\Windows\TEMP\jbuild3 failed , command
returned a code of 1120
LINK : warning LNK4044: unrecognized option '/DWIN32'; ignored
LINK : warning LNK4044: unrecognized option '/MD'; ignored
LINK : warning LNK4044: unrecognized option '/W3'; ignored
LINK : warning LNK4044: unrecognized option '/GR'; ignored
LINK : warning LNK4044: unrecognized option '/EHa'; ignored
LINK : warning LNK4044: unrecognized option '/GF'; ignored
LINK : warning LNK4044: unrecognized option '/Zi'; ignored
LINK : warning LNK4044: unrecognized option '/F5000000'; ignored
LINK : warning LNK4044: unrecognized option '/D_LARGEFILE_SOURCE'; ignored
LINK : warning LNK4044: unrecognized option '/D_LARGEFILE64_SOURCE'; ignored
LINK : warning LNK4044: unrecognized option '/D_FILE_OFFSET_BITS=64';
ignored
Creating library C:\R11\bnk\bnk.run\bin\TEST.RTN.lib and object
C:\R11\bnk\bnk.run\bin\TEST.RTN.exp
MSVCRT.lib(crtdll.obj) : error LNK2019: unresolved external symbol
__imp_EncodePointer referenced in function pre_c_init
MSVCRT.lib(atonexit.obj) : error LNK2001: unresolved external symbol
__imp_EncodePointer
MSVCRT.lib(crtdll.obj) : error LNK2019: unresolved external symbol
__imp_DecodePointer referenced in function _CRT_INIT
MSVCRT.lib(atonexit.obj) : error LNK2001: unresolved external symbol
__imp_DecodePointer
MSVCRT.lib(crtdll.obj) : error LNK2019: unresolved external symbol
__imp_Sleep referenced in function _CRT_INIT
MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol
__imp_TerminateProcess referenced in function __report_gsfailure
MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol
__imp_GetCurrentProcess referenced in function __report_gsfailure
MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol
__imp_UnhandledExceptionFilter referenced in function __report_gsfailure
MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol
__imp_SetUnhandledExceptionFilter referenced in function __report_gsfailure
MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol
__imp_IsDebuggerPresent referenced in function __report_gsfailure
MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol
RtlVirtualUnwind referenced in function __report_gsfailure
MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol
RtlLookupFunctionEntry referenced in function __report_gsfailure
MSVCRT.lib(gs_report.obj) : error LNK2019: unresolved external symbol
__imp_RtlCaptureContext referenced in function __report_gsfailure
MSVCRT.lib(dllmain.obj) : error LNK2019: unresolved external symbol
__imp_DisableThreadLibraryCalls referenced in function DllMain
MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved external symbol
__imp_QueryPerformanceCounter referenced in function __security_init_cookie
MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved external symbol
__imp_GetTickCount referenced in function __security_init_cookie
MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved external symbol
__imp_GetCurrentThreadId referenced in function __security_init_cookie
MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved external symbol
__imp_GetCurrentProcessId referenced in function __security_init_cookie
MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved external symbol
__imp_GetSystemTimeAsFileTime referenced in function __security_init_cookie
C:\R11\bnk\bnk.run\bin\TEST.RTN.dll : fatal error LNK1120: 17 unresolved
externals
jcompile: C:\Windows\TEMP\jbuild2 deleted
jcompile: C:\Windows\TEMP\jbuild3 deleted
jcompile: Returned an error code of 8
** Unable to catalog object TEST.RTN **
jsh R11 ~ -->
jdiag
jsh R11 ~ -->JDIAG
jdiag - jBASE diagnostic '$Revision: 1.15 $'
System Information
==================
System : WinNT W2K8T24 6.1 AMD64
OS Release : Windows Server 2008 R2, Build 7600,
NT User : R11
Time : Fri Oct 26 16:54:55 2012
Environment
===========
JBCPORTNO : Not Set
TAFC_HOME : 'C:\TAFC\R11'
JBCGLOBALDIR : 'c:\TAFC\R11'
JBCDATADIR : 'C:\R11\bnk\bnk.run'
HOME : 'C:\R11\bnk\bnk.run'
JEDIFILENAME_MD : Not Set
JEDIFILENAME_SYSTEM : Not Set
RELEASE Information : Major 11.0 , Minor 0.1 , Patch (Change 95548)
Spooler dir (JBCSPOOLERDIR) : 'C:\R11\bnk\bnk.run\jspooler'
JBCEMULATE : Not Set
TEMP file path : 'C:\Windows\TEMP\'
Object path (Default) : 'C:\TAFC\R11\lib;C:\R11\bnk\bnk.run\lib'
WARNING: From checking the registry, It appears that VC++ is not loaded
jBASE Compiler Run-time : 'C:\TAFC\R11\config\system.properties'
Program dir (Default) : 'C:\R11\bnk\bnk.run\bin'
Subroutine dir (Default) : 'C:\R11\bnk\bnk.run\lib'
jsh R11 ~ -->CT TOOLS.BP TEST.RTN
TEST.RTN
001 PROGRAM TEST.RTN
002
003 PRINT 'Anything...'
004 STOP
005 END
jsh R11 ~ -->jshow -c cl
Executable: C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\bin\amd64\cl.exe
jsh R11 ~ -->jshow -c link
Executable: C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\bin\amd64\link.exe
jsh R11 ~ -->
jsh R11 ~ -->cl
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
jsh R11 ~ -->
remote.cmd file
set HOME=C:\R11\bnk\bnk.run
set TAFC_HOME=C:\TAFC\R11
set TAFC_CONTEXT=default
rem Execution:
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_37
set T24_HOME=%HOME%
set JBCDATADIR=%HOME%
set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include
set LIB=C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\lib\amd64;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib
set PATH=%TAFC_HOME%\bin;%JAVA_HOME%\bin;%HOME%\bin;C:\Program Files
(x86)\Microsoft Visual Studio 10.0\Common7\IDE;C:\Program Files
(x86)\Microsoft Visual Studio
10.0\VC\bin\amd64;%HOME%\t24bin;C:\windows\system32
set term=vt100
@echo off
jprofile.bat
Thank you in advance.
Best regards,
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en