Clipper 5.2 'Undefined symbol ASCAN and RAT ! ' 
Author Message
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

I'm trying to compile a program but rtlink find ASCAN and RAT as
undefined symbol with first reference in Clipper.lib. Never get this
problem before. What's wrong. I'm under Gates95 OS.



Sat, 25 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

Quote:

> I'm trying to compile a program but rtlink find ASCAN and RAT as undefined
> symbol with first reference in Clipper.lib. Never get this problem
> before. What's wrong. I'm under Gates95 OS.

These two functions live in EXTEND.LIB so the chances are that you've got
your build environment in a state where rtlink isn't being automaticly asked
to link in those libraries.

Specify EXTEND.LIB as one of the libs in your link script and it will solve
the problem.

--
Take a look in Hagbard's World: |     w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard/ |  ng2html - The NG to HTML converter.
http://www.hagbard.demon.co.uk/ |       eg - Norton Guide reader for Linux.
Free software, including........|   dgscan - DGROUP scanner for Clipper.



Sat, 25 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

Dave Pearson a crit :

Quote:
> These two functions live in EXTEND.LIB so the chances are that you've
> got
> your build environment in a state where rtlink isn't being automaticly
> asked
> to link in those libraries.

> Specify EXTEND.LIB as one of the libs in your link script and it will
> solve
> the problem.

> the problem.

Sorry, didn't work. My line is:
    rtlink fi tous lib extend,dbfcdx pll base52

which give :
UNDEFINED SYMBOL(S) AFTER LIBRARY SEARCH:
    SYMBOL                                            FIRST REFERENCE
    ________
__________________
    'RDDSYS'                                           BASE52.PLT
    'PADL'                                                TOUS.OBJ
    'RAT'                                                  CLIPPER.LIB
    'ASCAN'                                             CLIPPER.LIB



Sat, 25 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

[skissors applied]

Quote:
> Sorry, didn't work. My line is:
>     rtlink fi tous lib extend,dbfcdx pll base52
> which give :
> UNDEFINED SYMBOL(S) AFTER LIBRARY SEARCH:
>     SYMBOL                                            FIRST REFERENCE
>     'RDDSYS'                                           BASE52.PLT
>     'PADL'                                                TOUS.OBJ
>     'RAT'                                                  CLIPPER.LIB
>     'ASCAN'                                             CLIPPER.LIB

Hi!
Is there EXTEND.LIB in the path mentioned in 'Set Lib' ?
Is it really Clipper 5.2 extend.lib or maybe some other lib
with the same name ?
Aren't you out of environment space so SET LIB doesn't
really reflect what you need ?
Finally, try to place extend.lib into current directory and link again.
--
HTH a bit, Vladimir (kzm11 at geocities dot com)
http://www.geocities.com/SiliconValley/Pines/7762/index.html


Sun, 26 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

Quote:

> Dave Pearson a crit :

> > Specify EXTEND.LIB as one of the libs in your link script and it will
> > solve the problem.

> Sorry, didn't work. My line is:
>     rtlink fi tous lib extend,dbfcdx pll base52

                                       ^^^^^^^^^^

Ahh, pre-linked libraries <shudder>. Never used then myself (waits for the
flood of "but they are great" messages...) and I've not used rtlink in anger
for more years that I care to remember.

So, I can't help wondering if your PLLs are a little broken in some way. Do
you still get the error if you link in the "normal" manner? If you don't,
you know where to look for the problem.... ;-)

Quote:
> which give :
> UNDEFINED SYMBOL(S) AFTER LIBRARY SEARCH:
>     SYMBOL                                            FIRST REFERENCE
>     ________
> __________________
>     'RDDSYS'                                           BASE52.PLT
>     'PADL'                                                TOUS.OBJ
>     'RAT'                                                  CLIPPER.LIB
>     'ASCAN'                                             CLIPPER.LIB

<BrainWave> PADL, RAT and ASCAN all live in extend IIRC, RDDSYS will live in
DBF??? (dbfcdx in your example). Now, look at your command line again:

     rtlink fi tous lib extend,dbfcdx pll base52

EXTEND and DBFCDX are specified *before* you tell the linker about the
BASE52 PLL. If you think for a moment about how linkers work, you can see
how rtlink could have a problem resolving those symbols. In which case (I'm
guessing here, like I said, rtlink is something I stopped using a long time
ago) give this a quick go:

     rtlink fi tous pll base52 lib extend,dbfcdx

