|
|
|
last edited 18 years ago |
| 1 | ||
|
Editor:
Time: 2007/11/17 22:18:43 GMT-8 |
||
| Note: | ||
changed: - Ok, I fixed it, although the fix is not elegant :-) In int/lib/openpty.c add the #define shown below: #include "useproto.h" #include <stdlib.h> #include <unistd.h> #include <stdio.h> #include <fcntl.h> #include <string.h> #define SUN4OS5platform <---------------- It seems to me this should be fixable by putting in src/sman/Makefile.pamphlet CFLAGS= ${CCF} -DSUN4OS5platform but somehow that definition doesn't seem to work. I can't see it in the output of the make. Anyhow, everything works now!
Ok, I fixed it, although the fix is not elegant :-)
In int/lib/openpty.c add the #define shown below:
#include "useproto.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#define SUN4OS5platform <----------------
It seems to me this should be fixable by putting in
src/sman/Makefile.pamphlet
CFLAGS= ${CCF} -DSUN4OS5platform
but somehow that definition doesn't seem to work. I can't see it in the output
of the make.
Anyhow, everything works now!