[OpenAFS-devel] OpenAFS 1.2.9 Release Candidate 1 now available for testing

James Moss moss@brutesquad.org
Wed, 22 Jan 2003 10:21:22 -0500


That actually happens on debian with 1.2.8 as well.  Whether or not this        
is the real solution, I'm not sure, but it works here.  Go into the             
src/pam directory and remove -I/usr/include/sys from the Makefile.              
There's probably a line that's in the Makefile.am that shouldn't be...          
oddly, this problem only started occuring after switching from gcc-2.95         
to gcc-3.2.                                                                     
    -James

(List moderators, please remove my previously sent email from an
email addr not subscribed to this list)

Matthew Miller (mattdm@mattdm.org) wrote:
> On Tue, Jan 21, 2003 at 04:49:55PM -0500, Garry Zacheiss wrote:
> >   - Support for Redhat 8.1 Beta, aka "Phoebe".
> 
> On said beta, I'm getting:
> 
> make[3]: Entering directory `/home/mattdm/rpmbuild/openafs-1.2.9rc1/openafs-1.2.9-rc1/src/pam'
> cc  -I/home/mattdm/rpmbuild/openafs-1.2.9rc1/openafs-1.2.9-rc1/src/config -I/home/mattdm/rpmbuild/openafs-1.2.9rc1/openafs-1.2.9-rc1/include -I/usr/include -I/usr/include/sys -O2 -Dlinux -DLINUX_PAM -fPIC   -c -o test_pam.o test_pam.c
> In file included from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from /usr/include/sys/unistd.h:1,
>                  from test_pam.c:19:
> /usr/include/sys/unistd.h:1:10: #include nested too deeply
> test_pam.c:26: warning: initialization from incompatible pointer type
> test_pam.c: In function `main':
> test_pam.c:100: warning: passing arg 1 of `putenv' discards qualifiers from pointer target type
> test_pam.c:101: warning: passing arg 1 of `putenv' discards qualifiers from pointer target type
> test_pam.c:42: warning: return type of `main' is not `int'
> test_pam.c: In function `my_conv':
> test_pam.c:131: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
> test_pam.c:131: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast
> test_pam.c:131: warning: passing arg 1 of `__strdup' makes pointer from integer without a cast
> make[3]: *** [test_pam.o] Error 1
> make[3]: Leaving directory `/home/mattdm/rpmbuild/openafs-1.2.9rc1/openafs-1.2.9-rc1/src/pam'
> make[2]: *** [login] Error 2
> make[2]: Leaving directory `/home/mattdm/rpmbuild/openafs-1.2.9rc1/openafs-1.2.9-rc1'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/home/mattdm/rpmbuild/openafs-1.2.9rc1/openafs-1.2.9-rc1'
> make: *** [all] Error 2
> 
> 
> -- 
> Matthew Miller           mattdm@mattdm.org        <http://www.mattdm.org/>
> Boston University Linux      ------>                <http://linux.bu.edu/>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel