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

Heimdal PKINIT complile errors



Tried to compile heimdal+pkinit snapshot on both BSD and linux, but with 
no success.
I tried to place a queue.h in lib/asn1 as suggested, but that didn't 
work for me either.
BSD fails with autoreconf -f (both openbsd and freebsd). Linux fails 
with make (both gentoo and fedora core 3)
Ideas how to get around these problems?
Best regards
/Ted
Error examples:
--------------------------------------------------------------------------------------------------------------------- 

freebsd 5.3
autoconf-2.59_2 automake-1.9.1 libtool-1.5.8 db41-4.1.25_2

configure.in:197: warning: AC_PROG_LIBTOOL is m4_require'd but is not 
m4_defun'd
configure.in:197: AC_PROG_LIBTOOL is required by...
cf/roken-frag.m4:670: rk_ROKEN is expanded from...
configure.in:197: the top level
configure.in:197: warning: AC_PROG_LIBTOOL is m4_require'd but is not 
m4_defun'd
configure.in:197: AC_PROG_LIBTOOL is required by...
cf/roken-frag.m4:670: rk_ROKEN is expanded from...
configure.in:197: the top level
configure.in:197: warning: AC_PROG_LIBTOOL is m4_require'd but is not 
m4_defun'd
configure.in:197: AC_PROG_LIBTOOL is required by...
cf/roken-frag.m4:670: rk_ROKEN is expanded from...
configure.in:197: the top level
configure.in:49: error: possibly undefined macro: AC_ENABLE_SHARED
     If this token and others are legitimate, please use m4_pattern_allow.
     See the Autoconf documentation.
configure.in:50: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/local/bin/autoconf259 failed with exit status: 1
--------------------------------------------------------------------------------------------------------------------- 

fedora core 3
autoconf-2.59-5 automake-1.9.2-3 libtool-1.5.6-4 db4-4.2.52-6

make[2]: Entering directory `/opt/heimdal-20041114/lib/asn1'
gcc  -DHAVE_CONFIG_H -I. -I. -I../../include  -I../../include 
-I../../lib/roken
-I../../lib/roken -I/usr/include/et  -D_FILE_OFFSET_BITS=64 -Wall 
-Wmissing-prot
otypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations 
-Wnested-exter
ns -g -O2 -c gen.c
gen.c: In function `define_asn1':
gen.c:253: warning: implicit declaration of function `TAILQ_FOREACH'
gen.c:253: warning: nested extern declaration of `TAILQ_FOREACH'
gen.c:253: error: `members' undeclared (first use in this function)
gen.c:253: error: (Each undeclared identifier is reported only once
gen.c:253: error: for each function it appears in.)
gen.c:253: error: syntax error before '{' token
gen.c:256: warning: implicit declaration of function `TAILQ_NEXT'
gen.c:256: warning: nested extern declaration of `TAILQ_NEXT'
gen.c:256: warning: comparison between pointer and integer
gen.c:261: error: break statement not within loop or switch
gen.c:262: error: case label not within a switch statement
...
gen.c: In function `define_type':
gen.c:395: warning: enumeration value `TBitString' not handled in switch
gen.c:395: warning: enumeration value `TBoolean' not handled in switch
gen.c:395: warning: enumeration value `TChoice' not handled in switch
gen.c:395: warning: enumeration value `TEnumerated' not handled in switch
gen.c:395: warning: enumeration value `TGeneralString' not handled in 
switch
gen.c:395: warning: enumeration value `TGeneralizedTime' not handled in 
switch
gen.c:395: warning: enumeration value `TIA5String' not handled in switch
gen.c:395: warning: enumeration value `TNull' not handled in switch
gen.c:395: warning: enumeration value `TOID' not handled in switch
gen.c:395: warning: enumeration value `TOctetString' not handled in switch
gen.c:395: warning: enumeration value `TPrintableString' not handled in 
switch
gen.c:395: warning: enumeration value `TSequence' not handled in switch
gen.c:395: warning: enumeration value `TSequenceOf' not handled in switch
gen.c:395: warning: enumeration value `TSet' not handled in switch
gen.c:395: warning: enumeration value `TSetOf' not handled in switch
gen.c:395: warning: enumeration value `TTag' not handled in switch
gen.c:395: warning: enumeration value `TUTCTime' not handled in switch
gen.c:395: warning: enumeration value `TUTF8String' not handled in switch
make[2]: *** [gen.o] Error 1
make[2]: Leaving directory `/opt/heimdal-20041114/lib/asn1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/heimdal-20041114/lib'
make: *** [all-recursive] Error 1