home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.att
- Path: sparky!uunet!sun-barr!ames!pacbell.com!pacbell!sactoh0!dwj
- From: dwj@sactoh0.sac.ca.us (Daniel W. James)
- Subject: Streams problem on SysV R3.1
- Message-ID: <1992Aug29.011644.11990@sactoh0.sac.ca.us>
- Organization: Sacramento Public Access Unix
- Date: Sat, 29 Aug 92 01:16:44 GMT
- Lines: 38
-
- I am having a rather interesting problem with my 3B2/310...
-
- I just downloaded pcomm (a Procomm look-a-like for unix) from GEnie (Yah,
- could have done it cheaper, but I was Anxious). Anyway, although one of
- the readme files says that <R3.2 people are out of luck, it's configuration
- file tells me I have everything I need to compile the program.
-
- The problem is that one or more of the source files contains
- #include <sys/stream.h>
- which in itself is not a problem. The problem is in the header file, I get
- the following:
-
- "/usr/include/sys/stream.h", line 19: syntax error
- "/usr/include/sys/stream.h", line 19: cannot recover from earlier errors: goodbye!
-
- Line 19 looks like this: (from within a structure definition)
- caddr_t q_ptr; /* to private data structure */
-
- The following line appears around line 400 and something:
- #define straln(a) (caddr_t)((long)(a) & ~(sizeof(int)-1))
-
- Now, my C skills are quite lacking, but it appears to me that the datatype
- of caddr_t is not defined until after the header attempts to use it. I
- have not tried to relocate the #include <sys/stream.h> line yet (that will
- be my next trial).
-
- And, since my C skills are lacking, I have probably left out some important
- information that one might need to help diagnose this problem, but if
- anyone can offer any assistance, I would love it. I am dying to get this
- program up and running!!!!
-
- Thanx in advance,
- Dan.
- --
- _________________________________________________________________________
- Some folks try to multiply from sunrise to | dwj@sactoh0.SAC.CA.US
- Sunset--leave behind more of their kind so | ames!pacbell!sactoh0!dwj
- no one will forget -- Level 42 |(This space available for rent)
-