[2902] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

pending/570: Bug in krb5 compilation

daemon@ATHENA.MIT.EDU (Francesco Faenzi)
Mon Mar 23 04:35:24 1998

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: gnats-admin@rt-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU,
        Francesco Faenzi <1993s000@educ.disi.unige.it>
Date: Mon, 23 Mar 1998 10:30:10 +0100
From: Francesco Faenzi <1993s000@educ.disi.unige.it>
To: krb5-bugs@MIT.EDU


>Number:         570
>Category:       pending
>Synopsis:       Bug in krb5 compilation
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Mon Mar 23 04:35:01 EST 1998
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
This is a multi-part message in MIME format.
--------------01F89360AD9433EF6D5610D7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I've encountered a bug while compiling krb5 under redhat 5.0

System config details
 gcc-2.8.1
 glibc-2.0.5
 libc5-5.4.38
 ld.so.2.0.4
 kernel-2.0.33
 make-3.76

The bug report is included in the attached file.
TIA,
            Francesco Faenzi
-- 
--------------------------------------------------------
| Francesco Faenzi:        Student in Computer Science |
|	                         System Administrator        |
|                          Network Consultant          |
________________________________________________________
| Disclaimer :=> Everything above is a true statement, |
|                for sufficiently false values of true.|
--------------------------------------------------------
--------------01F89360AD9433EF6D5610D7
Content-Type: text/plain; charset=us-ascii; name="krb-bug"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="krb-bug"

rpm -i krb5-1.0-3.src.rpm

---------------------------------------------------------------------------

rpm  -bb  krb5.spec
* Package: krb5
* Package: krb5-workstation
Field must be present    : Description
* Package: krb5-server
Field must be present    : Description
* Package: krb5-libs
Field must be present    : Description
* Package: krb5-devel
Field must be present    : Description

Spec file check failed!!
Tell rpm-list@redhat.com if this is incorrect.

--------------------------------------------------------------------------

ADDED MYSELF AN  ENTRY

%description workstation
Kerberos programs for use on workstations

%description server
Kerberos server programs

%description libs
Kerberos shared libraries

%description devel
Header files and libraries necessary to compile Kerberos programs


--------------------------------------------------------------------------

rpm -bb

+ CFLAGS=-O2 -m486 -fno-strength-reduce
+ ./configure --prefix=/usr/athena --enable-shared --with-tcl=/usr 
       --sysconfdir=/etc/athena --localstatedir=/var/kerberos 
       --infodir=/usr/info
creating cache ./config.cache
checking for C compiler... cc
checking for gcc... cc
checking whether we are using GNU C... yes
LD defaults to cc
CPPOPTS defaults to
built in krb4 support
checking for working const... yes
checking for -lsocket... no
checking for -lnsl... yes
checking whether we are using GNU C... checking how to run the C preprocessor... 
  cc -E   yes
checking for build host... checking host system type... 
Invalid configuration `i686-unknown-linux': machine `i686-unknown' 
            not recognized

--------------------------------------------------------------------------

CHANGED  CFLAGS

CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/athena --enable-shared \
   --with-tcl=/usr --sysconfdir=/etc/athena \
   --localstatedir=/var/kerberos >>>>>--host=i386-redhat-linux<<<<<<< \
   --infodir=/usr/info

---------------------------------------------------------------------------

# make
making all in util...
make[1]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util'
making all in util/et...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/et'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/et'
making all in util/ss...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/ss'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/ss'
making all in util/profile...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/profile'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/profile'
making all in util/pty...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/pty'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/pty'
making all in util/dyn...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/dyn'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/dyn'
making all in util/db2...
make[2]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/db2'
for i in obj; do (cd $i; make all) || exit 1; done
make[3]: Entering directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/db2/obj'
cc -O2 -m486 -fno-strength-reduce  -DHAVE_CONFIG_H -I. -I../include -I../mpool 
     -I../db -I../hash -I../btree -I../recno -c -o hash.o ../hash/hash.c
In file included from ../hash/hash.c:55:
../hash/hash.h:97: field `__errno_location' declared as a function
../hash/hash.c: In function `hash_get':
../hash/hash.c:635: parse error before `('
../hash/hash.c: In function `hash_put':
../hash/hash.c:652: parse error before `('
../hash/hash.c:656: parse error before `('
../hash/hash.c: In function `hash_delete':
../hash/hash.c:673: parse error before `('
../hash/hash.c:677: parse error before `('
../hash/hash.c: In function `cursor_get':
../hash/hash.c:852: parse error before `('
make[3]: *** [hash.o] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/db2/obj'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util/db2'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/krb5-1.0/src/util'
make: *** [all-recurse] Error 1

-----------------------------------------------------------------------------



--------------01F89360AD9433EF6D5610D7--


home help back first fref pref prev next nref lref last post