On samba builds on solaris I've found that I have to remove entries for "-z text" in the Makefile after running configure. I'm not a build tools expert, so I'm not exactly sure what that means, but it allows me to compile samba.
Hi Christian, Could you please provide more information about your build? I can't find instances of "-z" in the Makefile on my Solaris machine. * What Version of Solaris are you running * What C Compiler are you using * What is your command line of calling ./configure * config.log * Makefile Cheers - Michael
Here you go: root@egr214-01:/$ uname -a SunOS egr214-01 5.10 Generic_120012-14 i86pc i386 i86pc root@egr214-01:/$ cat /etc/release Solaris 10 8/07 s10x_u4wos_12b X86 Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 16 August 2007 compiler is gcc from blastwave and configure line: export CPPFLAGS='-I/opt/csw/include' ; export LDFLAGS='-L/opt/csw/lib'; ./configure --prefix=/usr/local/samba --with-shared-modules=idmap_ad,idmap_adex --with-pam --with-ads --with-krb5=/opt/csw
Created attachment 3693 [details] Makefile and config.log I've already removed the "-z text" lines from this Makefile. So I'm running ./configure again and will upload when done.
Created attachment 3694 [details] unedited Makefile
Still have the -z text removal necessity on 3.3.1. Any ideas?
this works for me with recent samba releases. if it doesn't for you, please reopen with configure log. Thanks!