Hi,
I've been working on some software to control an older GPIB
card for the past couple of weeks. I have function prototypes in a
header file pc-mate2.h and the functions are defined in pc-mate2.c. I
am using the Borland Turbo C 2.01 compiler (it is the compiler that
the person I am writing this for uses) and when I compile the program
I am writing I get an error:
Turbo Link Version 2.0 Copyright (c) 1987, 1988 Borland
International
Undefined symbol '_readByte' in module enter2.c
a very similar error occurs if I try to compile with gcc. These
errors are strange as last year when they were first written these
problems did not occur.
I've made sure the header file is in my include directory, and that
the proper #include statements in pc-mate2.c where readByte is
defined, as well as the program I am writing that utilizes (at this
time I have other functions that are in pc-mate2.c commented out as
they cause the same error). I was wondering if anyone might have an
idea why this is happening.
Thanks for any help,
Travis
m0***@unb.ca