This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
fatal error: Symbol referencing errors SCO Unix and C
- From: "Dasarathi, Sujay ." <DASARATS at timken dot com>
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 29 Apr 2003 10:20:57 +0530
- Subject: fatal error: Symbol referencing errors SCO Unix and C
Hello all,
I get the below error Can Some one guide me
Thanks in advance
$gcc -o confirmput.out confirmput.c -lmqic
confirmput.c: In function `main':
confirmput.c:54: warning: passing arg 2 of `strcpy' from incompatible
pointer type
confirmput.c:73: warning: passing arg 2 of `strcpy' from incompatible
pointer type
confirmput.c:89: warning: passing arg 2 of `strcpy' from incompatible
pointer type
confirmput.c:105: warning: passing arg 2 of `strcpy' from incompatible
pointer type
confirmput.c: In function `mqput':
confirmput.c:194: warning: passing arg 2 of `strcat' makes pointer from
integer without a cast
confirmput.c:195: warning: passing arg 2 of `strcpy' makes pointer from
integer without a cast
confirmput.c:196: warning: passing arg 2 of `strcpy' makes pointer from
integer without a cast
confirmput.c:197: warning: passing arg 2 of `strcpy' makes pointer from
integer without a cast
confirmput.c:198: warning: passing arg 2 of `strcpy' makes pointer from
integer without a cast
confirmput.c:199: warning: passing arg 2 of `strcpy' makes pointer from
integer without a cast
confirmput.c: At top level:
confirmput.c:255: warning: type mismatch with previous implicit declaration
confirmput.c:195: warning: previous implicit declaration of `fnstring'
confirmput.c:255: warning: `fnstring' was previously implicitly declared to
return `int'
confirmput.c: In function `fnstring':
confirmput.c:272: warning: function returns address of local variable
confirmput.c: At top level:
confirmput.c:276: warning: type mismatch with previous implicit declaration
confirmput.c:194: warning: previous implicit declaration of `fndate'
confirmput.c:276: warning: `fndate' was previously implicitly declared to
return `int'
confirmput.c: In function `fndate':
confirmput.c:300: warning: function returns address of local variable
confirmput.c: In function `fnerror':
confirmput.c:313: warning: assignment makes pointer from integer without a
cast
Undefined first referenced
symbol in file
accept /usr/lib/libmqmcs.so
recv /usr/lib/libmqic.so
htons /usr/lib/libmqic.so
socket /usr/lib/libmqic.so
send /usr/lib/libmqic.so
connect /usr/lib/libmqic.so
std_syslog /usr/lib/libmqmcs.so
listen /usr/lib/libmqmcs.so
gethostbyname /usr/lib/libmqic.so
getservbyname /usr/lib/libmqic.so
setsockopt /usr/lib/libmqic.so
usleep /usr/lib/libmqmcs.so
inet_ntoa /usr/lib/libmqic.so
bind /usr/lib/libmqic.so
gethostname /usr/lib/libmqic.so
ntohs /usr/lib/libmqic.so
gethostbyaddr /usr/lib/libmqic.so
shutdown /usr/lib/libmqic.so
openlog /usr/lib/libmqmcs.so
getpeername /usr/lib/libmqic.so
getdomainname /usr/lib/libmqic.so
inet_addr /usr/lib/libmqic.so
confirmput.out: fatal error: Symbol referencing errors. No output written to
confirmput.out
collect2: ld returned 1 exit status
Sujay Dasarathi
TER-I, Bangalore
080-5536113 ext 1025
**********************************************************************
This message and any attachments are intended for the
individual or entity named above. If you are not the intended
recipient, please do not forward, copy, print, use or disclose this
communication to others; also please notify the sender by
replying to this message, and then delete it from your system.
The Timken Company
**********************************************************************