Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Migration/compilation S87 to XP

1 view
Skip to first unread message

Frank De Vos

unread,
Nov 17, 2003, 5:41:53 AM11/17/03
to
In brief this is my problem.
I have to support an Clipper S'87 on Windows XP.

What did I do so far:

1) I started from converting the EXE to Clipper code with the help of
Valkyrie (via decompiler service on the net)

I looked to see what object where used, but I'm not sure if thats
all
- CTOOLD87
- DBFLASH
I looked to see what libraries where used
- EXTEND
- TERMINAL
- DBFNTX
- CLIPPER
- CT1 (see: http://www.clipx.net/ng/ctools1/ng41f9.php for
details)
I compiled the code with S'87
*** compile instruction ***
c:\clip87\clipper start
c:\clip87\plink86 FI start,dbflash,ctoold87 LIB
c:\clip87\extend, c:\clip51\lib\terminal, c:\clip51\lib\DBFNTX,
c:\clip87\ct1
***

The compilation gives no error, the exe is fine but I experience some
problems with screen handling and I decide to compile with Clipper 5.1

2) The compilation with 5.1 gives me some undefined symbols in
CTOOLD87 and CT1.
The EXE runs fine under XP expect the hogging problem.
*** compile instructions ***
SET LIB=c:\clip51\lib
c:\clip51\bin\clipper start
c:\clip51\bin\rtlink FI start,dbflash,ctoold87 LIB extend,
terminal, DBFNTX, ct1, clipper
*** result ***
.RTLink for Clipper Dynamic Overlay Linker / Pre-Linker
Version 3.13
(C) Copyright Pocket Soft Inc., 1988-1991. All Rights
Reserved.
UNDEFINED SYMBOL(S) AFTER LIBRARY SEARCH:
SYMBOL FIRST REFERENCE
------ ---------------
'__insert_mode' CTOOLD87.OBJ
'__message' CTOOLD87.OBJ
'__debug_force' CTOOLD87.OBJ
'__debug' CTOOLD87.OBJ
'__debug_active' CTOOLD87.OBJ
'__FKEYS' CT1.LIB
'__KEYSET' CT1.LIB
'__PATH' CT1.LIB
'__DEFAULT_DRIVE' CT1.LIB
'__LDELIM' CT1.LIB
'__RDELIM' CT1.LIB
'__DECIMALS' CT1.LIB
'__MARGIN' CT1.LIB
'__DATE_MODE' CT1.LIB
'__ALT_OPEN' CT1.LIB
'__BELL_ON' CT1.LIB
'__CARRY_ON' CT1.LIB
'__CENTURY_ON' CT1.LIB
'__CONFIRM_ON' CT1.LIB
'__CONSOLE_ON' CT1.LIB
'__CURS_ON' CT1.LIB
'__DELETED_ON' CT1.LIB
'__DELIMITERS_ON' CT1.LIB
'__DEVICE_P' CT1.LIB
'__ESCAPE_ON' CT1.LIB
'__EXACT_ON' CT1.LIB
'__EXCLU_ON' CT1.LIB
'__FIXED_ON' CT1.LIB
'__INTENSITY_ON' CT1.LIB
'__PRINT_ON' CT1.LIB
'__SCORE_ON' CT1.LIB
'__SOFTSEEK' CT1.LIB
'__UNIQUE_ON' CT1.LIB
'__WRAP_ON' CT1.LIB
'__XPROW' CT1.LIB
'__XPCOL' CT1.LIB

warning wrt0022: .EXE may not execute properly -- undefined
symbols
270K
1 warning message(s)

3) I decide to move to Clipper 5.3 and Blinker 6.0 (because this
software was available at the client)
Using 5.3 with Blinker 6.0 gives me compilation problems. I'm not
even able to create an EXE.
I need your help on this if you are willing to.
This is the script (I know, I'm not familiar with blinker, all
help is welcome)

*** compile script ***
set clipper=f65
SET LIB=C:\CLIP53\LIB;C:\BLINKER\CLP\LNK;C:\CLIP51\LIB
SET OBJ=C:\CLIP53\OBJ;C:\BLINKER\OBJ
set include=c:\clip53\include
c:\clip53\bin\clipper.exe start
c:\Blinker\bin\blinker FILE start,dbflash,ctoold87 LIB
clipper,extend,terminal,DBFNTX,c:\clipper\CT1\ct1 >compile.txt
*** Result ***
BLINKER : overlay opsize set to 40 Kb - minimum is 15 Kb
(MENUMODAL)
BLINKER : 1115 : CTOOLD87.OBJ(NTOOLD87) : '__INSERT_MODE' :
unresolved external
BLINKER : 1115 : CTOOLD87.OBJ(NTOOLD87) : '__MESSAGE' :
unresolved external
BLINKER : 1115 : CTOOLD87.OBJ(NTOOLD87) : '__DEBUG_FORCE' :
unresolved external
BLINKER : 1115 : CTOOLD87.OBJ(NTOOLD87) : '__DEBUG' :
unresolved external
BLINKER : 1115 : CTOOLD87.OBJ(NTOOLD87) : '__DEBUG_ACTIVE' :
unresolved external
BLINKER : 1115 : CLIPPER.LIB(_GETSYS) : 'GETCLRPAIR' :
unresolved external
BLINKER : 1115 : CLIPPER.LIB(_GETSYS) : 'GETCLRBACK' :
unresolved external
BLINKER : 1115 : CLIPPER.LIB(_GETSYS) : 'GETCLRFORE' :
unresolved external
BLINKER : 1115 : CLIPPER.LIB(RDDSVR) : 'RDDSYS' : unresolved
external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__FKEYS' :
unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__KEYSET' :
unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__PATH' :
unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) :
'__DEFAULT_DRIVE' : unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__LDELIM' :
unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__RDELIM' :
unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__DECIMALS'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__MARGIN' :
unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__DATE_MODE'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__ALT_OPEN'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__BELL_ON' :
unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__CARRY_ON'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) :
'__CENTURY_ON' : unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) :
'__CONFIRM_ON' : unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) :
'__CONSOLE_ON' : unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__CURS_ON' :
unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) :
'__DELETED_ON' : unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) :
'__DELIMITERS_ON' : unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__DEVICE_P'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__ESCAPE_ON'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__EXACT_ON'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__EXCLU_ON'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__FIXED_ON'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) :
'__INTENSITY_ON' : unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__PRINT_ON'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__SCORE_ON'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__SOFTSEEK'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__UNIQUE_ON'
: unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__WRAP_ON' :
unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__XPROW' :
unresolved external
BLINKER : 1115 : C:\CLIPPER\CT1\CT1.LIB(_CSET) : '__XPCOL' :
unresolved external
BLINKER : 0 Warning error(s), 40 Fatal error(s)
START.EXE (not created) (0.2 seconds)

It seems to me like taking a step backwards! Even unresolved
externals in Clipper.lib.

Can you help me on this.

Thanks in advance,
Frank DE VOS

Steve Lupton

unread,
Nov 17, 2003, 12:28:18 PM11/17/03
to
One thing I see is that you're mixing S'87 libraries and .OBJ's with C5.x -
this can't work.

In S'87 TERMINAL and DBFNTX were not separate libraries. Rather they were
included in Clipper.lib. You should also insure that you're using the 4am
Clipper library.

Since you apparently only have the S'87 versions of CT1.LIB and
CTOOLD87.OBJ, you should work on only using S'87 tools. Or you should get
the Clipper 5.x equivalents

HTH,
-Steve


"Frank De Vos" <de_vos...@hotmail.com> wrote in message
news:197c6106.03111...@posting.google.com...

0 new messages