Compile error on CentOS 5.0 i386 with 3.0.27a

Cam Macdonell cam at cs.ualberta.ca
Fri Dec 7 00:17:34 GMT 2007


Hi,

I'm trying to compile samba for CentOS.  However, I get the following 
error when compiling.

Compiling auth/pass_check.c
auth/pass_check.c: In function ‘pass_check’:
auth/pass_check.c:654: warning: assignment makes pointer from integer 
without a cast
auth/pass_check.c:655: error: dereferencing pointer to incomplete type
auth/pass_check.c:656: error: dereferencing pointer to incomplete type
auth/pass_check.c:657: error: dereferencing pointer to incomplete type
The following command failed:
gcc -I. -I/root/samba-3.0.27/source  -O -D_SAMBA_BUILD_=3 
-I/root/samba-3.0.27/source/iniparser/src -Iinclude -I./include  -I. -I. 
-I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc 
-DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE -DLDAP_DEPRECATED    -I/root/samba-3.0.27/source/lib 
-D_SAMBA_BUILD_=3 -fPIC -c auth/pass_check.c -o auth/pass_check.o
make: *** [auth/pass_check.o] Error 1

The error involves  "struct spwd" type.  Is something like busybox 
required to compile on 32-bit machine?  This error doesn't happen on a 
64-bit machine.

Any help or pointers are appreciated,

Thanks,
Cam


More information about the samba-technical mailing list