In this case, you're telling rtlink to link tous against the BASE52 PLL and
to look for any remaining unresolved symbols in EXTEND and DBFCDX. In your
example, you were asking rtlink to look for unresolved symbols in EXTEND and
DBFCDX and *then* "pulling in" BASE52.

Just a guess based on the (possibly incorrect) assumption that rtlink
doesn't do the same multi-pass linking that Blinker does (while this is seen
as a "feature" of Blinker it can have it's own problems....)

--
Take a look in Hagbard's World: |     w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard/ |  ng2html - The NG to HTML converter.
http://www.hagbard.demon.co.uk/ |       eg - Norton Guide reader for Linux.
Free software, including........|   dgscan - DGROUP scanner for Clipper.



Sun, 26 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

Dave Pearson a crit :

Quote:
> > Sorry, didn't work. My line is:
> >     rtlink fi tous lib extend,dbfcdx pll base52
>                                        ^^^^^^^^^^
> So, I can't help wondering if your PLLs are a little broken in some
> way. Do
> you still get the error if you link in the "normal" manner? If you
> don't,
> you know where to look for the problem.... ;-)

Without the pll, it's worstthe line : rtlink fi tous lib extend,dbfcdx
give :
UNDEFINED SYMBOL(S) AFTER LIBRARY SEARCH:
    SYMBOL                      FIRST REFERENCE
    ------                      ---------------
    'PADL'                      TOUS.OBJ
    'RDDSYS'                    CLIPPER.LIB
    'RAT'                       CLIPPER.LIB
    'ASCAN'                     CLIPPER.LIB
    'I2BIN'                     CLIPPER.LIB
    'PAD'                       CLIPPER.LIB
    'ALLTRIM'                   CLIPPER.LIB
    'ISALPHA'                   CLIPPER.LIB
    'ACLONE'                    CLIPPER.LIB
    'ASORT'                     CLIPPER.LIB
    'RIGHT'                     CLIPPER.LIB
    'GETENV'                    CLIPPER.LIB
    'PADR'                      CLIPPER.LIB
    'TBCOLUMNNE'                    CLIPPER.LIB
    'TBROWSENEW'                    CLIPPER.LIB

I'm beginning to think that or my clipper.lib or my extend.lib are
corrupted. And I cannot reinstalled Clipper 5.2 which is an update
searching for I don't know what version I didn't have anymore.



Mon, 27 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

Quote:

> Dave Pearson a crit :

> > So, I can't help wondering if your PLLs are a little broken in some
> > way. Do you still get the error if you link in the "normal" manner? If
> > you don't, you know where to look for the problem.... ;-)

> Without the pll, it's worstthe line : rtlink fi tous lib extend,dbfcdx
> give :

> [SNIP]

[Now would be a good time for any rtlink users to step in....]

Quote:
> I'm beginning to think that or my clipper.lib or my extend.lib are
> corrupted. And I cannot reinstalled Clipper 5.2 which is an update
> searching for I don't know what version I didn't have anymore.

I am beginning to wonder if this is the case, but, I'd expect to see some
kind of warning from the linker to say that the LIB file is corrupt or
something (although this would depend on the nature of the corruption).

I just did some tests here to see if I could recreate your problem but I had
no luck. I could get something close by using the Clipper /r switch to
restrict the explicit lib requests, however, specifying the libs I didn't
explicitly request on the rtlink command line resolved the symbols fine.

The only other thing I can think of is that you've got a library mix-up
somewhere in your environment.

--
Take a look in Hagbard's World: |     w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard/ |  ng2html - The NG to HTML converter.
http://www.hagbard.demon.co.uk/ |       eg - Norton Guide reader for Linux.
Free software, including........|   dgscan - DGROUP scanner for Clipper.



Mon, 27 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

Quote:

> UNDEFINED SYMBOL(S) AFTER LIBRARY SEARCH:
>     SYMBOL                      FIRST REFERENCE
>     ------                      ---------------
>     'PADL'                      TOUS.OBJ
>     'RDDSYS'                    CLIPPER.LIB
>     'RAT'                       CLIPPER.LIB
>     'ASCAN'                     CLIPPER.LIB
>     'I2BIN'                     CLIPPER.LIB
>     'PAD'                       CLIPPER.LIB
>     'ALLTRIM'                   CLIPPER.LIB
>     'ISALPHA'                   CLIPPER.LIB
>     'ACLONE'                    CLIPPER.LIB
>     'ASORT'                     CLIPPER.LIB
>     'RIGHT'                     CLIPPER.LIB
>     'GETENV'                    CLIPPER.LIB
>     'PADR'                      CLIPPER.LIB
>     'TBCOLUMNNE'                    CLIPPER.LIB
>     'TBROWSENEW'                    CLIPPER.LIB

