[comp.unix.questions] Implementing BSD functions in SysV

ephraim@techunix.BITNET (Ephraim Silverberg) (04/15/88)

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@techunix
ARPANET :        ephraim%techunix.bitnet@cunyvm.cuny.edu
CSNET   :        ephraim%techunix.bitnet@csnet-relay.csnet
UUCP    :        {ihnp4, allegra, rutgers}!psuvax1!techunix.bitnet!ephraim

-------------------------------------------------------------------------------