samba-tng-alpha-0.8.tar.gz

itsore08 at us.ibm.com itsore08 at us.ibm.com
Sat Mar 4 23:07:25 GMT 2000


Greetings,

I'm trying to compile TNG on AIX 4.3.3, but just can't make it go. :(

Both GCC 2.95.2 and IBM Visual Age C 5.0 fail to compile TNG 0.6, 0.7, &
0.8 (though with different errors).

I have no trouble compiling the 2.06 & 2.07pre1 code on AIX.

Of course, TNG compiles fine on Linux. :\

Has anyone out there got this working on AIX yet?

Error messages from GCC
-----------------------
> [lots of this warning message]
>
> /usr/include/rpcsvc/yp_prot.h:342: warning: `struct ypall_callback'
declared inside parameter list
>
> /usr/include/rpcsvc/yp_prot.h:342: warning: its scope is only this
definition or declaration, which is probably not what you want.
>
> [much deleted, then]
>
> Linking shared library bin/libmsrpc.la
> ld: 0711-934 SEVERE ERROR: Cannot create the output file:
.libs/libmsrpc.so.0.0.1
>         ld:open() No such file or directory
> collect2: ld returned 12 exit status
> make: 1254-004 The error code from the last command is 1.

Extract of Makefile for GCC
---------------------------
LIBS=
CC=gcc
CFLAGS=-O
CPPFLAGS= -D_LARGE_FILES
LDFLAGS=
AWK=nawk
LIBTOOL=$(SHELL) $(top_builddir)/libtool --quiet
LIBTOOL_DEPS=./ltconfig ./ltmain.sh
LINK=$(LIBTOOL) --mode=link $(CC) $(FLAGS) $(LDFLAGS)

Error messages from VAC
-----------------------
> root at lva111a[/usr/install/samba/samba-tng-alpha.0.8/source] make
> Using FLAGS = -O         -Iinclude -I./include
-I./ubiqx
>                              -I./smbwrapper
-D_LARGE_
> FILES
-DLOGFILEBASE="/usr/local/samba/var"
>                   -DSMBLOGFILE="/usr/local/samba/var/log.smb"
>  -DNMBLOGFILE="/usr/local/samba/var/log.nmb"
-DCONFIGFILE="/usr/local/samba/lib/
> smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/s
> amba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/lock
> s" -DSMBRUN="/usr/local/samba/bin/smbrun"
-DCODEPAGEDIR="/usr/local/samba/lib/co
> depages" -DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/s
> amba/bin" -DFORMSFILE="/usr/local/samba/lib/ntforms.def"
-DNTDRIVERSDIR="/usr/lo
> cal/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd"
-DSMB
> _PASSWD_PROGRAM="/usr/local/samba/bin/smbpasswd"
-DSMB_PASSWD_FILE="/usr/loca
> l/samba/private/smbpasswd"          -DSAM_DIR="/usr/local/samba/sam"
>               -DSMB_PASSGRP_FILE="/usr/local/samba/private/smbpassgrp"
-D
> SMB_GROUP_FILE="/usr/local/samba/private/smbgroup"
-DSMB_ALIAS_FILE="
> /usr/local/samba/private/smbalias"
> Using LIBS =
> Compiling rpc_client/cli_login.c with libtool
> "include/sam.h", line 31.41: 1506-243 (S) Value of enumeration constant
must be
> in range of signed integer.
> make: 1254-004 The error code from the last command is 1.

Extract of Makefile for VAC
---------------------------
LIBS=
CC=cc
CFLAGS=-O
CPPFLAGS= -D_LARGE_FILES
LDFLAGS=
AWK=nawk
LIBTOOL=$(SHELL) $(top_builddir)/libtool --quiet
LIBTOOL_DEPS=./ltconfig ./ltmain.sh
LINK=$(LIBTOOL) --mode=link $(CC) $(FLAGS) $(LDFLAGS)

Any ideas?

Many thanks,
Steven P.


Luke Kenneth Casson Leighton <lkcl at samba.org>@samba.org on 03/03/2000
02:20:54 PM

Please respond to lkcl at samba.org

Sent by:  samba-technical at samba.org


To:   Multiple recipients of list SAMBA-TECHNICAL
      <samba-technical at samba.org>
cc:
Subject:  samba-tng-alpha-0.8.tar.gz



released in ftp://samba.org/pub/samba/alpha.  please use mirror site.

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
<a href=" http://www.iss.net"    > Internet Security Systems, Inc. </a>
<a href=" http://mcp.com"        > Macmillan Technical Publishing  </a>

ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals






More information about the samba-technical mailing list