[Samba] Samba 3.2.0 doesn't compile under Solaris8

Oliver Weinmann oliver.weinmann at googlemail.com
Fri Jul 4 07:37:30 GMT 2008


Dear All,

Yesterday I downloaded the latest Samba release 3.2.0 and tried to compile
it against blastwave.org packages, as I always do. But it fails with error:

"/usr/include/sys/termios.h", line 38: warning: macro redefined: CTRL
"./librpc/gen_ndr/srvsvc.h", line 232: warning: enumerator value overflows
INT_M
AX (2147483647)
"./librpc/gen_ndr/srvsvc.h", line 235: warning: enumerator value overflows
INT_M
AX (2147483647)
"./librpc/gen_ndr/srvsvc.h", line 238: warning: enumerator value overflows
INT_M
AX (2147483647)
"./librpc/gen_ndr/srvsvc.h", line 242: warning: enumerator value overflows
INT_M
AX (2147483647)
"./librpc/gen_ndr/wkssvc.h", line 10: warning: useless declaration
"./librpc/gen_ndr/samr.h", line 633: warning: useless declaration
"./librpc/gen_ndr/nbt.h", line 496: warning: useless declaration
"./librpc/gen_ndr/netlogon.h", line 204: warning: useless declaration
"./librpc/gen_ndr/netlogon.h", line 206: warning: useless declaration
"./librpc/gen_ndr/libnet_join.h", line 10: warning: useless declaration
Linking non-shared library bin/libtalloc.a
Compiling lib/replace/replace.c
Compiling lib/replace/snprintf.c
Compiling lib/replace/getpass.c
Compiling lib/replace/strptime.c
Compiling lib/replace/timegm.c
Compiling lib/replace/inet_aton.c
"/usr/include/netdb.h", line 412: warning: macro redefined: MAXHOSTNAMELEN
Compiling lib/replace/getifaddrs.c
"/usr/include/netdb.h", line 412: warning: macro redefined: MAXHOSTNAMELEN
creating /opt/SOURCES/samba-3.2.0/source/exports/libtalloc.syms
Linking shared library bin/libtalloc.so
ln: cannot create bin/libtalloc.so.1: File exists
*** Error code 2
make: Fatal error: Command failed for target `bin/libtalloc.so'
Build failed!  Exiting....

On the same build machine I'm able to compile Samba 3.0.30 without any
problems at all.

A few informations about my workstation:

bash-2.03# uname -a
SunOS ares 5.8 Generic_117350-02 sun4u sparc SUNW,Sun-Fire-480R

I'm using Sun Studio 11 Compiler:

bash-2.03# /opt/studio11/SUNWspro/bin/cc -V
cc: Sun C 5.8 2005/10/13
usage: cc [ options] files.  Use 'cc -flags' for details

my environment variables:

bash-2.03# echo $CPPFLAGS
-I/opt/csw/include
bash-2.03# echo $LD_OPTIONS
-R/opt/csw/lib/$ISALIST -R/opt/csw/lib -L/opt/csw/lib

and my configure options:


*./configure –with-ads –with-krb5=/opt/csw –with-pam –with-winbind
–with-shared-modules=idmap_ad –prefix=/opt/csw
–with-swatdir=/opt/csw/share/samba/swat –with-configdir=/opt/csw/etc/samba
–with-privatedir=/opt/csw/etc/samba/private*

**

*I also tried using gcc from blastwave.org but it fails at the same stage.*

**

*Any ideas? I couldn't find anything related on google as 3.2.0 is quite new
I guess.*

**

**


More information about the samba mailing list