Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Help with compiling error

Help with compiling error

Help with compiling error

I have used this clipper program for many years, code which consists of a main prg (a basic timeclock)
called "clock" and various other linked "module()" files including
errorsys, getsys, clockin, clockout, lib, & hr_rece which was written for me in clipper 5.2.

Using the original code without making any changes, I receive errors every time I try to recompile
using "rmake /b clock".
I receive an error (undefined sysmbol after library search:  Symbol 'Clipwate'    First Reference Main.Obj
warning wrt0022:  .exe may not execute properly--undefined symbol.

I'm not a programmer nor the originator of this code, however, if I wanted to make minor
changes to existing code, it will never recompile as is unless the 'Clipwate' issue is resolved.

Please help!

The original code was compiled  in clipper 5.2 using RTLink FI using the standard libraries

After exhaustive google searching, I'm unable to locate any external lib or ch files that reference

Any comments, help would be appreciated.

Thanks in advance!

********************************Top portion of clock.prg
#include "common.ch"
#include "inkey.ch"

static Static1, Static2:= .F., Static3, Static4, Static5, Static6, ;
   Static7, Static8, Static9, Static10
static Static11:= ""

procedure CLOCK

   do while (.T.)
      in_out:= Space(1)
      Scroll(0, 0, 24, 80, 0)
      @  1,  1 to  5, 32 double
      clear gets
      do while (.T.)
         @  2,  3 say "    Time Clock             "
         @  3,  4 say "   Please Enter I or O     "
         @  4,  5 say "To Clock IN or Clock Out"
         nkey:= InKey(1)
         if (nkey = 73 .OR. nkey = 79 .OR. nkey = 105 .OR. nkey = 111)
         elseif (nkey == 27)
      if (nkey = 73 .OR. nkey = 105)
         in_out:= "I"
         in_out:= "O"
      if (in_out = "i" .OR. in_out = "I" .OR. in_out = "O" .OR. ;
            in_out = "o")
         select 11
         use dbmast shared
         if (storecls != "1")
            in_status:= "X"
            in_status:= "I"
         select 11
         use empmast shared index emast
         select 12
         use empmsg shared index emsg
         select 13
         use egenmsg shared
         select 14
         use ehr shared index ehr, ehrlog
         if (in_out = "I" .OR. in_out = "i")
            close databases
            close databases
         tone(300, 5)

and so on............


RE: Help with compiling error

clipwate is a procedure or function called with this line of code: clipwate(1000)

Try a text search on the folders where you source code is. There won't be any way to compile/link unless the file with the code for clipwate is included.  


---People Remember about 10% of what you say ---They never forget how you made them feel.  Covey

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close