kerberos5 1.3.x
Antón <[email protected]> Fri, 18 Feb 2005 12:24:10 +0100
| Newsgroups | gmane.linux.redhat.taroon |
|---|---|
| Organization | no |
| Message-ID | <[email protected]> |
Hi,
As a way to solve a trouble with samba winbind,
I'm trying to build and install krb5 1.3.4 or 1.3.6.
Last official update from redhat to Entperprise 3 AS is 1.2.7
So I have used srpms from enterprise4 (1.3.4)
I've installed updates e2fsprogs (compiled and installed without
trouble)
When I try to build krb5 with:
rpmbuild --rebuild krb5-1.3.4-7.src.rpm
I got the following error:
=B7=B7=B7
gcc
-L../../lib=A0=A0-O2=A0-g=A0-pipe=A0-march=3Di386=A0-mcpu=3Di686=A0-D_FIL=
E_OFFSET_BITS=3D64=A0-I/usr/include/et=A0-fPIC=A0-pie=A0-o=A0rlogin=A0krl=
ogin.o=A0kcmd.o=A0forw
ard.o=A0=A0=A0-lkrb4=A0-ldes425=A0-lkrb5=A0-lk5crypto=A0-lcom_err=A0=A0-l=
util=A0=A0-lresolv
gcc -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"=
\"
-DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DKRB5_KRB4_COMPAT=3D
1 -DHAVE_BT_RSEQ=3D1 -DKRB5_PRIVATE=3D1 -DKRB5_DEPRECATED=3D1
-DKRB5_DNS_LOOKUP_KDC=3D1 -DKRB5_DNS_LOOKUP_REALM=3D1 -DKRB5_DNS_LOOKUP=3D=
1
-DHAVE_LIB
UTIL=3D1 -DHAVE_LIBCRYPT=3D1 -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1
-DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1
-DHAVE_MEMORY_H=3D1
=A0-DHAVE_STRINGS_H=3D1=A0-DHAVE_INTTYPES_H=3D1=A0-DHAVE_STDINT_H=3D1=A0-=
DHAVE_UNISTD_H=3D1=A0-DHAVE_U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VE_KRB_GET_ERR_TEXT=3D
1 -DHAVE_KRB_SAVE_CREDENTIALS=3D1
-DHAVE_REGCOMP=3D1=A0=A0-DKRB5_PATH_RLOGIN=3D\"/usr/kerberos/bin/rlogin\"=
=A0-DUCB_RLOGIN=3D\"/usr/bin/rlogin\"=A0-DUCB
_RSH=3D\"/usr/bin/rsh\"
-DUCB_RCP=3D\"/usr/bin/rcp\"=A0=A0-DKERBEROS=A0-DLOGIN_PROGRAM=3D\"/usr/k=
erberos/sbin/login.krb5\"=A0-DKPROGDIR=3D\"/usr/kerbero
s/bin\" -DHEIMDAL_FRIENDLY -I../../include -I./../../include
-I../../include/krb5 -I./../../include/krb5
-I./../../include/kerberosIV -I
../../include/kerberosIV -D_FILE_OFFSET_BITS=3D64 -I/usr/include/et -O2 -=
g
-pipe -march=3Di386 -mcpu=3Di686 -D_FILE_OFFSET_BITS=3D64 -I/usr/incl
ude/et -fPIC -c krshd.c
krshd.c: In function `doit':
krshd.c:632: warning: assignment makes pointer from integer without a
cast
krshd.c:633: dereferencing pointer to incomplete type
make[2]: *** [krshd.o] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/krb5-1.3.4/src/appl/bsd'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.3.4/src/appl'
make: *** [all-recurse] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.97784 (%build)
RPM build errors:
=A0=A0=A0=A0Bad=A0exit=A0status=A0from=A0/var/tmp/rpm-tmp.97784=A0(%build=
)
I've the same error with 1.3.6 rebuild.
And the error points to following lines of krshd.c
---
626|#ifdef IP_TOS
627|/* solaris has IP_TOS, but only IPTOS_* values */
628|#ifdef HAVE_GETTOSBYNAME
629|=A0=A0=A0=A0struct=A0tosent=A0*tp;
630|
631|
632|=A0=A0=A0=A0if=A0((tp=A0=3D=A0gettosbyname("interactive",=A0"tcp"))=A0=
&&
633|=A0=A0=A0=A0=A0=A0=A0=A0(setsockopt(f,=A0IPPROTO_IP,=A0IP_TOS,=A0&tp-=
>t_tos,=A0sizeof(int))=A0<=A00))
634|#ifdef=A0=A0TOS_WARN
635|=A0=A0=A0=A0=A0=A0syslog(LOG_NOTICE,=A0"setsockopt=A0(IP_TOS):=A0%m")=
;
636|#else
637|=A0=A0=A0=A0;=A0=A0=A0=A0=A0=A0=A0/*=A0silently=A0ignore=A0TOS=A0erro=
rs=A0in=A06E=A0*/
638|#endif
639|#endif
640|#endif /* IP_TOS */
---
If I comment the lines (only to see if there is no more compilation
errors), I override the error
but get another similar in commands.c
I've googled with no success...
Anyone could help me, please?
Thanks in advance,
Ant=F3n
--
Taroon-beta-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/taroon-beta-list