Title: | DECC |
Notice: | General DEC C discussions |
Moderator: | TLE::D_SMITH N TE |
Created: | Fri Nov 13 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2212 |
Total number of notes: | 11045 |
The following code is compiled and linked on OpenVMS/VAX V5.5-2, DECC V5.0-003, OK, no problem. But with OpenVMS/AXP V6.2, DECC V5.0-003, UCX V3.3-7, at link, the function socket is undefined, even if I linked with sys$library:ucx$ipc_shr/share. Any ideas ? Thank you in advance. Cheu. ------------------------------------------------------------------------------ #include <unistd.h> #include <sys/types.h> #include <unixio.h> #include <unixlib.h> #include <stdio.h> #include <stdlib.h> #include <unixio.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> main () { int f; f=socket (AF_INET, SOCK_STREAM, 0); }
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2164.1 | cc/prefix=all | BALZAC::KUOCH | Mon Apr 28 1997 10:24 | 1 | |
Solution : cc/prefix=all (conference LASSIE::UCX, note 4443.1) | |||||
2164.2 | Consider Upgrades, Too... | XDELTA::HOFFMAN | Steve, OpenVMS Engineering | Mon Apr 28 1997 14:25 | 12 |
: The following code is compiled and linked on OpenVMS/VAX V5.5-2, : DECC V5.0-003, OK, no problem. DEC C for OpenVMS VAX has a slightly different default for /PREFIX and for alignment and a few other areas than does DEC C for OpenVMS Alpha, but both platforms will accept and process /PREFIX=ALL. I would also recommend upgrades: to your OpenVMS VAX node to V6.2 or to V7.1 (the latter is current), to your DEC C (V5.5-003 is current) and to UCX (V4.1 is current)... |