> I'm beginning to think that or my clipper.lib or my extend.lib are
> corrupted.

Thinking about this a little further, all the of the symbols listed above
live in EXTEND.LIB, so, if there is a problem, it will be with that
library. I just did another test and I managed to more-or-less recreate your
problem by making a empty library called EXTEND.LIB and placing it in the
current directory.

So, check your system for all copies of a file called EXTEND.LIB. Then,
check your LIB path and see that the correct EXTEND.LIB is being found
first.

--
Take a look in Hagbard's World: |     w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard/ |  ng2html - The NG to HTML converter.
http://www.hagbard.demon.co.uk/ |       eg - Norton Guide reader for Linux.
Free software, including........|   dgscan - DGROUP scanner for Clipper.



Mon, 27 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

Dave Pearson a crit :

Quote:
> Thinking about this a little further, all the of the symbols listed
> above
> live in EXTEND.LIB, so, if there is a problem, it will be with that
> library. I just did another test and I managed to more-or-less
> recreate your
> problem by making a empty library called EXTEND.LIB and placing it in
> the
> current directory.

> So, check your system for all copies of a file called EXTEND.LIB.
> Then,
> check your LIB path and see that the correct EXTEND.LIB is being found

> first.

   Thank a lot for all your help.

Unfortunately I tried the extend.lib in the repertory of the tous.prg
where I do the compilation. It doesn't work either. I only find one copy
of an extend.lib file on my disk.

