[krbdev.mit.edu #2617] build failure on FreeBSD 4.9

Fred Koschara via RT rt-comment at krbdev.mit.edu
Thu Jun 24 20:06:55 EDT 2004


 >Submitter-Id:	???
 >Originator:	Fred Koschara
 >Organization:	FKE Internet
 >Confidential:	no
 >Synopsis:	build fails on FreeBSD 4.9
 >Severity:	critical
 >Priority:	high
 >Category:	krb5-build
 >Class:	sw-bug
 >Release:	1.3.4 from krb5-1.3.4.tar downloaded 6/24/2004
 >Environment:	P4/866 384MB RAM
		FreeBSD 4.9-RELEASE (build and target)
		gcc 2.95.4
 >Description:

configure issues several warnings, including
	Could not find Tcl which is needed fro some tests
	krb_db.h: present but cannot be compiled
	krb_db.h: check for missing prerequisites headers?
	krb_db.h: proceeding with the preprocessor's result

make issues warnings for nearly all successfully compiled files:
	/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'
other make warnings include:
	error.c:71: warning: no previous prototype for 'ss_error'
	dk_decrypt.c:163: warning: pointer targets in assignment differ in signedness
	(other, similar warnings in dk_encrypt.c, derive.c, ...)
	stringtokey.c:79: warning: cast discards qualifiers from pointer target type
	(many warnings in aes.c)
	yarrow.c:448: warning: negative integer implicitly converted to unsigned type
	(...)

The build eventually dies:
	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 /software/Kerberos/krb5-1.3.4/src/appl/gssftp/ftp.
	<...>

 >How-To-Repeat:

I have captured the configure and make output using this shell script:
	./configure -- prefix=/usr --enable-shared > config.stdout 2>&1
	make > make.log 2>&1

Please advise if you would like to have me send either of these files 
and/or the config.log file, or any other information needed to resolve this 
problem.

 >Fix:

I suspect configure made an erroneous assumption about the build 
environment:  This looks rather like the kinds of warnings and errors that 
I see when trying to build winDoze programs with the wrong 
compiler.  However, I don't know enough about the gcc build process, etc. 
to identify the underlying invalid assumption and correct it.	
________________________________________________________________________
Truth and Falsehood were bathing. Falsehood came out of the water first and 
dressed herself in Truth's clothes. Truth, unwilling to put on the garments 
of Falsehood, went naked.
(Author Unknown)

The "war on terror" is a sham:  There is no real protection against 
suicidal maniacs spurred on by creative madmen.  In the end, the only 
outcomes will be the destruction of the American economy due to pouring a 
bankrupting stream of wealth into a bottomless pit, and the final 
destruction of personal liberty in the name of "security."  (When was the 
last time you were asked for "Your papers, please?" - er, that is, "License 
and registration?")

The rumors are untrue:  I am *not* running for President in 2004...

Edge Lit Boston and Other Photos, limited edition prints available
	http://wfredk.com/cambridgeside062003
ThmIndxr(tm), the *only* HTML thumbnail/indexer you need!
	http://www.L5Software.com/go?ThmIndxr
wCapLock(tm), makes CapsLock work like it does on a typewriter
	http://www.L5Software.com/go?wCapLock
For private sector (commercial) space development, visit
	http://www.L5Development.com
L5 Software Development - "out of this world" sites and software
	http://www.L5Software.com
How much did your last traffic ticket cost you?
	http://www.StopHighwayRobbery.com
FredLines(tm), T-Shirts For the Thinking Mind(tm)
	You've seen them, now wear them!
	http://www.FredLines-TShirts.com
My personal Web page is http://wfredk.com
	Stop by some time!



More information about the krb5-bugs mailing list