bug-autoconf
[Top][All Lists]
Advanced

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

NetBSD: verious headers present but cannot be compiled


From: Adrian Bunk
Subject: NetBSD: verious headers present but cannot be compiled
Date: Sun, 19 Jan 2003 20:43:39 +0100
User-agent: Mutt/1.4i

I got the following while configuring coreutils-4.5.4 (uses 
autoconf-2.57) on sparc-unknown-netbsdelf1.5:

<--  snip  -->

...
checking sys/mount.h usability... no
checking sys/mount.h presence... yes
configure: WARNING: sys/mount.h: present but cannot be compiled
configure: WARNING: sys/mount.h: check for missing prerequisite headers?
configure: WARNING: sys/mount.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/mount.h... yes
...
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... yes
configure: WARNING: sys/sysctl.h: present but cannot be compiled
configure: WARNING: sys/sysctl.h: check for missing prerequisite headers?
configure: WARNING: sys/sysctl.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/sysctl.h... yes
...
checking sys/ucred.h usability... no
checking sys/ucred.h presence... yes
configure: WARNING: sys/ucred.h: present but cannot be compiled
configure: WARNING: sys/ucred.h: check for missing prerequisite headers?
configure: WARNING: sys/ucred.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/ucred.h... yes
...

<--  snip  -->


>From config.log:


<--  snip  -->

...
configure:5211: checking sys/mount.h usability
configure:5224: gcc -c -O2 -mcpu=v8  conftest.c >&5
In file included from /usr/include/sys/mount.h:42,
                 from configure:5285:
/usr/include/sys/ucred.h:49: `NGROUPS' undeclared here (not in a function)
...
configure:5211: checking sys/sysctl.h usability
configure:5224: gcc -c -O2 -mcpu=v8  conftest.c >&5
In file included from /usr/include/sys/sysctl.h:48,
                 from configure:5289:
/usr/include/sys/ucred.h:49: `NGROUPS' undeclared here (not in a function)
In file included from /usr/include/sys/sysctl.h:49,
                 from configure:5289:
/usr/include/sys/proc.h:66: `MAXLOGNAME' undeclared here (not in a function)
...
configure:33538: checking sys/ucred.h usability
configure:33551: gcc -c -O2 -mcpu=v8 -I/usr/local/include conftest.c >&5
In file included from configure:33897:
/usr/include/sys/ucred.h:49: `NGROUPS' undeclared here (not in a function)
...

<--  snip  -->


NGROUPS and MAXLOGNAME are defined in /usr/include/sys/param.h .


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed





reply via email to

[Prev in Thread] Current Thread [Next in Thread]