[38917] in Kerberos
Version 1.19.1 compilation issue - RedHat Linux
daemon@ATHENA.MIT.EDU (Vipul Mehta)
Wed May 12 11:10:25 2021
MIME-Version: 1.0
From: Vipul Mehta <vipulmehta.1989@gmail.com>
Date: Wed, 12 May 2021 17:47:26 +0530
Message-ID: <CAMeQEL-_GJCMwM4A91HKKxoX18APdev2e4Ed6SvuMKy72pAfhg@mail.gmail.com>
To: kerberos@mit.edu
Content-Type: text/plain; charset="utf-8"
Errors-To: kerberos-bounces@mit.edu
Content-Transfer-Encoding: 8bit
Hi,
I am trying to compiler MIT Kerberos version 1.19.1 in RedHat linux with
following gcc:
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
Getting following error:
gic_keytab.c:185: error: ‘etype_list’ may be used uninitialized in this
function
At top level:
cc1: warning: unrecognized command line option "-Wno-maybe-uninitialized"
In config.log, i can see that configure script is not able to identify that
the option is not supported as gcc gives warning instead of error:
configure:4708: gcc -c -g -O2 -Wno-maybe-uninitialized conftest.c >&5
configure:4708: $? = 0
configure:4721: result: yes
It compiles fine if i remove "error=uninitialized" to allow uninitialized
variables.
Is it safe to compile without it ?
What is the version of gcc used to build and test MIT Kerberos in dev
environment ?
--
Regards,
Vipul
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos