Re: [Samba] Samba 3.2.0 doesn't compile under Solaris8

2008-07-10 Thread Michael Adam
FYI: 

I have fixed that in v3-3-test in a bigger rewrite and filed
a bug for 3.2.0 (#5608).

Michael

Michael Adam wrote:
 Oops, looks like an old bin/libtalloc.so.1 is in the way.
 For now rm bin/libtalloc.so.1 before make should be a
 workaround.
 
 I'll have to look if this is a bug in the build system...
 
 Cheers - Michael
 
 Oliver Weinmann wrote:
  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.*
  
  **
  
  **
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  https://lists.samba.org/mailman/listinfo/samba

-- 
Michael Adam [EMAIL PROTECTED]  [EMAIL PROTECTED]
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.SerNet.DE, mailto: Info @ SerNet.DE


pgp780LYKg4UM.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba 3.2.0 doesn't compile under Solaris8

2008-07-04 Thread Michael Adam
Oops, looks like an old bin/libtalloc.so.1 is in the way.
For now rm bin/libtalloc.so.1 before make should be a
workaround.

I'll have to look if this is a bug in the build system...

Cheers - Michael

Oliver Weinmann wrote:
 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.*
 
 **
 
 **
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba

-- 
Michael Adam [EMAIL PROTECTED]  [EMAIL PROTECTED]
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.SerNet.DE, mailto: Info @ SerNet.DE


pgpa9tZKwAwT8.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba