> I recently downloaded the gethist utilities from the site, made some
> modifications to gethist.c and tried to compile. I'm getting errors
from
> the linker for undefined symbols in the Foxboro historian library
file. I'm
> using gcc, the Gnu C compiler, which is new to me. I have previously
used
> Sun's compiler. I even tried to compile some programs that had
previously
> compiled fine under Sun C, but they also now have undefined symbol
problems
> from the linker. Any suggestions.
Roger, if you haven't already figured it out, chances are good you're
missing libraries while linking. Check and see if the following are
referenced:
-lhist -lfox -lsocket -lfoxfdr -lposix4 -lnsl -lais
Example:
# gcc filename.c -I/usr/include/fox (makes .o file)
# gcc -o filename -g filename.o -lhist -lfox -lsocket -lfoxfdr -lposix4
-lnsl -lais
More experienced C programmers feel free to chime in if I've left
something out that needs to be there!
Regards,
Kevin FitzGerrell
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
-----------------------------------------------------------------------
This list is neither sponsored nor endorsed by the Foxboro Company. All
postings from this list are the work of list subscribers and no warranty
is made or implied as to the accuracy of any information disseminated
through this medium. By subscribing to this list you agree to hold the
list sponsor(s) blameless for any and all mishaps which might occur due to
your application of information received from this mailing list.
To be removed from this list, send mail to
[EMAIL PROTECTED]
with "unsubscribe foxboro" in the Subject. Or, send any mail to
[EMAIL PROTECTED]