info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compile error of cvs-1.10 on Solaris-7


From: Jin Zhao
Subject: compile error of cvs-1.10 on Solaris-7
Date: Mon, 9 Oct 2000 13:11:49 -0500 (CDT)

When building cvs-1.10 on Solaris-7, the compiler always give errors of
conttents of server.c.
I tried different dowload methods and diffrent version of gcc, but the
error always happen. However, cvs-1.10-5 build smoothly. I look at the
code in server.c, it looks ok. I just wonder
what happens in cvs-1.10. 

Anybody has good idea ?

Thanks.

The following are what I did:  
gcc: 2.92 and 2.81 (I tried both)
make: 3.78.1 
configure --disable-server
errors:
===================================================================================
gcc -I. -I.. -I. -I../lib -DHAVE_CONFIG_H -I/usr/cygnus/kerbnet/include -g
-O -c server.c 
server.c:5352: parse error before `gss_ctx_id_t'
server.c:5352: warning: no semicolon at end of struct or union 
server.c:In function `cvs_gssapi_wrap_buffer_initialize':  
server.c:5368: parse error before `gss_ctx_id_t'
server.c:5373: dereferencing pointer to incomplete type
server.c:5374: dereferencing pointer to incomplete type
server.c:5381: warning: passing arg 5 of `packetizing_buffer_initialize'
makes pointer from integer without a cast 
server.c: In function `cvs_gssapi_wrap_input':  
server.c:5395: `gss_buffer_desc' undeclared (first use in this function)  
server.c:5395: (Each undeclared identifier is reported only once
server.c:5395: for each function it appears in.)
server.c:5395: parse error before `inbuf' 
server.c:5396: `OM_uint32' undeclared (first use in this function) 
server.c:5399: `inbuf' undeclared (first use in this function)  
server.c:5402: `stat_min' undeclared (first use in this function) 
server.c:5402: dereferencing pointer to incomplete type
server.c:5402: `outbuf' undeclared (first use in this function)
server.c:5403: `GSS_S_COMPLETE' undeclared (first use in this function)
server.c: In function `cvs_gssapi_wrap_output': 
server.c:5433: `gss_buffer_desc' undeclared (first use in this function) 
server.c:5433: parse error before `inbuf' 
server.c:5434: `OM_uint32' undeclared (first use in this function) 
server.c:5437: `inbuf' undeclared (first use in this function) 
server.c:5446: `stat_min' undeclared (first use in this function) 
server.c:5446: dereferencing pointer to incomplete type
server.c:5446: `GSS_C_QOP_DEFAULT' undeclared (first use in this function)
server.c:5447: `outbuf' undeclared (first use in this function)
server.c:5447: `GSS_S_COMPLETE' undeclared (first use in this function)
===================================================================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]