From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e1496d9610b37a37,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-09-25 04:57:16 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: banny52@yahoo.com (Ginny E. Kim) Newsgroups: comp.unix.tru64 Subject: The error in "include" files... Date: 25 Sep 2001 04:57:16 -0700 Organization: http://groups.google.com/ Message-ID: <2f6bec0a.0109250357.37a3efde@posting.google.com> NNTP-Posting-Host: 211.117.39.52 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1001419036 17144 127.0.0.1 (25 Sep 2001 11:57:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 25 Sep 2001 11:57:16 GMT Xref: archiver1.google.com comp.unix.tru64:5010 In True64UNIX V5.1, system include file, "/usr/include/kern/queue.h" and "/usr/include/sys/stream.h" have "typedef" of same variable .. "/usr/include/kern/queue.h" define "typedef struct queue_entry *queue_t", "/usr/include/sys/stream.h" define "typedef struct queue queue_t". By same definition, my program has following compile error.. cc: Error: /sys/include/kern/queue.h, line 87: In this declaration, "queue_t" has no linkage and has a prior declaration in this scope at line number 163 in file /sys/include/sys/stream.h. (nolinkage) typedef struct queue_entry *queue_t; --------------------------------^ *** Exit 1 Stop. ISN'T THIS THE ERROR ?