[foxboro] cc compiler library linking errors

Are there any C programmers still out there?  I'm having trouble with the
Fox libraries when I compile my program.  I use the form:

cc filename.c -o filename -lfox -lnsl -lsocket

The program gathers bits of information from several blocks and prints the
data out in a report.  All I needed to do was to add one more line
containing one more number to the report.  The C code was embarrassingly
simple and I'm certain that it is not the code, especially since the error
messages tell me so:  

Undefined symbol                first referenced in file
timer_create            /usr/lib/libfox.so
sigwaitinfo                     /usr/lib/libfox.so
timer_settime           /usr/lib/libfox.so
ld: fatal: Symbol referencing errors. No output written

The file -- libfox.so -- is an ELF 32-bit MSB dynamic lib SPARC Version 1,
etc  -- according to the file command.  So, I can't just scan through it for
clues using the vi editor. 

Really, I've done this before.  It's just that I can't recall doing it since
the update to the operating system back in late 1999 (remember the Y2K
hoax?).  I'm open to suggestion from anyone familiar with this type of
scenario.  My current guess is that some of the subsequent library files
have been moved from their former locations.

Chuck Jones
Refinery Automation Technologist
Tate & Lyle North America -- Lafayette South Plant
765.477.5324 - Office  | 877.536.9219 - Pager






*****************************************************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the 
use of the individual or entity to whom they are addressed. If you are not the 
intended 
recipient or the person responsible for delivering the email to the intended 
recipient, be 
advised that you have received this email in error that any use, dissemination, 
forwarding, printing, or copying of this email is strictly prohibited.  If you 
have received 
this email in error please notify the sender immediately.
Please note that we reserve the right to monitor and read any emails sent and 
received by the Company in accordance with and to the extent permitted by 
applicable legal rules.
*****************************************************************************************************

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: