Problems compiling Samba-TNG for IRIX

Greg Dickie greg at discreet.com
Fri Jan 28 00:00:36 GMT 2000


They are just warnings, does it run?

Greg

On Thu, 27 Jan 2000, Kim Bjoern Nielsen wrote:

> Date: Thu, 27 Jan 2000 14:18:27 +0100
> From: Kim Bjoern Nielsen <kbn at pjat.dk>
> To: greg at discreet.com
> Cc: Multiple recipients of list SAMBA-NTDOM <samba-ntdom at samba.org>
> Subject: Re: Problems compiling Samba-TNG for IRIX
> 
> Greg Dickie wrote:
> > 
> > Ya, I'm always on the f stream, that could be it.
> > 
> > Greg
> > 
> > On 23-Jan-00 Kim Bjoern Nielsen wrote:
> > > Greg Dickie wrote:
> > >>
> > >> nothing special at all, today it just works. What version of irix are you
> > >> using? I'm on 6.5.4, maybe thats the diff.
> > >
> > > I'm using 6.5.6m on an INDY R4400
> > >
> > > I'll try 6.5.6f on an INDY R5000 later (tonight)!
> 
> been away for a couple of days!
> 
> I tried 6.5.6f, and got it working on R5000. Great.
> 
> I'm still fighting with R4400 though:
> 
> I got the errors:
> 
> IRIX 1# ./configure --prefix=/usr/samba
> IRIX 2# gmake
> Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper 
> -DLOGFILEBASE="/usr/samba/var" -DSMBLOGFILE="/usr/samba/var/log.smb"
> -DNMBLOGFILE="/usr/samba/var/log.nmb"
> -DCONFIGFILE="/usr/samba/lib/smb.conf"
> -DLMHOSTSFILE="/usr/samba/lib/lmhosts"   -DSWATDIR="/usr/samba/swat"
> -DSBINDIR="/usr/samba/bin" -DLOCKDIR="/usr/samba/var/locks"
> -DSMBRUN="/usr/samba/bin/smbrun"
> -DCODEPAGEDIR="/usr/samba/lib/codepages"
> -DDRIVERFILE="/usr/samba/lib/printers.def" -DBINDIR="/usr/samba/bin"
> -DFORMSFILE="/usr/samba/lib/ntforms.def" -DNTDRIVERSDIR="/usr/samba/lib"
> -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd"
> -DSMB_PASSWD_PROGRAM="/usr/samba/bin/smbpasswd"
> -DSMB_PASSWD_FILE="/usr/samba/private/smbpasswd"
> -DSMB_PASSGRP_FILE="/usr/samba/private/smbpassgrp"
> -DSMB_GROUP_FILE="/usr/samba/private/smbgroup"
> -DSMB_ALIAS_FILE="/usr/samba/private/smbalias" 
> Using LIBS = 
> 
> snip...
> 
> Compiling lib/util.c with libtool
> lib/util.c: In function `nametouid':
> lib/util.c:2081: warning: passing arg 1 of `Get_Pwnam' discards `const'
> from pointer target type
> Compiling lib/genrand.c with libtool
> 
> snip...
> 
> Compiling rpc_parse/parse_creds.c with libtool
> rpc_parse/parse_creds.c: In function `create_user_creds':
> rpc_parse/parse_creds.c:600: warning: assignment discards `const' from
> pointer target type
> Compiling rpc_parse/parse_ntlmssp.c with libtool
> 
> snip...
> 
> Compiling lib/domain_namemap.c
> lib/domain_namemap.c: In function `lookup_remote_ntname':
> lib/domain_namemap.c:914: warning: assignment discards `const' from
> pointer target type
> Compiling lib/util_pwdb.c
> 
> snip...
> 
> Compiling lib/domain_namemap.c with libtool
> lib/domain_namemap.c: In function `lookup_remote_ntname':
> lib/domain_namemap.c:914: warning: assignment discards `const' from
> pointer target type
> Linking shared library bin/libsmbpw.la
> 
> ...and a lot of:
> 
> ld32: WARNING 85: definition of __deregister_frame_info in
> bin/.libs/libnmb.so preempts that definition in bin/.libs/libsamba.so.
> 
> ---
> 
> Any ideas?
> 
> Thanks - Kim
> 
> 
> > >
> > > Thanks - Kim
> > >
> > >>
> > >> Greg
> > >>
> > >> On 23-Jan-00 Kim Bjoern Nielsen wrote:
> > >> > Greg Dickie wrote:
> > >> >>
> > >> >> I'm compiling now. 2.8.1 should work i think... ya thats what I'm using.
> > >> >>
> > >> >> Greg
> > >> >
> > >> > Thanks Greg,
> > >> >
> > >> > I'm confused! I just carried out a full cvs
> > >> > download/configure/compilation of samba_main. - And tested it.
> > >> >
> > >> > It works.
> > >> >
> > >> > I still can't get samba_tng to compile - argh!
> > >> >
> > >> > Did you make your own changes to src?
> > >> > Are you using environment settings related to GNU gcc or libs?
> > >> >
> > >> > Any ideas much appreciated
> > >> >
> > >> > Thanks - Kim
> > >> >
> > >> >>
> > >> >> On 23-Jan-00 Kim Bjoern Nielsen wrote:
> > >> >> > Greg Dickie wrote:
> > >> >> >>
> > >> >> >> Are you using the IRIX C compiler? The TNG branch hasn't compiled with
> > >> >> >> it
> > >> >> >> for a
> > >> >> >> while, I'm using gcc now. You can get it off the sgi free stuff web
> > >> >> >> site.
> > >> >> >> The
> > >> >> >> cvs head branch however still seems to work with the native IRIX make
> > >> >> >> and
> > >> >> >> C
> > >> >> >> compiler. Course I haven't check the logs for a couple of days, maybe
> > >> >> >> it
> > >> >> >> doesn't compile...
> > >> >> >>
> > >> >> >
> > >> >> > I'm using the gcc ver. 2.8.1 (fw_gcc-2.8.1-sgipl2.tardist)
> > >> >> >
> > >> >> > I have just downloaded fw_egcs-1.1.2.tardist. Maybe that's better?
> > >> >> >
> > >> >> > Thanks - Kim
> > >> >> >
> > >> >> >> Greg
> > >>
> > >> ----------------------------------
> > >> Greg Dickie
> > >> just a  guy*
> > >> *from Discreet (the Logic is gone)
> > >> ----------------------------------
> > 
> > ----------------------------------
> > Greg Dickie
> > just a  guy*
> > *from Discreet (the Logic is gone)
> > ----------------------------------
> 

---------------------------------------------------------------------
Greg Dickie
Just A Guy*
*from discreet (the logic is gone)
Montreal 
(514) 954-7171
greg at discreet.com




More information about the samba-ntdom mailing list