LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2007, 02:14 PM   #1
guffguff72
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
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

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba-3.0.25b dynconfig.o compile error guffguff72 Linux - Networking 1 08-01-2007 02:12 PM
rpm compile time error:make error ashmita04 Red Hat 1 07-09-2007 03:44 AM
php supports thttpd-2.25b? sysmos.wbt Linux - Server 4 12-21-2006 05:26 AM
Compile madwifi, ... compile error , how can i do. ERBRMN Linux - Networking 3 03-08-2006 07:56 PM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration