Bug 6022 - X.Org fails to build with MIT Kerberos
Summary: X.Org fails to build with MIT Kerberos
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xau (show other bugs)
Version: 7.0.0
Hardware: All Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: http://cgi.sfu.ca/~jdbates/tmp/xorg/2...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-24 10:28 UTC by Jack
Modified: 2007-11-17 18:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jack 2006-02-24 10:28:25 UTC
X.Org fails to build with latest MIT Kerberos distribution -


[...]
gcc -m32 -c -ansi -Wall -Wpointer-arith -Wstrict-prototypes                     
 -Wmissing-prototypes -Wmissing-declarations                      -Wredundant-de
cls -Wnested-externs -Wundef    -I../.. -I../../exports/include   -Dlinux -D__i3
86__ -D_POSIX_C_SOURCE=199309L                          -D_POSIX_SOURCE -D_XOPEN
_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE            
                     -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                 
-D_GNU_SOURCE                             -DFUNCPROTO=15 -DNARROWPROTO -DXTHREAD
S  -D_REENTRANT -DXUSE_MTSAFE_API       -g -O2 -fno-strict-aliasing -g  -fPIC k5
encode.c -o unshared/k5encode.o
k5encode.c:75: warning: function declaration isn't a prototype
k5encode.c:81:34: error: macro "krb5_princ_realm" requires 2 arguments, but only
 1 given
k5encode.c: In function 'XauKrb5Encode':
k5encode.c:81: error: 'krb5_princ_realm' undeclared (first use in this function)
k5encode.c:81: error: (Each undeclared identifier is reported only once
k5encode.c:81: error: for each function it appears in.)
k5encode.c:82:37: error: macro "krb5_princ_size" requires 2 arguments, but only 
1 given
k5encode.c:82: error: 'krb5_princ_size' undeclared (first use in this function)
[...]


I tried building xorg-x11 6.9.0.dfsg.1-4 on Debian unstable using libkrb5-dev
1.4.3-6

Many thanks - Jack
Comment 1 Jack 2006-03-04 11:25:15 UTC
Encountered same problem building libxau 1.0.0 (of X11R7.0)


[...]
 gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -Wall -g -O2 -MT k5encode.lo -MD -MP -MF .deps/k5encode.Tpo
-c ../k5encode.c  -fPIC -DPIC -o .libs/k5encode.o
../k5encode.c:75: warning: function declaration isn't a prototype
../k5encode.c:81:34: error: macro "krb5_princ_realm" requires 2 arguments, but
only 1 given
../k5encode.c: In function 'XauKrb5Encode':
../k5encode.c:81: error: 'krb5_princ_realm' undeclared (first use in this function)
../k5encode.c:81: error: (Each undeclared identifier is reported only once
../k5encode.c:81: error: for each function it appears in.)
../k5encode.c:82:37: error: macro "krb5_princ_size" requires 2 arguments, but
only 1 given
../k5encode.c:82: error: 'krb5_princ_size' undeclared (first use in this function)
../k5encode.c:86:41: error: macro "krb5_princ_component" requires 3 arguments,
but only 2 given
../k5encode.c:86: error: 'krb5_princ_component' undeclared (first use in this
function)
[...]


Used Debian libxau source package & this patch -
http://cgi.sfu.ca/~jdbates/tmp/xorg/200603030/patch
Comment 2 Daniel Stone 2007-02-27 01:30:37 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 Adam Jackson 2007-11-17 18:40:14 UTC
The kerberos code does not exist anymore.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.