LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba-3.0.25b dynconfig.o compile error (https://www.linuxquestions.org/questions/linux-networking-3/samba-3-0-25b-dynconfig-o-compile-error-573985/)

guffguff72 08-01-2007 01:57 PM

samba-3.0.25b dynconfig.o compile error
 
At the end of this message is what I get after doing make. I've run the following commands and the compile errors out. Any ideas?

./autogen.sh
./configure
make


thank you,
Jon

--------------------------------------------------------

samba-3.0.25b/source$ make
Using FLAGS = -O -D_SAMBA_BUILD_=3 -I/home/stuff/samba-3.0.25b/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 -I/home/stuff/samba-3.0.25b/source/lib -D_SAMBA_BUILD_=3
PICFLAG = -fPIC
LIBS = -lcrypt -lresolv -lresolv -lnsl -ldl
LDFLAGS = -pie
DYNEXP = -Wl,--export-dynamic
LDSHFLAGS = -shared -Wl,-Bsymbolic
SHLIBEXT = so
SONAMEFLAG = -Wl,-soname=
Generating smbd/build_options.c
Building include/proto.h
creating /home/stuff/samba-3.0.25b/source/include/proto.h
Building include/build_env.h
creating /home/stuff/samba-3.0.25b/source/nsswitch/winbindd_proto.h
creating /home/stuff/samba-3.0.25b/source/web/swat_proto.h
creating /home/stuff/samba-3.0.25b/source/client/client_proto.h
creating /home/stuff/samba-3.0.25b/source/utils/net_proto.h
creating /home/stuff/samba-3.0.25b/source/utils/ntlm_auth_proto.h
Compiling dynconfig.c
In file included from /home/stuff/samba-3.0.25b/source/dynconfig.c:21:
include/includes.h:34:2: error: #error "make sure you have removed all config.h files from standalone builds!"
include/includes.h:35:2: error: #error "the included config.h isn't from samba!"
In file included from /home/stuff/samba-3.0.25b/source/dynconfig.c:21:
include/includes.h:305: error: conflicting types for ‘socklen_t’
/usr/include/unistd.h:243: error: previous declaration of ‘socklen_t’ was here
include/includes.h:600: error: redefinition of ‘struct timespec’
The following command failed:
gcc -O -D_SAMBA_BUILD_=3 -I/home/stuff/samba-3.0.25b/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 -I/home/stuff/samba-3.0.25b/source/lib -D_SAMBA_BUILD_=3 -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DSBINDIR="/usr/local/samba/sbin" -DBINDIR="/usr/local/samba/bin" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" -DLOCKDIR="/usr/local/samba/var/locks" -DPIDDIR="/usr/local/samba/var/locks" -DLIBDIR="/usr/local/samba/lib" -DLOGFILEBASE="/usr/local/samba/var" -DSHLIBEXT="so" -DCONFIGDIR="/usr/local/samba/lib" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DPRIVATE_DIR="/usr/local/samba/private" -fPIC -c /home/stuff/samba-3.0.25b/source/dynconfig.c -o dynconfig.o
make: *** [dynconfig.o] Error 1

--------------------------------------------------------

guffguff72 08-01-2007 02:12 PM

please ignore
 
please ignore this post. I'm reposting it in a better location...

-Jon


All times are GMT -5. The time now is 08:39 PM.