CATALOG problem in jBASE5 (Windows 64bit)

454 views
Skip to first unread message

www.t24all.com

unread,
Oct 9, 2009, 8:48:52 AM10/9/09
to jBASE
Hi,

I am able to BASIC (compile a program) but I am not able to CATALOG
the same. Can anyone pls help me?

I installed jBASE5 along with T24 (R09) in Windows Server 2003 (64bit)
with Visual C++ compiler (Microsoft Visual Studio 9.0) and also set
the variables in vsvars32.bat.

jsh demo ~ -->BASIC TEST.BP SIMPLE
SIMPLE
BASIC_21.c
Source file SIMPLE compiled successfully

jsh demo ~ -->CATALOG TEST.BP SIMPLE
SIMPLE
Error extracting function name from object file CATALOG_21.obj
** Unable to catalog object SIMPLE **

Operating System
-----------------
OS Release : Microsoft(R) Windows(R) Server 2003 Enterprise x64
Edition

Thanks

Daniel Klein

unread,
Oct 9, 2009, 10:24:10 AM10/9/09
to jb...@googlegroups.com
Did you install the C++ 'X64 Compilers and Tools'?

Why would you set your environment based on 'vsvars32.bat'? That's for
32bit systems. The required environment is in the 'vcvarsamd64.bat'
file.

Dan

www.t24all.com

unread,
Oct 12, 2009, 2:46:21 AM10/12/09
to jBASE
Yes,

Yes, I installed the C++ (64 bit compiler) and its tools.

If I didnt set "vsvars32.bat" I get the following error.

cl /nologo /DWIN32 /MD /W2 /GR /EHsc -c -ID:\xxxx\xxx\include -
DJBC_OPTLEVEL2 BASIC_15.c failed , command returned a code of 128
jcompile: BASIC_15.j deleted
jcompile: BASIC_15.c deleted
jcompile: Returned an error code of 8
** Unable to compile source SIMPLE **

I dont find any "vcvarsamd64.bat" file. Can you tell me where this
file is located?

Regards

On Oct 9, 7:24 pm, Daniel Klein <danielklei...@gmail.com> wrote:
> Did you install the C++ 'X64 Compilers and Tools'?
>
> Why would you set your environment based on 'vsvars32.bat'? That's for
> 32bit systems. The required environment is in the 'vcvarsamd64.bat'
> file.
>
> Dan
>

Daniel Klein

unread,
Oct 12, 2009, 9:49:11 AM10/12/09
to jb...@googlegroups.com
If you search your system and can't find it then you didn't install
the required tools.

On my system it is in: C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\bin\x86_amd64

and the filename is 'vcvarsx86_amd64.bat' (not 'vcvarsamd64.bat' as I
originally posted below, sorry about that).

Dan

www.t24all.com

unread,
Oct 13, 2009, 8:03:12 AM10/13/09
to jBASE
Hi Daniel,

Yes, you are right. I haven't installed the tools.

Now I installed the tools and I run the vcvarsall.bat with the
argumnet x86_amd64 and it works fine.

Thanks for your help

On Oct 12, 6:49 pm, Daniel Klein <danielklei...@gmail.com> wrote:
> If you search your system and can't find it then you didn't install
> the required tools.
>
> On my system it is in: C:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\bin\x86_amd64
>
> and the filename is 'vcvarsx86_amd64.bat' (not 'vcvarsamd64.bat' as I
> originally posted below, sorry about that).
>
> Dan
>

your friend

unread,
Nov 5, 2009, 2:40:32 PM11/5/09
to jBASE
hi may i know what are those variables, please as i am also facing the
same errors, but i am not very clear about the variables to be set in
the C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\x86_amd64,
vcvarsx86_amd64.bat file,

please assist me

Regards,
Karthik.n