The tous.exe which work before the last modifications I made is 84,992
bites. Now it is 83,968 bites (and no I went back to the program file
has it was before so that's not the problem). Really something is not
write back in my exe file.

The extend.lib is 125,881 bites and the clipper.lib is 510,097 bites.

Maybe someONE can send me an 5.2 extend.lib file. I made a big crash a
couple of weeks ago enough to need the image file to reconstruct my disk
!



Mon, 27 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

You might take a look at your EXTEND.LIB with a library utility
(Microsoft Lib or Funcky's FLIB is even better) and see if those
functions are in there and the library hasn't been corrupted.
Frankly, from what you've written, I think EXTEND.LIB has been
damaged.

Regards,

Larry
--


Quote:
>Dave Pearson a crit :

>> Thinking about this a little further, all the of the symbols listed
>> above
>> live in EXTEND.LIB, so, if there is a problem, it will be with that
>> library. I just did another test and I managed to more-or-less
>> recreate your
>> problem by making a empty library called EXTEND.LIB and placing it in
>> the
>> current directory.

>> So, check your system for all copies of a file called EXTEND.LIB.
>> Then,
>> check your LIB path and see that the correct EXTEND.LIB is being found

>> first.

>   Thank a lot for all your help.

>Unfortunately I tried the extend.lib in the repertory of the tous.prg
>where I do the compilation. It doesn't work either. I only find one copy
>of an extend.lib file on my disk.

>The tous.exe which work before the last modifications I made is 84,992
>bites. Now it is 83,968 bites (and no I went back to the program file
>has it was before so that's not the problem). Really something is not
>write back in my exe file.

>The extend.lib is 125,881 bites and the clipper.lib is 510,097 bites.

>Maybe someONE can send me an 5.2 extend.lib file. I made a big crash a
>couple of weeks ago enough to need the image file to reconstruct my disk
>!

Larry
--



Tue, 28 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

On Thu, 11 Jun 1998 23:09:50 GMT, Karine Bissonnette

Quote:

> The extend.lib is 125,881 bites and the clipper.lib is 510,097 bites.

What version of Clipper 5.2 are you using?

Please note that if you have Clipper 5.2e
and you haven't recompiled the .LIB files,
then the size and date/time stamps will be as follows

ANSITERM.LIB     12321 02/07/1995 05:25 ---- ANSITERM.LIB
CLD     .LIB     80719 02/07/1995 05:25 ---- CLD.LIB
CLIPPER .LIB    516771 02/07/1995 05:25 ---- CLIPPER.LIB
DBFCDX  .LIB     99255 02/07/1995 05:25 ---- DBFCDX.LIB
DBFMDX  .LIB     90757 02/07/1995 05:25 ---- DBFMDX.LIB
DBFNDX  .LIB     27175 02/07/1995 05:25 ---- DBFNDX.LIB
DBFNTX  .LIB     38977 02/07/1995 05:25 ---- DBFNTX.LIB
DBPX    .LIB    170645 02/07/1995 05:25 ---- DBPX.LIB
EXTEND  .LIB    127931 02/07/1995 05:25 ---- EXTEND.LIB
NOVTERM .LIB     13857 02/07/1995 05:25 ---- NOVTERM.LIB
PCBIOS  .LIB     14369 02/07/1995 05:25 ---- PCBIOS.LIB
RTLUTILS.LIB     53925 02/07/1995 05:25 ---- RTLUTILS.LIB
SAMPLES .LIB     53891 02/07/1995 05:25 ---- SAMPLES.LIB
TERMINAL.LIB     14369 02/07/1995 05:25 ---- TERMINAL.LIB

The time stamp TELLS you which Clipper VERSION is installed.

Vers  Time
5.2    05:20
5.2a  05:21
5.2b  05:22
5.2c  05:23
5.2d  05:24
5.2e  05:25

If you're not using Clippper 5.2e or you have mismatched versions then
I'd recommend a version upgrade to eliminate possible problems.



Tue, 28 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

L. M. Rappaport a crit :

Quote:
> You might take a look at your EXTEND.LIB with a library utility
> (Microsoft Lib or Funcky's FLIB is even better) and see if those
> functions are in there and the library hasn't been corrupted.
> Frankly, from what you've written, I think EXTEND.LIB has been
> damaged.

> Regards,

> Larry
> --


I succeeded in reinstalling the Clipper 5.2 Upgrade by modifying the
install.dat file but I still get the same warning message when I compile
my little program which not work. (I won't touch those big programs I
made and are working well) So those lib files are not corrupted. I
really don't understand what's going wrong !

My version is 5.20 no a b or c...

Karine Bissonnette



Wed, 29 Nov 2000 03:00:00 GMT  
 Clipper 5.2 'Undefined symbol ASCAN and RAT ! '

Quote:

> I succeeded in reinstalling the Clipper 5.2 Upgrade by modifying the
> install.dat file but I still get the same warning message when I compile
> my little program which not work. (I won't touch those big programs I made
> and are working well) So those lib files are not corrupted. I really don't
> understand what's going wrong !

Ok, as a re-cap, make sure you've tried/checked the following:

o The setting of LIB.
o That the correct EXTEND.LIB is found (see above).
o The setting of RTLINKCMD.
o That you can build a trivial program that makes use of one or more
  functions from EXTEND.LIB.
o Link using the /VERBOSE:2 switch and see what rtlink is doing.

As a voodoo test you could grab a demo copy of Blinker and try that (if this
doesn't fail it would suggest there is something wrong with your rtlink
setup).

Quote:
> My version is 5.20 no a b or c...

BTW, once you've solved the above problem you should seriously consider
patching your Clipper installation to 5.2e.

--
Take a look in Hagbard's World: |     w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard/ |  ng2html - The NG to HTML converter.
http://www.hagbard.demon.co.uk/ |       eg - Norton Guide reader for Linux.
Free software, including........|   dgscan - DGROUP scanner for Clipper.



Wed, 29 Nov 2000 03:00:00 GMT  
 
 [ 20 post ]  Go to page: [1] [2]

 Relevant Pages 

1. Proably easy: 'symbol undefined' errors

2. Help: 'ld: Undefined symbol ___builtin_saveregs'

3. Reading from COM1: (Clipper S'87 or Clipper 5.2)

4. SWIG'ed interface undefined symbol errors

5. Recompiling Summer '97 to Clipper 5.2 HELP!

6. My Clipper program (5.2) dosen't run on PII win 98 - IE 4.0

7. WTB: Clipper 5.2 and Winter'95

8. FS: Used Clipper S'87, 5.01, 5.2 and 5.3

9. Print Screen - Summer '87 (well clipper 5.2 for sure)

10. Modem's Connect with CA-Clipper Tools 5.2

11. HELP--CLIPPER '87 to 5.2 Conversion

12. List of RDD's for Clipper 5.2/5.3

 

 
Powered by phpBB® Forum Software