[krbdev.mit.edu #7909] Building Kerberos 1.12.1 (gcc -m64 -static) fails

Richard Basch via RT rt-comment at krbdev.mit.edu
Sun May 11 00:54:01 EDT 2014


If you use CC="gcc -m64 -static -static-libgcc" (the -static-libgcc is optional) and specify -without-system-verto during configure, the build will fail in kdc:
../lib/libverto.a(verto-k5ev.o): In function `periodic_recalc':
verto-k5ev.c:(.text+0x2f0f): undefined reference to `ceil'

Unfortunately, -lverto is the last entry present on the link line, and the configure steps don't appear to readily allow you to specify extra libs to be included at the end, such as -lm.

Build environment: RHEL 5, though I am sure this is true on several platforms.

______________________________________________________________________________
Richard Basch
VP, Technology - Critical Infrastructure
30 Hudson St.  24th Floor | Jersey City, NJ 07302
Goldman, Sachs & Co
richard.basch at gs.com<mailto:richard.basch at gs.com>  | +1 (917) 343-4071

P Save a tree: Please don't print this mail unless necessary.

The Goldman Sachs Group, Inc. All rights reserved.
See http://www.gs.com/disclaimer/global_email for important risk disclosures, conflicts of interest and other terms and conditions relating to this e-mail and your reliance on information contained in it.  This message may contain confidential or privileged information.  If you are not the intended recipient, please advise us immediately and delete this message.  See http://www.gs.com/disclaimer/email for further information on confidentiality and the risks of non-secure electronic communication.  If you cannot access these links, please notify us by reply message and we will send the contents to you.




More information about the krb5-bugs mailing list