Hi everyone, I've tried everything that comes to mind and I can not get this thing to load the appropriate header files, etc. All help is greatly appreciated.

--- Screen Errors ---
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking whether -lresolv is needed for res_query... configure: error: Cannot find function res_query
configure: error: /bin/sh './configure' failed for authlib



--- authlib/config.log excerpts --- ## --------- ## ## Platform. ## ## --------- ##

hostname = ************
uname -m = i386
uname -r = 3.4
uname -s = OpenBSD
uname -v = GENERIC#18

...

configure:4980: checking netinet/in.h presence
configure:4991: gcc -E conftest.c
configure:4997: $? = 0
configure:5016: result: yes
configure:5052: checking for netinet/in.h
configure:5059: result: yes
configure:5081: checking whether -lresolv is needed for res_query
configure:5107: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c >&5
In file included from configure:5111:
/usr/include/netinet/in.h:134: syntax error before `in_addr_t'
/usr/include/netinet/in.h:209: syntax error before `u_int8_t'
/usr/include/netinet/in.h:213: syntax error before `int8_t'
/usr/include/netinet/in.h:228: syntax error before `int8_t'
In file included from /usr/include/netinet/in.h:502,
from configure:5111:
/usr/include/netinet6/in6.h:118: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:140: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:145: syntax error before `u_int32_t'
/usr/include/netinet6/in6.h:609: syntax error before `struct'
/usr/include/netinet6/in6.h:613: syntax error before `*'
/usr/include/netinet6/in6.h:615: syntax error before `*'
/usr/include/netinet6/in6.h:615: warning: data definition has no type or storage class
/usr/include/netinet6/in6.h:616: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:617: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:619: syntax error before `inet6_rthdr_space'
/usr/include/netinet6/in6.h:619: warning: data definition has no type or storage class
In file included from configure:5111:
/usr/include/netinet/in.h:510: syntax error before `int'
configure:5110: $? = 1
configure: failed program was:
| #line 5083 "configure"
| /* confdefs.h. */
| | #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define AUTHCHANGEPASS 1
| #define HAVE_EXPECT 1
| #define HAVE_MD5LIB 1
| #define HAVE_SHA1LIB 1
| #define HAVE_HMACLIB 1
| #define USERDB "/usr/local/courier/etc/userdb"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_H 1
| /* end confdefs.h. */
| | #if HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #include <resolv.h>
| | void (*func)()= (void (*)())res_query;
| | int
| main ()
| {
| (*func)();
| ;
| return 0;
| }
configure:5151: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c -lresolv >&5
In file included from configure:5155:
/usr/include/netinet/in.h:134: syntax error before `in_addr_t'
/usr/include/netinet/in.h:209: syntax error before `u_int8_t'
/usr/include/netinet/in.h:213: syntax error before `int8_t'
/usr/include/netinet/in.h:228: syntax error before `int8_t'
In file included from /usr/include/netinet/in.h:502,
from configure:5155:
/usr/include/netinet6/in6.h:118: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:140: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:145: syntax error before `u_int32_t'
/usr/include/netinet6/in6.h:609: syntax error before `struct'
/usr/include/netinet6/in6.h:613: syntax error before `*'
/usr/include/netinet6/in6.h:615: syntax error before `*'
/usr/include/netinet6/in6.h:615: warning: data definition has no type or storage class
/usr/include/netinet6/in6.h:616: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:617: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:619: syntax error before `inet6_rthdr_space'
/usr/include/netinet6/in6.h:619: warning: data definition has no type or storage class
In file included from configure:5155:
/usr/include/netinet/in.h:510: syntax error before `int'
configure:5154: $? = 1
configure: failed program was:
| #line 5127 "configure"
| /* confdefs.h. */
| | #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define AUTHCHANGEPASS 1
| #define HAVE_EXPECT 1
| #define HAVE_MD5LIB 1
| #define HAVE_SHA1LIB 1
| #define HAVE_HMACLIB 1
| #define USERDB "/usr/local/courier/etc/userdb"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_NETINET_IN_H 1
| /* end confdefs.h. */
| | #if HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #include <resolv.h>
| | void (*func)()= (void (*)())res_query;
| | int
| main ()
| {
| (*func)();
| ;
| return 0;
| }
configure:5172: error: Cannot find function res_query






-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to