MU-VMS Archives

July 1997

MU-VMS@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Randy Kaelber <[log in to unmask]>
Reply To:
Miami University OpenVMS <[log in to unmask]>
Date:
Mon, 14 Jul 1997 22:54:13 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
George ([log in to unmask]) wrote:
> I have written a program in C that takes the input of a web page form and
> mails the results to a list of people.  Under Linux it compiles, links,
> and runs perfectly.  On the VAX, it compiles (after writing my own strdup)
> and then complains of the following linker errors:
 
> %LINK-I-UDFSYM,         CONNECT
> %LINK-I-UDFSYM,         HTONS
> %LINK-I-UDFSYM,         INET_ADDR
> %LINK-I-UDFSYM,         RECV
> %LINK-I-UDFSYM,         SEND
> %LINK-I-UDFSYM,         SOCKET
 
> I typed:
> cc form.c
> link form.obj /executable=form.cgi
 
> Anyone know of a way to link in those functions?
 
Try this (I'm sure Kent will give you the lowdown if I'm wrong):
 
$ link form.obj /exec=form.cgi,SYS$INPUT:/opt
multinet_nw_client_library/share
multinet_socket_library/share
 
Then press ctrl-Z to terminate the input.
 
Hope this helps,
--
   Randy Kaelber:  [log in to unmask]  http://avian.dars.muohio.edu/~randy/
        DARS Programmer/Analyst, Miami University, Oxford, OH 45056 USA

ATOM RSS1 RSS2