Re: Service logs only when exiting
[email protected] (Paul Jarc) Thu, 28 Aug 2003 14:41:56 -0400
| Newsgroups | gmane.comp.lib.ptyget |
|---|---|
| Organization | What did you have in mind? A short, blunt, human pyramid? |
| Message-ID | <[email protected]> |
Jurjen Oskam <[email protected]> wrote: > AIX 5.2, gcc 2.95-aix51: > > ./compile ptyspawn.c > In file included from ptyspawn.c:12: > readwrite.h:4: conflicting types for `read' > /usr/include/unistd.h:179: previous declaration of `read' > readwrite.h:5: conflicting types for `write' > /usr/include/unistd.h:191: previous declaration of `write' Try this: $ echo '#include <unistd.h>' > readwrite.h $ make > AIX 4.3.3, IBM C for AIX version 5: > > ./compile ptyio.c > 1500-030: (I) INFORMATION: main: Additional optimization may be > attained by > recompiling and specifying MAXMEM option with a value greater than 2048. > ./compile ttyctrl.c > ./compile ttymodes.c > "ttymodes.c", line 90.22: 1506-045 (S) Undeclared identifier > _POSIX_VDISABLE. > make: 1254-004 The error code from the last command is 1. Changing _POSIX_VDISABLE to 0 might work. paul