Implementing BSD functions in SysV
Ephraim Silverberg
ephraim at techunix.BITNET
Fri Apr 15 18:24:29 AEST 1988
I was compiling a programme written for BSD on an RT running SysV and
got the following response:
/bin/cc -a prog1.o prog2.o -llib1 -llib2 -llib3
ld: Undefined -
.bzero
_bzero
.insque
_insque
.remque
_remque
.gethostname
.inet_addr
.gethostbyname
.socket
.connect
_gethostname
_inet_addr
_gethostbyname
_socket
_connect
_end
*** Error code 1
Stop.
It seems that SysV doesn't support these functions (bzero seems easy
enough to implement by hand, insque/remque somewhat harder, and the
socket/inet functions virtually impossible). Can I replace these functions
with SysV functions and get the same functionality? If so, how?
Please reply by e-mail. Thanks in advance.
-------------------------------------------------------------------------------
Ephraim Silverberg,
Faculty of Biomedical Engineering,
Israel Institute of Technology,
Haifa, Israel.
BITNET : ephraim at techunix
ARPANET : ephraim%techunix.bitnet at cunyvm.cuny.edu
CSNET : ephraim%techunix.bitnet at csnet-relay.csnet
UUCP : {ihnp4, allegra, rutgers}!psuvax1!techunix.bitnet!ephraim
-------------------------------------------------------------------------------
More information about the Comp.unix.questions
mailing list