A problem of building krb5-1.3.1 from sources on FreeBSD 4.9
a person
a at newchem.ru
Mon Dec 8 10:54:34 EST 2003
Hello kerberos,
The first thing I've collided with during building on my FreeBSD
4.9 system is a warning while compiling:
/usr/include/stdlib.h:111: warning: ANSI C does not support `long
long'
/usr/include/stdlib.h:117: warning: ANSI C does not suppotr `long
long'
The OS uses gcc version 2.95.4.
Which compiler or any additional (OS?) settings should I use to
correct this warning?
The second one I wish to ask about has stoped the building process with
error and so will require a litlle bit more patiance to read:
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BT_RSEQ=1
-DKRB5_PRIVATE=1 -DKRB5_DEPRECATED=1 -DKRB5_DNS_LOOKUP_KDC=1
-DKRB5_DNS_LOOKUP_REALM=1 -DKRB5_DNS_LOOKUP=1 -DHAVE_LIBUTIL=1
-DHAVE_LIBCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1
-DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_ISATTY=1
-DHAVE_INET_ATON=1 -DHAVE_GETENV=1 -DHAVE_KILLPG=1 -DHAVE_INITGROUPS=1
-DHAVE_SETPRIORITY=1 -DHAVE_SETREUID=1 -DHAVE_SETRESUID=1
-DHAVE_WAITPID=1 -DHAVE_SETSID=1 -DHAVE_SETLOGIN=1 -DHAVE_TCGETPGRP=1
-DHAVE_TCSETPGRP=1 -DHAVE_SETPGID=1 -DHAVE_UTIMES=1
-DHAVE_RRESVPORT_AF=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_SYS_SOCKIO_H=1
-DHAVE_SYS_TTY_H=1 -DHAVE_TTYENT_H=1 -DHAVE_SYS_SELECT_H=1
-DHAVE_UTMP_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_IOCTL_COMPAT_H=1
-DHAVE_PATHS_H=1 -DHAVE_ARPA_NAMESER_H=1 -DHAVE_STDARG_H=1
-DHAVE_GETDTABLESIZE=1 -DNEED_DAEMON_PROTO=1 -DPOSIX_SIGTYPE=1
-Dkrb5_sigtype=void -DPOSIX_SIGNALS=1 -DPOSIX_SETJMP=1
-DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_TERMIOS=1 -DNO_UT_PID=1
-DNO_UT_TYPE=1 -DNO_UT_EXIT=1 -DGETSOCKNAME_ARG2_TYPE=struct\ sockaddr
-DGETSOCKNAME_ARG3_TYPE=size_t -DHAVE_SETOWN=1 -DSETPGRP_TWOARG=1
-DHAVE_REGCOMP=1 -DKRB5_PATH_RLOGIN=\"/usr/local/bin/rlogin\"
-DUCB_RLOGIN=\"/usr/bin/rlogin\" -DUCB_RSH=\"/usr/bin/rsh\"
-DUCB_RCP=\"/bin/rcp\" -DKERBEROS
-DLOGIN_PROGRAM=\"/usr/local/sbin/login.krb5\"
-DKPROGDIR=\"/usr/local/bin\" -DHEIMDAL_FRIENDLY -I../../include
-I./../../include -I../../include/krb5 -I./../../include/krb5 -g
-O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion
-Wshadow -Wno-comment -pedantic -c login.c
In file included from login.c:85:
/usr/include/stdlib.h:111: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:117: warning: ANSI C does not support `long long'
login.c:516: warning: no previous prototype for `k_init'
login.c: In function `main':
login.c:1475: warning: passing arg 2 of `chmod' with different width
due to prototype
login.c:1551: warning: passing arg 2 of `initgroups' as signed due to
prototype
login.c: In function `motd':
login.c:2089: warning: passing arg 3 of `write' as unsigned due to
prototype
gcc -L../../lib -Wl,-rpath -Wl,/usr/local/lib -g -O2 -Wall
-Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow
-Wno-comment -pedantic -o login.krb5 login.o -lcrypt -lpty
-ldes425 -lkrb5 -lk5crypto -lcom_err -lutil ../../lib/libkrb5.so:
warning: mktemp() possibly used unsafely; consider using mkstemp()
making all in appl/gss-sample...
gcc -L../../lib -Wl,-rpath -Wl,/usr/local/lib -g -O2 -Wall
-Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow
-Wno-comment -pedantic -o gss-server gss-server.o gss-misc.o
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ../../lib/libkrb5.so:
warning: mktemp() possibly used unsafely; consider using mkstemp()
gcc -L../../lib -Wl,-rpath -Wl,/usr/local/lib -g -O2 -Wall
-Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow
-Wno-comment -pedantic -o gss-client gss-client.o gss-misc.o
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ../../lib/libkrb5.so:
warning: mktemp() possibly used unsafely; consider using mkstemp()
making all in appl/gssftp...
making all in appl/gssftp/ftp...
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BT_RSEQ=1
-DKRB5_PRIVATE=1 -DKRB5_DEPRECATED=1 -DKRB5_DNS_LOOKUP_KDC=1
-DKRB5_DNS_LOOKUP_REALM=1 -DKRB5_DNS_LOOKUP=1 -DPOSIX_SIGTYPE=1
-Dkrb5_sigtype=void -DPOSIX_SIGNALS=1 -DUSE_SIGPROCMASK=1
-DPOSIX_SETJMP=1 -DWAIT_USES_INT=1 -DSYS_ERRLIST_DECLARED=1
-DHAVE_SYS_ERRLIST=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_UNISTD_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
-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_SYS_SOCKIO_H=1 -DHAVE_PATHS_H=1 -DNO_UT_PID=1 -DNO_UT_TYPE=1
-DNO_UT_EXIT=1 -DSYS_ERRLIST_DECLARED=1 -DHAVE_SYS_ERRLIST=1
-DHAVE_GETDTABLESIZE=1 -DHAVE_GETCWD=1 -DHAVE_GETDTABLESIZE=1
-DHAVE_GETUSERSHELL=1 -DHAVE_SETEUID=1 -DHAVE_SETREUID=1
-DHAVE_SETRESUID=1 -DHAVE_STRERROR=1 -DHAVE_GETENV=1 -DHAVE_LIBCRYPT=1
-DHAVE_LIBUTIL=1 -DHAVE_REGCOMP=1 -DGSSAPI -DFTP_BUFSIZ=10240
-I../../../include -I./../../../include -I../../../include/krb5
-I./../../../include/krb5 -I./.. -I. -g -O2 -Wall
-Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow
-Wno-comment -pedantic -c ./cmdtab.c
In file included from /usr/include/sys/param.h:98,
from ftp_var.h:111,
from ./cmdtab.c:39:
/usr/include/sys/signal.h:230: redefinition of `my_sig_t'
ftp_var.h:62: `my_sig_t' previously declared here
./cmdtab.c:35: warning: `sccsid' defined but not used
*** Error code 1
Stop in
/usr/ports/distfiles/PKI/MIT-Kerberos/krb5-1.3.1/src/appl/gssftp/ftp.
*** Error code 1
Stop in
/usr/ports/distfiles/PKI/MIT-Kerberos/krb5-1.3.1/src/appl/gssftp.
*** Error code 1
Stop in /usr/ports/distfiles/PKI/MIT-Kerberos/krb5-1.3.1/src/appl.
*** Error code 1
Stop in /usr/ports/distfiles/PKI/MIT-Kerberos/krb5-1.3.1/src.
What should I do to eliminate this problem and to complete the building
process successfully?
--
Best regards,
a mailto:a at newchem.ru
More information about the Kerberos
mailing list