[krbdev.mit.edu #1227] Error while compiling krb5

Guillaume Rousseau via RT rt-comment at krbdev.mit.edu
Thu Oct 24 06:22:30 EDT 2002


Hello,
 
I got serious problems about compiling krb5 on my linux system :
 
Distribution : made with LFS4
 
root at web01:~# uname -a
Linux web01 2.4.19 #1 Sun Oct 20 17:28:08 CEST 2002 i686 unknown
root at web01:~# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ../gcc-3.2/configure --prefix=/usr --enable-shared
--enable-languages=c,c++ --enable-threads=posix --with-slibdir=/lib
--enable-_cxa-atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.2
 
With:
./configure -prefix=/usr
./configure -prefix=/usr -disable-static
./configure -prefix=/usr -enable-shared
./configure -prefix=/usr -disable-static -enable-shared
./configure -prefix=/usr -enable-shared -enable-dns
 
Same problem:
 
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -Dkrb5_sigtype=void
-DPOSIX_SIGTYPE=1 -DPOSIX_SIGNALS=1 -DSYS_ERRLIST_DECLARED=1
-DHAVE_SYS_ERRLIST=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
-DSTDC_HEADERS=1 -DHAVE_GETCWD=1 -DHAVE_GETDTABLESIZE=1
-DHAVE_STDARG_H=1 -DPOSIX_TERMIOS=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_PATHS_H=1
-DHAVE_SETUTENT=1 -DHAVE_SETUTXENT=1 -DHAVE_UPDWTMP=1 -DHAVE_UPDWTMPX=1
-DSYS_ERRLIST_DECLARED=1 -DHAVE_SYS_ERRLIST=1 -DHAVE_GETDTABLESIZE=1
-DHAVE_GETCWD=1 -DHAVE_GETUSERSHELL=1 -DHAVE_SETEUID=1 -DHAVE_SETREUID=1
-DHAVE_SETRESUID=1 -DHAVE_STRERROR=1 -DHAVE_LIBCRYPT=1 -DHAVE_LIBUTIL=1
-DHAVE_SHADOW=1  -DGSSAPI -DFTP_BUFSIZ=10240 -DKRB5_KRB4_COMPAT
-I../../../include -I./../../../include -I../../../include/krb5
-I./../../../include/krb5 -I./.. -I. -I./../../../include/kerberosIV
-I../../../include/kerberosIV  -c radix.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -Dkrb5_sigtype=void
-DPOSIX_SIGTYPE=1 -DPOSIX_SIGNALS=1 -DSYS_ERRLIST_DECLARED=1
-DHAVE_SYS_ERRLIST=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
-DSTDC_HEADERS=1 -DHAVE_GETCWD=1 -DHAVE_GETDTABLESIZE=1
-DHAVE_STDARG_H=1 -DPOSIX_TERMIOS=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_PATHS_H=1
-DHAVE_SETUTENT=1 -DHAVE_SETUTXENT=1 -DHAVE_UPDWTMP=1 -DHAVE_UPDWTMPX=1
-DSYS_ERRLIST_DECLARED=1 -DHAVE_SYS_ERRLIST=1 -DHAVE_GETDTABLESIZE=1
-DHAVE_GETCWD=1 -DHAVE_GETUSERSHELL=1 -DHAVE_SETEUID=1 -DHAVE_SETREUID=1
-DHAVE_SETRESUID=1 -DHAVE_STRERROR=1 -DHAVE_LIBCRYPT=1 -DHAVE_LIBUTIL=1
-DHAVE_SHADOW=1  -DGSSAPI -DFTP_BUFSIZ=10240 -DKRB5_KRB4_COMPAT
-I../../../include -I./../../../include -I../../../include/krb5
-I./../../../include/krb5 -I./.. -I. -I./../../../include/kerberosIV
-I../../../include/kerberosIV  -c ruserpass.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -Dkrb5_sigtype=void
-DPOSIX_SIGTYPE=1 -DPOSIX_SIGNALS=1 -DSYS_ERRLIST_DECLARED=1
-DHAVE_SYS_ERRLIST=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
-DSTDC_HEADERS=1 -DHAVE_GETCWD=1 -DHAVE_GETDTABLESIZE=1
-DHAVE_STDARG_H=1 -DPOSIX_TERMIOS=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_PATHS_H=1
-DHAVE_SETUTENT=1 -DHAVE_SETUTXENT=1 -DHAVE_UPDWTMP=1 -DHAVE_UPDWTMPX=1
-DSYS_ERRLIST_DECLARED=1 -DHAVE_SYS_ERRLIST=1 -DHAVE_GETDTABLESIZE=1
-DHAVE_GETCWD=1 -DHAVE_GETUSERSHELL=1 -DHAVE_SETEUID=1 -DHAVE_SETREUID=1
-DHAVE_SETRESUID=1 -DHAVE_STRERROR=1 -DHAVE_LIBCRYPT=1 -DHAVE_LIBUTIL=1
-DHAVE_SHADOW=1  -DGSSAPI -DFTP_BUFSIZ=10240 -DKRB5_KRB4_COMPAT
-I../../../include -I./../../../include -I../../../include/krb5
-I./../../../include/krb5 -I./.. -I. -I./../../../include/kerberosIV
-I../../../include/kerberosIV  -c secure.c
secure.c: In function `secure_putbuf':
secure.c:303: warning: passing arg 5 of `krb_mk_priv' from incompatible
pointer type
secure.c:305: warning: passing arg 4 of `krb_mk_safe' from incompatible
pointer type
secure.c:352: warning: passing arg 2 of `krb_net_write' from
incompatible pointer type
secure.c: In function `secure_getbyte':
secure.c:367: warning: passing arg 2 of `krb_net_read' from incompatible
pointer type
secure.c:391: warning: passing arg 4 of `krb_rd_priv' from incompatible
pointer type
secure.c:393: warning: passing arg 3 of `krb_rd_safe' from incompatible
pointer type
cc -L../../../lib -Wl,-rpath -Wl,/usr/local/lib -o ftp cmds.o cmdtab.o
domacro.o ftp.o getpass.o glob.o main.o pclose.o radix.o ruserpass.o
secure.o -lgssapi_krb5 -lkrb4 -lkrb5 -ldes425 -lk5crypto -lcom_err
-lutil -lcrypt  -lresolv
cmds.o: In function `remglob':
cmds.o(.text+0x1e0d): the use of `mktemp' is dangerous, better use
`mkstemp'
make[3]: Leaving directory `/usr/src/krb5-1.2.6/src/appl/gssftp/ftp'
making all in appl/gssftp/ftpd...
make[3]: Entering directory `/usr/src/krb5-1.2.6/src/appl/gssftp/ftpd'
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -Dkrb5_sigtype=void
-DPOSIX_SIGTYPE=1 -DPOSIX_SIGNALS=1 -DSYS_ERRLIST_DECLARED=1
-DHAVE_SYS_ERRLIST=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
-DSTDC_HEADERS=1 -DHAVE_GETCWD=1 -DHAVE_GETDTABLESIZE=1
-DHAVE_STDARG_H=1 -DPOSIX_TERMIOS=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_PATHS_H=1
-DHAVE_SETUTENT=1 -DHAVE_SETUTXENT=1 -DHAVE_UPDWTMP=1 -DHAVE_UPDWTMPX=1
-DSYS_ERRLIST_DECLARED=1 -DHAVE_SYS_ERRLIST=1 -DHAVE_GETDTABLESIZE=1
-DHAVE_GETCWD=1 -DHAVE_GETUSERSHELL=1 -DHAVE_SETEUID=1 -DHAVE_SETREUID=1
-DHAVE_SETRESUID=1 -DHAVE_STRERROR=1 -DHAVE_LIBCRYPT=1 -DHAVE_LIBUTIL=1
-DHAVE_SHADOW=1  -DGSSAPI -DFTP_BUFSIZ=10240  -DKRB5_KRB4_COMPAT
-I../../../include -I./../../../include -I../../../include/krb5
-I./../../../include/krb5 -I./.. -I. -I./../../../include/kerberosIV
-I../../../include/kerberosIV  -c ftpd.c
ftpd.c: In function `reply':
ftpd.c:1819: warning: passing arg 5 of `krb_mk_priv' from incompatible
pointer type
ftpd.c:1826: warning: passing arg 4 of `krb_mk_safe' from incompatible
pointer type
ftpd.c: In function `auth_data':
ftpd.c:2313: warning: passing arg 4 of `krb_mk_safe' from incompatible
pointer type
rm -f ftpcmd.c y.tab.c
bison -y ./ftpcmd.y
./ftpcmd.y:207.3: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:215.3: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:244.5-245.9: $2 of `cmd' has no declared type
./ftpcmd.y:361.5-362.9: $2 of `cmd' has no declared type
./ftpcmd.y:361.5-362.15: $4 of `cmd' has no declared type
./ftpcmd.y:361.5-363.36: $4 of `cmd' has no declared type
./ftpcmd.y:361.5-364.9: $4 of `cmd' has no declared type
./ftpcmd.y:361.5-365.20: $4 of `cmd' has no declared type
./ftpcmd.y:368.5-369.9: $2 of `cmd' has no declared type
./ftpcmd.y:368.5-369.15: $4 of `cmd' has no declared type
./ftpcmd.y:368.5-370.26: $4 of `cmd' has no declared type
./ftpcmd.y:368.5-371.9: $4 of `cmd' has no declared type
./ftpcmd.y:368.5-372.20: $4 of `cmd' has no declared type
./ftpcmd.y:375.5-376.9: $2 of `cmd' has no declared type
./ftpcmd.y:375.5-376.15: $4 of `cmd' has no declared type
./ftpcmd.y:375.5-377.26: $4 of `cmd' has no declared type
./ftpcmd.y:375.5-378.9: $4 of `cmd' has no declared type
./ftpcmd.y:375.5-379.20: $4 of `cmd' has no declared type
./ftpcmd.y:382.5-383.9: $2 of `cmd' has no declared type
./ftpcmd.y:387.5-388.9: $2 of `cmd' has no declared type
./ftpcmd.y:387.5-388.15: $4 of `cmd' has no declared type
./ftpcmd.y:387.5-389.30: $4 of `cmd' has no declared type
./ftpcmd.y:387.5-390.9: $4 of `cmd' has no declared type
./ftpcmd.y:387.5-391.20: $4 of `cmd' has no declared type
./ftpcmd.y:394.5-395.9: $2 of `cmd' has no declared type
./ftpcmd.y:399.5-400.9: $2 of `cmd' has no declared type
./ftpcmd.y:399.5-400.15: $4 of `cmd' has no declared type
./ftpcmd.y:399.5-401.43: $4 of `cmd' has no declared type
./ftpcmd.y:399.5-402.9: $4 of `cmd' has no declared type
./ftpcmd.y:399.5-403.20: $4 of `cmd' has no declared type
./ftpcmd.y:406.5-407.9: $2 of `cmd' has no declared type
./ftpcmd.y:406.5-407.15: $4 of `cmd' has no declared type
./ftpcmd.y:406.5-408.27: $4 of `cmd' has no declared type
./ftpcmd.y:406.5-409.9: $4 of `cmd' has no declared type
./ftpcmd.y:406.5-410.20: $4 of `cmd' has no declared type
./ftpcmd.y:417.5-418.9: $2 of `cmd' has no declared type
./ftpcmd.y:417.5-418.15: $4 of `cmd' has no declared type
./ftpcmd.y:417.5-419.27: $4 of `cmd' has no declared type
./ftpcmd.y:417.5-420.9: $4 of `cmd' has no declared type
./ftpcmd.y:417.5-421.20: $4 of `cmd' has no declared type
./ftpcmd.y:439.5-440.9: $2 of `cmd' has no declared type
./ftpcmd.y:444.5-445.9: $2 of `cmd' has no declared type
./ftpcmd.y:444.5-445.15: $4 of `cmd' has no declared type
./ftpcmd.y:444.5-446.19: $4 of `cmd' has no declared type
./ftpcmd.y:444.5-447.9: $4 of `cmd' has no declared type
./ftpcmd.y:444.5-448.20: $4 of `cmd' has no declared type
./ftpcmd.y:474.5-475.9: $2 of `cmd' has no declared type
./ftpcmd.y:474.5-475.15: $4 of `cmd' has no declared type
./ftpcmd.y:474.5-476.23: $4 of `cmd' has no declared type
./ftpcmd.y:474.5-477.9: $4 of `cmd' has no declared type
./ftpcmd.y:474.5-478.20: $4 of `cmd' has no declared type
./ftpcmd.y:481.5-482.9: $2 of `cmd' has no declared type
./ftpcmd.y:481.5-482.15: $4 of `cmd' has no declared type
./ftpcmd.y:481.5-483.25: $4 of `cmd' has no declared type
./ftpcmd.y:481.5-484.9: $4 of `cmd' has no declared type
./ftpcmd.y:481.5-485.20: $4 of `cmd' has no declared type
./ftpcmd.y:488.5-489.9: $2 of `cmd' has no declared type
./ftpcmd.y:493.5-494.9: $2 of `cmd' has no declared type
./ftpcmd.y:502.5-503.28: invalid $ value
./ftpcmd.y:502.5-503.28: $5 of `cmd' has no declared type
./ftpcmd.y:506.5-509.9: $4 of `cmd' has no declared type
./ftpcmd.y:516.5-519.9: $4 of `cmd' has no declared type
./ftpcmd.y:516.5-520.11: invalid value: $6
./ftpcmd.y:516.5-520.25: invalid value: $6
./ftpcmd.y:516.5-523.23: invalid value: $6
./ftpcmd.y:516.5-526.11: invalid value: $6
./ftpcmd.y:531.5-532.9: $4 of `cmd' has no declared type
./ftpcmd.y:531.5-532.16: invalid value: $8
./ftpcmd.y:531.5-533.10: invalid value: $6
./ftpcmd.y:531.5-536.30: invalid value: $8
./ftpcmd.y:531.5-536.34: invalid value: $6
./ftpcmd.y:531.5-537.34: invalid value: $8
./ftpcmd.y:531.5-541.9: invalid value: $8
./ftpcmd.y:531.5-542.20: invalid value: $8
./ftpcmd.y:551.5-552.9: invalid $ value
./ftpcmd.y:551.5-552.9: $5 of `cmd' has no declared type
./ftpcmd.y:551.5-552.20: invalid $ value
./ftpcmd.y:551.5-552.20: $5 of `cmd' has no declared type
./ftpcmd.y:551.5-557.16: invalid $ value
./ftpcmd.y:551.5-557.16: $5 of `cmd' has no declared type
./ftpcmd.y:565.5-566.9: $2 of `cmd' has no declared type
./ftpcmd.y:565.5-566.15: $4 of `cmd' has no declared type
./ftpcmd.y:565.5-567.26: $4 of `cmd' has no declared type
./ftpcmd.y:565.5-568.9: $4 of `cmd' has no declared type
./ftpcmd.y:565.5-569.20: $4 of `cmd' has no declared type
./ftpcmd.y:596.5-597.9: $2 of `cmd' has no declared type
./ftpcmd.y:596.5-597.15: $4 of `cmd' has no declared type
./ftpcmd.y:596.5-598.23: $4 of `cmd' has no declared type
./ftpcmd.y:596.5-599.9: $4 of `cmd' has no declared type
./ftpcmd.y:596.5-600.20: $4 of `cmd' has no declared type
./ftpcmd.y:613.5-614.9: $2 of `cmd' has no declared type
./ftpcmd.y:613.5-614.15: $4 of `cmd' has no declared type
./ftpcmd.y:613.5-616.24: $4 of `cmd' has no declared type
./ftpcmd.y:613.5-617.40: $4 of `cmd' has no declared type
./ftpcmd.y:613.5-620.17: $4 of `cmd' has no declared type
./ftpcmd.y:613.5-632.9: $4 of `cmd' has no declared type
./ftpcmd.y:613.5-633.20: $4 of `cmd' has no declared type
./ftpcmd.y:655.3: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:667.5-669.21: $3 of `rcmd' has no declared type
./ftpcmd.y:678.9: empty rule for typed nonterminal, and no action
./ftpcmd.y:679.3: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:688.10-689.21: type clash (`' `num') on default action
./ftpcmd.y:690.3: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:701.10-14: type clash (`num' `') on default action
./ftpcmd.y:702.2: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:715.10-14: type clash (`num' `') on default action
./ftpcmd.y:716.2: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:734.2: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:739.4-741.15: invalid value: $3
./ftpcmd.y:749.4-751.15: invalid value: $3
./ftpcmd.y:763.4-765.17: invalid value: $3
./ftpcmd.y:769.4-771.17: invalid $ value
./ftpcmd.y:769.4-771.17: $2 of `type_code' has no declared type
./ftpcmd.y:775.12-16: type clash (`num' `') on default action
./ftpcmd.y:776.2: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:789.10-14: type clash (`num' `') on default action
./ftpcmd.y:790.2: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:804.2: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:833.2: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:857.12: empty rule for typed nonterminal, and no action
./ftpcmd.y:858.2: parse error, unexpected "=", expecting ";" or "|"
./ftpcmd.y:869.2: parse error, unexpected "=", expecting ";" or "|"
make[3]: *** [ftpcmd.c] Error 1
make[3]: Leaving directory `/usr/src/krb5-1.2.6/src/appl/gssftp/ftpd'
make[2]: *** [all-recurse] Error 1
make[2]: Leaving directory `/usr/src/krb5-1.2.6/src/appl/gssftp'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/usr/src/krb5-1.2.6/src/appl'
make: *** [all-recurse] Error 1
root at web01:/usr/src/krb5-1.2.6/src# cd
 
 
Thank you by advance, ask me if you need something else.
-- 
Guillaume Rousseau
 



More information about the krb5-bugs mailing list