On Oct 13, 3:03 pm, "www.t24all.com" <eb.phan...@gmail.com> wrote:
> Hi Daniel,
>
> Yes, you are right. I haven't installed the tools.
>
> Now I installed the tools and I run the vcvarsall.bat with the
> argumnet x86_amd64 and it works fine.
>
> Thanks for your help
>
> On Oct 12, 6:49 pm, Daniel Klein <danielklei...@gmail.com> wrote:
>
>
>
> > If you search your system and can't find it then you didn't install
> > the required tools.
>
> > On my system it is in: C:\Program Files (x86)\Microsoft Visual Studio
> > 9.0\VC\bin\x86_amd64
>
> > and the filename is 'vcvarsx86_amd64.bat' (not 'vcvarsamd64.bat' as I
> > originally posted below, sorry about that).
>
> > Dan
>
> > On Mon, Oct 12, 2009 at 2:46 AM,www.t24all.com<eb.phan...@gmail.com> wrote:
>
> > > Yes,
>
> > > Yes, I installed the C++ (64 bit compiler) and its tools.
>
> > > If I didnt set "vsvars32.bat" I get the followingerror.
>
> > > cl  /nologo /DWIN32 /MD /W2 /GR /EHsc -c  -ID:\xxxx\xxx\include -
> > > DJBC_OPTLEVEL2 BASIC_15.c failed , command returned a code of 128
> > > jcompile: BASIC_15.j deleted
> > > jcompile: BASIC_15.c deleted
> > > jcompile: Returned anerrorcode of 8
> > >  ** Unable to compile source SIMPLE **
>
> > > I dont find any "vcvarsamd64.bat"file.  Can you tell me where this
> > >fileis located?
>
> > > Regards
>
> > > On Oct 9, 7:24 pm, Daniel Klein <danielklei...@gmail.com> wrote:
> > >> Did you install the C++ 'X64 Compilers and Tools'?
>
> > >> Why would you set your environment based on 'vsvars32.bat'? That's for
> > >> 32bit systems. The required environment is in the 'vcvarsamd64.bat'
> > >>file.
>
> > >> Dan
>
> > >> On Fri, Oct 9, 2009 at 8:48 AM,www.t24all.com<eb.phan...@gmail.com> wrote:
>
> > >> > Hi,
>
> > >> > I am able to BASIC (compile a program) but I am not able to CATALOG
> > >> > the same. Can anyone pls help me?
>
> > >> > I installed jBASE5 along with T24 (R09) in Windows Server 2003 (64bit)
> > >> > with Visual C++ compiler (Microsoft Visual Studio 9.0) and also set
> > >> > the variables in vsvars32.bat.
>
> > >> > jsh demo ~ -->BASIC TEST.BP SIMPLE
> > >> > SIMPLE
> > >> > BASIC_21.c
> > >> > SourcefileSIMPLE compiled successfully
>
> > >> > jsh demo ~ -->CATALOG TEST.BP SIMPLE
> > >> > SIMPLE
> > >> >ErrorextractingfunctionnamefromobjectfileCATALOG_21.obj
> > >> >  ** Unable to catalogobjectSIMPLE **
>
> > >> > Operating System
> > >> > -----------------
> > >> > OS Release  : Microsoft(R) Windows(R) Server 2003 Enterprise x64
> > >> > Edition
>
> > >> > Thanks- Hide quoted text -
>
> - Show quoted text -

Daniel Klein

unread,
Nov 5, 2009, 8:11:22 PM11/5/09
to jb...@googlegroups.com
INCLUDE:
C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\include;C:\Program Files\Microsoft.NET\SDK\v2.0 64bit\include

LIB:
C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\lib\amd64;C:\Program Files\Microsoft.NET\SDK\v2.0
64bit\Lib;C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\x64

PATH:
C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\bin\x86_amd64;C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\bin;C:\Program Files (x86)\Microsoft Visual Studio
9.0\Common7\IDE;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin

These should be appended to whatever is already there, or created if necessary.

Dan

cape...@gmail.com

unread,
Nov 7, 2009, 11:34:28 AM11/7/09
to jBASE
Hello Guys ,
I am also facing compiler issue , I have read here but this does not
seem to address the issue I have on Vista 32 bit .
I am getting the following error while trying to CATALOG:

Your help is very much appreciated

jsh capetony ~ -->CATALOG LOCAL.BP AFFORD.DEFAULT
AFFORD.DEFAULT
Object AFFORD.DEFAULT cataloged successfully
link: extra operand `/INCREMENTAL:NO'
Try `link --help' for more information.
link @C:\Users\capetony\AppData\Local\Temp\jbuild2 >C:\Users\capetony
\AppData\Loca
l\Temp\jbuild3 failed , command returned a code of 1
jcompile.exe: C:\Users\capetony\AppData\Local\Temp\jbuild2 deleted
jcompile.exe: C:\Users\capetony\AppData\Local\Temp\jbuild3 deleted
jcompile.exe: Returned an error code of 8
** Unable to rebuild library D:\data\temenos\t24\r08\bnk\bnk.run\lib
\lib0.dll **

