Samba 3 compilation (too big)

Radi Radi1982 at gmx.de
Mon Apr 4 05:29:27 GMT 2005


hj wrote:

>Hi,
>
>I have a problem for the version 3.0.12 and 3.0.13.
>Samba 3.0.0 version to 3.0.10 is ok.
>
>When I compile, (./configure, make, make install), the
>executable are too big.
>Example (with 3.0.12):
>
>toto:/tmp/samba-3.0.12/source/bin# ls -al
>total 473724
>drwxr-xr-x   2  783  783     4096 2005-04-03 21:16 .
>drwxr-xr-x  42  783  783     4096 2005-04-03 21:01 ..
>-rwxr-xr-x   1 root root   240244 2005-04-03 21:15
>audit.so
>-rwxr-xr-x   1 root root   248943 2005-04-03 21:16
>cap.so
>-rwxr-xr-x   1 root root   236852 2005-04-03 21:16
>CP437.so
>-rwxr-xr-x   1 root root   236708 2005-04-03 21:16
>CP850.so
>-rwxr-xr-x   1 root root   236218 2005-04-03 21:16
>default_quota.so
>-rw-r--r--   1 root root        0 2005-04-03 20:48
>.dummy
>-rwxr-xr-x   1 root root   239741 2005-04-03 21:16
>expand_msdfs.so
>-rwxr-xr-x   1 root root   244519 2005-04-03 21:15
>extd_audit.so
>-rwxr-xr-x   1 root root   235281 2005-04-03 21:16
>fake_perms.so
>-rwxr-xr-x   1 root root   274502 2005-04-03 21:16
>full_audit.so
>-rw-r--r--   1 root root 47343838 2005-04-03 21:15
>libsmbclient.a
>-rwxr-xr-x   1 root root 22612602 2005-04-03 21:15
>libsmbclient.so
>-rwxr-xr-x   1 root root 29867560 2005-04-03 20:56 net
>-rwxr-xr-x   1 root root   243775 2005-04-03 21:16
>netatalk.so
>-rwxr-xr-x   1 root root 22479770 2005-04-03 20:52
>nmbd
>-rwxr-xr-x   1 root root 12885734 2005-04-03 20:58
>nmblookup
>-rwxr-xr-x   1 root root 13795285 2005-04-03 21:00
>ntlm_auth
>-rwxr-xr-x   1 root root 14200057 2005-04-03 20:58
>pdbedit
>-rwxr-xr-x   1 root root   323249 2005-04-03 21:00
>profiles
>-rwxr-xr-x   1 root root   258417 2005-04-03 21:16
>readonly.so
>-rwxr-xr-x   1 root root   250844 2005-04-03 21:15
>recycle.so
>-rwxr-xr-x   1 root root 28164318 2005-04-03 20:59
>rpcclient
>-rwxr-xr-x   1 root root   240450 2005-04-03 21:16
>shadow_copy.so
>-rwxr-xr-x   1 root root 24472253 2005-04-03 21:00
>smbcacls
>-rwxr-xr-x   1 root root 18130427 2005-04-03 20:54
>smbclient
>-rwxr-xr-x   1 root root 13258656 2005-04-03 20:57
>smbcontrol
>-rwxr-xr-x   1 root root 22342256 2005-04-03 21:01
>smbcquotas
>-rwxr-xr-x   1 root root 44584107 2005-04-03 20:49
>smbd
>-rwxr-xr-x   1 root root 24151960 2005-04-03 20:58
>smbpasswd
>-rwxr-xr-x   1 root root 17525196 2005-04-03 20:57
>smbspool
>-rwxr-xr-x   1 root root 12951751 2005-04-03 20:57
>smbstatus
>-rwxr-xr-x   1 root root 17887245 2005-04-03 20:57
>smbtree
>-rwxr-xr-x   1 root root 26889832 2005-04-03 20:52
>swat
>-rwxr-xr-x   1 root root   709374 2005-04-03 20:57
>tdbbackup
>-rwxr-xr-x   1 root root   431490 2005-04-03 20:58
>tdbdump
>-rwxr-xr-x   1 root root   443640 2005-04-03 20:58
>tdbtool
>-rwxr-xr-x   1 root root 12130878 2005-04-03 20:57
>testparm
>-rwxr-xr-x   1 root root 11706842 2005-04-03 20:57
>testprns
>-rwxr-xr-x   1 root root 12286774 2005-04-03 21:01
>wbinfo
>-rwxr-xr-x   1 root root 29572469 2005-04-03 20:54
>winbindd
>
>463MB !!!
>
>It's big, I think, but samba works
>
>I use a Debian 3.1 Sarge (Testing)
>
>Best Regards,
>
>
>HUBERT Jérémy
>
>
>
>	
>
>	
>		
>__________________________________________________________________
>Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
>Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
>
>
>  
>
Hi,

I had the same problem, but rcsu in #samba helped me. After the 
configure, there is a "-g" in the CFLAGS section of the Makefile, which 
makes samba so big. Just edit the Makefile and remove the "-g".

Stephan Rademacher


More information about the samba-technical mailing list