求助:4gl程序编译报错的解决方法。
编译平台:Sco506+informix7.31,并在Sco506下打了rs506a补丁。在编译4gl程序时报错如下,请问各位如何解决?谢谢!!!
$ c4gl -s jjh.4gl -o aaa
Undefined first referenced
symbol in file
__res_query /usr/lib/libsocket.a(hostent.o)
h_errno /usr/lib/libsocket.a(hostent.o)
_res /usr/lib/libsocket.a(hostent.o)
dn_expand /usr/lib/libsocket.a(hostent.o)
__dn_skipname /usr/lib/libsocket.a(hostent.o)
inet_ntoa /usr/lib/libsocket.a(gethostent.o)
__res_init /usr/lib/libsocket.a(hostent.o)
__res_search /usr/lib/libsocket.a(hostent.o)
_getshort /usr/lib/libsocket.a(hostent.o)
inet_addr /usr/informix/lib/tools/netlib.a(stcp.o)
inet_aton /usr/lib/libsocket.a(hostent.o)
aaa: fatal error: Symbol referencing errors. No output written to aaa
页:
[1]