[S] Re: Syntax error: unknown expression ("\r")?---17 responses and climbing

Arturas Mazeika (arturas@ieva.maf.vu.lt)
Tue, 5 May 1998 14:09:20 +0200 (MET DST)


Dear S+ users!

I have got a problem on static C compiled code loading. I use Splus 3.3
under win'95 Watcom's C (C++) 10.0 compiler. I adjusted
c:\spluswin\lib\makefile.tl, because there were some errors in
compiler's an linker's command names.

I have compiled a simple code named xsq.c:

void xsq (double *x)
{
*x = (*x)*(*x);
}

with command 'wcc386 xsq.c'. The file xsq.obj appeared. Then I executed
'load xsq.obj' command. I got a new splus executable called
nsplus.exe, but when I tried to start it, a splus windows appeared with
error:

System termination: No legitimate database in S_WORK and $HOME
creatable

My S_WORK and HOME variables both were pointed out to
c:\spluswin\home. To the same location as in splus.ini file in
c:\windows directory. I tried some combinations of c:\spluswin and
previous one, and so on. The same error appiered. Then I made empty
directory c:\spluswin\work, and indicated S_WORK and HOME variables to
it. I launched nsplus. Directory of _DATA and a file _AUDIT appiered in
it, and I have got in Splus window:

Warning: No default .Options vector.
Terminating because of error in initialization or .First
System terminating: can't open source file "c:\splus/data/boot"

I deleted _DATA directory and rerun the same command. Then I got
in Splus window:

Terminating because of error in initialization or .First
System terminating: Problem initializing table lookup, file
c:\spluswin\cmd\nspus.exe

Any ideas? Thanks!

Arturas Mazeika

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news