- 论坛徽章:
- 0
|
[HP-UX B.11.00]
As long as making some C processes on HP-UX 11.0, I am always encountered some link errors like the follows:
/usr/ccs/bin/ld: Unsatisfied symbols:
c_udp_select (first referenced in commgr.o) (code)
c_free (first referenced in check_msg.o) (code)
c_error (first referenced in commgr.o) (code)
c_sendmsg (first referenced in msgtype_resp.o) (code)
c_mapshm (first referenced in commgr_init.o) (code)
c_send_udp_sock (first referenced in msgtype_resp.o) (code)
c_malloc (first referenced in store_msg.o) (code)
c_recvmsg (first referenced in commgr.o) (code)
c_has_subtype (first referenced in remove_msg.o) (code)
c_sysparams (first referenced in commgr.o) (code)
c_alias_to_hash_index (first referenced in alias_2_id.o) (code)
c_debug (first referenced in commgr.o) (code)
c_udp_server (first referenced in commgr.o) (code)
c_print_msg (first referenced in sys_messages.o) (code)
Those functions are not under the current directory for the process being made, but belong to some libraries. I am sure to have made and linked to those libraries, and even include the function headers involved into .h files. However, the problems still exist. One clue is that those problems seem to occur only on the case that one library function is to call another library function.
|
|