[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Eh, what? on build.



I'm trying to build heimdal again, "correctly".  I ran into a strange 
error of the kind I wouldn't expect in a release version.

readline 4.3
Berkeley db 3.3.11  (someone told me that's what KTH uses)
kth-krb 1.2.2
Heimdal 0.6
gcc 3.3.2
Otherwise pretty stock Solaris 8.

setenv LDFLAGS "-R/usr/heimdal/lib:/usr/athena/lib 
-L/usr/heimdal/lib:/usr/athena/lib"

./configure --with-krb4=/usr/athena --enable-kaserver 
--enable-kaserver-db 
--with-readline-include=/usr/heimdal/include/readline 
--with-readline-lib=/usr/heimdal/lib 
--with-readline-config=../readline-4.3/configure --without-openssl 
--without-ipv6 --enable-berkeley-db


>(cd .libs && rm -f libkrb5.la && ln -s ../libkrb5.la libkrb5.la)
>gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include 
>-I../../lib/roken -I../../lib/roken -I/usr/athena/include 
>-I/usr/athena/include -I../com_err -I./../com_err    -Wall 
>-Wmissing-prototypes -Wpointer-arith -Wbad-function-cast 
>-Wmissing-declarations -Wnested-externs -g -O2 -c `test -f 
>'verify_krb5_conf.c' || echo './'`verify_krb5_conf.c
>verify_krb5_conf.c:452:7: missing terminating " character
>verify_krb5_conf.c:453:7: missing terminating " character
>*** Error code 1
>make: Fatal error: Command failed for target `verify_krb5_conf.o'
>Current working directory /hank/dist/heimdal-0.6/lib/krb5
>*** Error code 1
>make: Fatal error: Command failed for target `all-recursive'
>Current working directory /hank/dist/heimdal-0.6/lib
>*** Error code 1
>make: Fatal error: Command failed for target `all-recursive'

>
>#if 0
>struct entry kdcdefaults_entries[] = {
>     { "kdc_ports, krb5_config_string, mit_entry },
>     { "v4_mode, krb5_config_string, mit_entry },
>     { NULL }
>};
>#endif
>

My first reaction was "how did this *ever* compile with the missing 
quotes?"  My second reaction was "how did the compiler ever notice 
the problem given the #if 0//#endif block?"  This looks like a 
compiler bug, really.

Is there any reason not to just delete the offending code?  That 
cures the problem at the compile stage anyway.  Has anyone else built 
Heimdal on Sun using gcc 3.3.2?
-- 
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu