Redian新闻
>
What's wrong with "CXTERM"CXTERM INSTALL : HELP !
avatar
What's wrong with "CXTERM"CXTERM INSTALL : HELP !# Unix - 噫吁兮,危乎高哉
u*n
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
avatar
m*m
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

avatar
u*n
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().

avatar
m*m
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().

avatar
m*m
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().

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。