Problems compiling Samba-TNG for IRIX

Greg Dickie greg at discreet.com
Sun Jan 23 15:38:17 GMT 2000


I'm compiling now. 2.8.1 should work i think... ya thats what I'm using.

Greg

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
>> 
>> On 23-Jan-00 Kim Bjoern Nielsen wrote:
>> > Greg Dickie wrote:
>> >
>> > Thanks Greg,
>> >
>> >>
>> >> Use gnumake.
>> >
>> > Just tried gmake ver. 3.76.1.
>> >
>> > That produced lots of funny errors (-:
>> >
>> > Beginning with:
>> >
>> > prx 19# cd /usr/src/samba-tng/samba/source/
>> > prx 20# gmake
>> > Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
>> > -DLOGFILEBASE="/opt/samba-tng/var"
>> > -DSMBLOGFILE="/opt/samba-tng/var/log.smb"
>> > -DNMBLOGFILE="/opt/samba-tng/var/log.nmb"
>> > -DCONFIGFILE="/opt/samba-tng/lib/smb.conf"
>> > -DLMHOSTSFILE="/opt/samba-tng/lib/lmhosts"
>> > -DSWATDIR="/opt/samba-tng/swat" -DSBINDIR="/opt/samba-tng/bin"
>> > -DLOCKDIR="/opt/samba-tng/var/locks"
>> > -DSMBRUN="/opt/samba-tng/bin/smbrun"
>> > -DCODEPAGEDIR="/opt/samba-tng/lib/codepages"
>> > -DDRIVERFILE="/opt/samba-tng/lib/printers.def"
>> > -DBINDIR="/opt/samba-tng/bin"
>> > -DFORMSFILE="/opt/samba-tng/lib/ntforms.def"
>> > -DNTDRIVERSDIR="/opt/samba-tng/lib" -DHAVE_INCLUDES_H
>> > -DPASSWD_PROGRAM="/bin/passwd"
>> > -DSMB_PASSWD_PROGRAM="/opt/samba-tng/bin/smbpasswd"
>> > -DSMB_PASSWD_FILE="/opt/samba-tng/private/smbpasswd"
>> > -DSMB_PASSGRP_FILE="/opt/samba-tng/private/smbpassgrp"
>> > -DSMB_GROUP_FILE="/opt/samba-tng/private/smbgroup"
>> > -DSMB_ALIAS_FILE="/opt/samba-tng/private/smbalias"
>> > Using LIBS =
>> > Compiling param/loadparm.c with libtool
>> > In file included from include/includes.h:58,
>> >                  from param/loadparm.c:50:
>> > /usr/include/sys/types.h:115: warning: empty declaration
>> > /usr/include/sys/types.h:120: warning: empty declaration
>> > /usr/include/sys/types.h:218: warning: empty declaration
>> > In file included from include/smb.h:28,
>> >                  from include/includes.h:565,
>> >                  from param/loadparm.c:50:
>> > include/md5.h:27: parse error before `uint32'
>> > include/md5.h:27: warning: no semicolon at end of struct or union
>> > include/md5.h:28: warning: data definition has no type or storage class
>> > include/md5.h:30: parse error before `}'
>> > In file included from include/smb.h:29,
>> >                  from include/includes.h:565,
>> >                  from param/loadparm.c:50:
>> > include/hmacmd5.h:27: field `ctx' has incomplete type
>> > In file included from include/includes.h:565,
>> >                  from param/loadparm.c:50:
>> > include/smb.h:271: parse error before `uint32'
>> > include/smb.h:271: warning: no semicolon at end of struct or union
>> > include/smb.h:272: warning: data definition has no type or storage class
>> > include/smb.h:274: warning: data definition has no type or storage class
>> > include/smb.h:294: parse error before `NTTIME'
>> > include/smb.h:294: warning: no semicolon at end of struct or union
>> > include/smb.h:295: warning: data definition has no type or storage class
>> > include/smb.h:296: parse error before `kickoff_time'
>> > include/smb.h:296: warning: data definition has no type or storage class
>> >
>> >
>> > lots of:
>> >
>> > param/loadparm.c:1342: request for member `szDontdescend' in something
>> > not a structure or union
>> >
>> > and finally:
>> >
>> > param/loadparm.c:3054: request for member `bPreferredMaster' in
>> > something not a structure or union
>> > include/client.h: At top level:
>> > include/client.h:117: storage size of `nt' isn't known
>> > make: *** [param/loadparm.lo] Error 1
>> > prx 16#
>> >
>> > Any ideas?
>> >
>> > Thanks - Kim
>> >
>> >>
>> >> Greg
>> >>
>> >> On 23-Jan-00 Kim Bjoern Nielsen wrote:
>> >> > Hi,
>> >> >
>> >> > Using the instructions from www.kneschke.de,
>> >> >
>> >> > Succesfully installed cvs, gcc and misc. IRIX libs & headers.
>> >> >
>> >> > Downloaded latest source via cvs.
>> >> >
>> >> > Succesfully (it seems) ran ./configure
>> >> >
>> >> > prx 14# ./configure --prefix=/opt/samba-tng
>> >> > loading cache ./config.cache
>> >> > checking for gcc... (cached) gcc
>> >> >
>> >> > snip...
>> >> >
>> >> > checking statvfs function (SVR4)... (cached) yes
>> >> > checking configure summary
>> >> > configure OK
>> >> > creating ./config.status
>> >> > creating include/stamp-h
>> >> > creating Makefile
>> >> > creating include/config.h
>> >> > include/config.h is unchanged
>> >> > prx 15# make
>> >> > make: file `Makefile' line 308: Syntax error
>> >> > prx 16#
>> >> >
>> >> > ..hmm! syntax error line 308:
>> >> >
>> >> > SRVSVCD_OBJ = $(MSRPCD_OBJ) $(SRVSVCD_OBJ1) \
>> >> >               $(UBIQX_OBJ) \
>> >> >            $(RPC_SRVUTIL_OBJ) \
>> >> >            $(LOCKING_OBJ) $(PROFILE_OBJ)  \
>> >> >               $(LIBSTATUS_OBJ)
>> >> >
>> >> > Does anyone have any ideas?
>> >> >
>> >> > Thanks - Kim
>> >>
>> >> ----------------------------------
>> >> 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)
----------------------------------


More information about the samba-ntdom mailing list