u*******n 发帖数: 119 | 1 I install "cxterm5.0.p3" in my machine, which is "SunOS 5.7".
However, complie is not successful. The "Install.log" is as
below :
Building cxterm Version 5.0
Thu Jan 4 17:06:35 PST 2001
xmkmf
imake -DUseInstalled -I/usr/openwin/lib/X11/config
make xrelease
You are using X11R6
make Makefiles
making Makefiles in cxterm...
making Makefiles in utils...
making Makefiles in dict...
making Makefiles in dict/gb...
making Makefiles in dict/big5...
making Makefiles in dict/jis...
making Makefiles in di | m*******m 发帖数: 182 | 2 A little hack. SYSV is defined twice (in command line and
in main()), so get rid of the one in main().
【在 u*******n 的大作中提到】 : I install "cxterm5.0.p3" in my machine, which is "SunOS 5.7". : However, complie is not successful. The "Install.log" is as : below : : Building cxterm Version 5.0 : Thu Jan 4 17:06:35 PST 2001 : xmkmf : imake -DUseInstalled -I/usr/openwin/lib/X11/config : make xrelease : You are using X11R6 : make Makefiles
| u*******n 发帖数: 119 | 3 Thanks at first.
I checked the file "main.c".
SYSV is only defined once in command line.
//sigh
A little hack. SYSV is defined twice (in command line and
in main()), so get rid of the one in main().
【在 m*******m 的大作中提到】 : A little hack. SYSV is defined twice (in command line and : in main()), so get rid of the one in main().
| m*******m 发帖数: 182 | 4 Hmm, can you double check this?
In my source code main.c, I see it in the line 101-109
block.
...
101 #ifdef SVR4
102 #define SYSV /* SVR4 is (approx) superset
of SVR3 */
103 #define ATT
104 #define USE_SYSV_UTMP
105 /*#ifndef sgi*/ /* this doesn't really work,
-ygz */
106 #define USE_TERMIOS
107 /*#endif*/
108 #define HAS_UTMP_UT_HOST
109 #endif
...
【在 u*******n 的大作中提到】 : Thanks at first. : I checked the file "main.c". : SYSV is only defined once in command line. : //sigh : : A little hack. SYSV is defined twice (in command line and : in main()), so get rid of the one in main().
| m*******m 发帖数: 182 | 5 Hmm, can you double check this?
In my source code main.c, I see it in the line 101-109
block.
...
101 #ifdef SVR4
102 #define SYSV /* SVR4 is (approx) superset
of SVR3 */
103 #define ATT
104 #define USE_SYSV_UTMP
105 /*#ifndef sgi*/ /* this doesn't really work,
-ygz */
106 #define USE_TERMIOS
107 /*#endif*/
108 #define HAS_UTMP_UT_HOST
109 #endif
...
【在 u*******n 的大作中提到】 : Thanks at first. : I checked the file "main.c". : SYSV is only defined once in command line. : //sigh : : A little hack. SYSV is defined twice (in command line and : in main()), so get rid of the one in main().
|
|