HP OpenVMS Systemsask the wizard |
The Question is:
Hi,
We are uppgrading a VAX running VMS 6.2 to VMS 7.3 and I am rebuilding the
applications.
I am using MMS
I get this error:
CC /DECC /STANDARD=VAXC /PREFIX=ALL/OBJ/inc=agv$include TCPIPACII.c
struct sockaddr_in Sock2;
.....................^
%CC-E-INCOMPNOLINK, In this declaration, "Sock2" has no linkage and is of an
incomplete type.
The Answer is :
Your application appears to contain a coding bug, probably around
a missing declaration, or an incompletely declared structure, or
a missing include file.
Here is what the C help file has to say:
CC
Messages
INCOMPNOLINK
Message In this declaration, "<name>" has no linkage and is
of an incomplete type.
Description A declaration with no linkage cannot specify an
incomplete type. Incomplete types can only be used
for identifiers with external or internal linkage.
User Action Either complete the type before the declaration or
modify the declaration to specify an external or
internal linkage.
|