FW: PAM-NTDOM: Solaris 2.7 make failure.
David Collier-Brown
davecb at canada.sun.com
Thu Feb 3 13:23:19 GMT 2000
References: <NCBBJFCEBJJHOHONMOEAIENDMBAA.jfaria at mediaone.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Jim Faria wrote:
> > Any idea what I'm doing wrong ??
> >
> >
> > Build is failing on Solaris 2.7.
> >
> > # rm *.cache
> > # ./configure
> > creating cache ./config.cache
> > Will compile with encrypted password support
> > checking for gcc... gcc
> > checking whether the C compiler (gcc ) works... yes
> > checking whether the C compiler (gcc ) is a cross-compiler... no
> > checking whether we are using GNU C... yes
> > checking whether the C compiler (gcc -O2 ) works... yes
> > checking whether the C compiler (gcc -O2 ) is a cross-compiler... no
> > checking whether we are using GNU C... (cached) yes
> > checking whether make sets ${MAKE}... yes
> > checking for a BSD compatible install... ./install-sh -c
> > checking how to run the C preprocessor... gcc -E
> > checking for ANSI C header files... yes
> > checking for shadow.h... yes
> > checking for security/pam_appl.h... yes
> > checking for unistd.h... yes
> > checking for security/pam_modules.h... yes
> > checking for LOG_AUTHPRIV... no
> > checking for main in -lcrypt... yes
> > checking for working const... yes
> > checking system version (for dynamic loading)... SunOS-5.7
> > checking for dlopen in -ldl... yes
> > updating cache ./config.cache
> > creating ./config.status
> > creating Makefile
> > creating config.h
> > config.h is unchanged
> > # make
> > mkdir -p ./dynamic
> >
> > *** Building pam-ntdom(alpha) module of the framework...
> > Contact: lkcl at samba.anu.edu.au
> >
> >
> gcc -c -O2 -DHAVE_CONFIG_H -fPIC -I./lib/include -I./lib/rpc/include -I./rpc_validate -o lib/util/util.o lib/util/util.c
> > lib/util/util.c: In function `Get_Hostbyname':
> > lib/util/util.c:93: warning: initialization makes pointer from integer
> > without a cast
> > lib/util/util.c: In function `get_myname':
> > lib/util/util.c:164: warning: initialization makes pointer from integer
> > without a cast
> > lib/util/util.c: In function `set_blocking':
> > lib/util/util.c:549: `F_GETFL' undeclared (first use in this function)
This is a #define from /usr/include/sys/fcntl.h:
looks like a buglet in the configure stage, as my
2.7 and 2.8 gcc'd samba includes ity several places...
files #including this file: fcntl.h
File Line
1 smbmnt.c 23 #include <fcntl.h>
2 smbumount.c 23 #include <fcntl.h>
3 includes.h 103 #include <fcntl.h>
4 quotas.c 230 #include <fcntl.h>
5 fcntl_lock.c 7 #include <fcntl.h>
6 ftruncate.c 6 #include <fcntl.h>
7 shared_mmap.c 8 #include <fcntl.h>
8 rpc.h 23 #include <fcntl.h>
Files #including this file: sys/fcntl.h
File Line
1 includes.h 106 #include <sys/fcntl.h>
2 fcntl_lock.c 11 #include <sys/fcntl.h>
3 fcntl.h 24 #include <sys/fcntl.h>
4 rpc.h 27 #include <sys/fcntl.h>
--dave
--
David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com
More information about the samba-technical
mailing list