Variables :
jsh capetony ~ -->echo $INCLUDE
C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\include
jsh capetony ~ -->echo $LIB
ORACLE_HOME\lib;C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\lib
jsh capetony ~ -->echo $PATH
;C:\Sun\SDK\jdk\jre\bin;C:\Sun\SDK\jdk\jre\bin\server;C:\Sun\SDK\bin;C:
\Sun\SDK\
jdk\bin;D:\oracle\product\10.2.0\db_1\bin;C:\temenos\jbase\5.0.9\bin;C:
\temenos\
jbase\5.0.9\java\jre\bin\client;C:\temenos\jbase\5.0.9\java\jre\lib;C:
\temenos\j
base\4.1.5.18\jDP\bin;C:\temenos\jbase\4.1.5.18\bin;%JRELIB%;C:\Windows
\system32
;C:\Windows;C:\Windows\System32\Wbem;"C:\Program Files\Microsoft SQL
Server\90\T
ools\binn";"C:\Program Files\Common Files\DivX Shared\";C:\Program
Files\Common
Files\DivX Shared\;C:\cygwin\bin;C:\Program Files\Microsoft SQL Server
\90\Tools\
binn\;C:\Program Files\QuickTime\QTSystem\;C:\Sun\SDK\bin;C:\temenos
\jbase\5.0.9
\home\bin;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin;C:
\Program
Files\Microsoft Visual Studio .NET 2003\Common7\IDE;C:\temenos\jbase
\5.0.9\bin;D
:\data\temenos\t24\r08\bnk\bnk.run\bin;D:\data\temenos\t24\r08\bnk
\bnk.run\globu
sbin;C:\windows\system32;C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\
bin;D:\oracle\product\10.2.0\db_1\bin;C:\temenos
\XMLORACLE3.5.1.80087_JBASE5.0.1
5_ORACLE10g_WIN32\bin;c:\cygwin\bin
jsh capetony ~ -->

Jim Idle

unread,
Nov 7, 2009, 12:47:17 PM11/7/09
to jb...@googlegroups.com
Well:

1) You don't say what version of Vista other than 32 bit - is it patched up to date?
2) You don't say what version of jBASE - the subject is jBASE 5?
3) You don't say what versio of the C compilers you have loaded - Visual Studio? Windows SDK?
4) You don't say if this is a new problem or it just started happening?

But if you are getting:

link: extra operand `/INCREMENTAL:NO'

It would likely mean that the version of the compilers you are using isn't compatible with the version of jBASE you are using. So we see this:

Microsoft Visual Studio .NET 2003

In your PATH and presume that vs 2003 is installed.

And:

jbase\5.0.9\java\jre\bin\client;C:\temenos\jbase\5.0.9\java\jre\lib;C:\temenos\jbase\4.1.5.18

So we have to assume that it is 5.0.9 that isn't working for you. VS2003 is 7 years old and jBASE 5 is pretty current. So, install the Windows SDK and make sure that your paths and so on point to that.

http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en

Then delete everything in your lib and bin and recompile.

Please everyone, try to include all relevant information in your posts, try http://jbase.markmail.org and read the posting guidelines.

Jim

Paa Kwesi Barnes

unread,
Nov 11, 2009, 2:42:12 AM11/11/09
to jb...@googlegroups.com
Hello All,
I am running a 64 bit R08 on jbase 5 and instead of using the browser (which
came with the application) I would prefer to use the desktop. I had a file
($.S.SIGN.ON) which I was able to catalog and compile using a 32bit machine.
This is not possible now with the 64bit R08.
Does anyone have any solution or can anyone help on this issue.
Thanks.



-----Original Message-----


Pawel (privately)

unread,
Nov 12, 2009, 12:50:33 PM11/12/09
to jb...@googlegroups.com
Hi,

Raise this through Temenos CSHD. I think that they will help you - at
least for test environments :) Normally you buy T24 with end user
interface (Desktop/Browser).

They will likely say, that Desktop is unsupported if you bought T24
ModelBank. They will be able however to give you some "workaround"
solution (object code/T24 license code) for test environments.

Kind regards
Pawel
----------------------------------------------------
Białe szaleństwo nadciąga!
Dokąd w tym roku? Narty.wp.pl
Sprawdź: http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fnarty2009-10.html&sid=911


Reply all
Reply to author
Forward
0 new messages