[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
heimdal on Macintosh OS X.3 ?
Hello.
When I ./configure I get the following errors and make fails.
Is there a way to solve this?
make
Making all in include
make all-recursive
Making all in kadm5
Making all in lib
Making all in roken
make all-am
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../include -I../../include -I../../lib/roken -I../../lib/roken
-Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
-Wmissing-declarations -Wnested-externs -DINET6 -g -O2 -c -o resolve.lo
resolve.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-I../../lib/roken -I../../lib/roken -Wall -Wmissing-prototypes
-Wpointer-arith -Wbad-function-cast -Wmissing-declarations
-Wnested-externs -DINET6 -g -O2 -c resolve.c -o resolve.o
resolve.c:59: error: `T_A' undeclared here (not in a function)
resolve.c:59: error: initializer element is not constant
resolve.c:59: error: (near initialization for `stot[0].type')
resolve.c:59: error: initializer element is not constant
resolve.c:59: error: (near initialization for `stot[0]')
resolve.c:60: error: `T_NS' undeclared here (not in a function)
resolve.c:60: error: initializer element is not constant
resolve.c:60: error: (near initialization for `stot[1].type')
resolve.c:60: error: initializer element is not constant
resolve.c:60: error: (near initialization for `stot[1]')
resolve.c:61: error: `T_CNAME' undeclared here (not in a function)
resolve.c:61: error: initializer element is not constant
resolve.c:61: error: (near initialization for `stot[2].type')
resolve.c:61: error: initializer element is not constant
resolve.c:61: error: (near initialization for `stot[2]')
resolve.c:62: error: `T_SOA' undeclared here (not in a function)
resolve.c:62: error: initializer element is not constant
resolve.c:62: error: (near initialization for `stot[3].type')
resolve.c:62: error: initializer element is not constant
resolve.c:62: error: (near initialization for `stot[3]')
resolve.c:63: error: `T_PTR' undeclared here (not in a function)
resolve.c:63: error: initializer element is not constant
resolve.c:63: error: (near initialization for `stot[4].type')
resolve.c:63: error: initializer element is not constant
resolve.c:63: error: (near initialization for `stot[4]')
resolve.c:64: error: `T_MX' undeclared here (not in a function)
resolve.c:64: error: initializer element is not constant
resolve.c:64: error: (near initialization for `stot[5].type')
resolve.c:64: error: initializer element is not constant
resolve.c:64: error: (near initialization for `stot[5]')
resolve.c:65: error: initializer element is not constant
resolve.c:65: error: (near initialization for `stot[6]')
resolve.c:66: error: initializer element is not constant
resolve.c:66: error: (near initialization for `stot[7]')
resolve.c:67: error: initializer element is not constant
resolve.c:67: error: (near initialization for `stot[8]')
resolve.c:68: error: initializer element is not constant
resolve.c:68: error: (near initialization for `stot[9]')
resolve.c:69: error: initializer element is not constant
resolve.c:69: error: (near initialization for `stot[10]')
resolve.c:70: error: initializer element is not constant
resolve.c:70: error: (near initialization for `stot[11]')
resolve.c:71: error: initializer element is not constant
resolve.c:71: error: (near initialization for `stot[12]')
resolve.c: In function `parse_record':
resolve.c:120: error: `MAXDNAME' undeclared (first use in this function)
resolve.c:120: error: (Each undeclared identifier is reported only once
resolve.c:120: error: for each function it appears in.)
resolve.c:153: error: `T_NS' undeclared (first use in this function)
resolve.c:154: error: `T_CNAME' undeclared (first use in this function)
resolve.c:155: error: `T_PTR' undeclared (first use in this function)
resolve.c:167: error: `T_MX' undeclared (first use in this function)
resolve.c:120: warning: unused variable `host'
resolve.c: In function `parse_reply':
resolve.c:344: error: `MAXDNAME' undeclared (first use in this function)
resolve.c:362: error: request for member `qdcount' in something not a
structure or union
resolve.c:387: error: request for member `ancount' in something not a
structure or union
resolve.c:394: error: request for member `nscount' in something not a
structure or union
resolve.c:401: error: request for member `arcount' in something not a
structure or union
resolve.c:344: warning: unused variable `host'
resolve.c: In function `rk_dns_lookup':
resolve.c:471: error: `C_IN' undeclared (first use in this function)
make[3]: *** [resolve.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
from config.log
configure:5642: $? = 0
configure:5645: test -s conftest.o
configure:5648: $? = 0
configure:5674: g++ -c -g -O2 conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:29: error: `exit' undeclared (first use this function)
conftest.cc:29: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
configure:5680: $? = 1
configure: failed program was:
| /* confdefs.h. */
configure:20191: checking for krb4
configure:20264: gcc -o conftest ./configure: line 1: krb4-config:
command not found -g -O2 conftest.c ./configure: line 1: krb4-config:
command not
found >&5
gcc: ./configure:: No such file or directory
gcc: line: No such file or directory
gcc: 1:: No such file or directory
gcc: krb4-config:: No such file or directory
gcc: command: No such file or directory
gcc: not: No such file or directory
gcc: found: No such file or directory
gcc: ./configure:: No such file or directory
gcc: line: No such file or directory
gcc: 1:: No such file or directory
gcc: krb4-config:: No such file or directory
gcc: command: No such file or directory
gcc: not: No such file or directory
gcc: found: No such file or directory
configure:20270: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #include <net/if.h>
configure:26277: result: no
configure:26281: checking net/if.h presence
configure:26291: gcc -E conftest.c
configure:26297: $? = 0
configure:26317: result: yes
configure:26330: WARNING: net/if.h: present but cannot be compiled
configure:26332: WARNING: net/if.h: check for missing prerequisite
headers?
configure:26334: WARNING: net/if.h: see the Autoconf documentation
configure:26336: WARNING: net/if.h: section "Present But Cannot Be
Compiled"
configure:26338: WARNING: net/if.h: proceeding with the preprocessor's
result
configure:26340: WARNING: net/if.h: in the future, the compiler will
take precedence
configure:26352: checking for net/if.h
configure:26359: result: yes
configure:26236: checking netdb.h usability
configure:26248: gcc -c -g -O2 conftest.c >&5
Thank you,
Greetings,
Robert Welz