[Samba] Samba 3.0.0 compile errors

Julian C H Stevens julian.stevens at cfswebmail.com
Fri Jan 23 11:18:28 GMT 2004


Apologies first!
I am currently maintaining a very old SunOS 4.1.3_U1 server which is in a
sensitive location an cannot be upgraded.  It will be replaced soon, but in the
meantime...
I need to upgrade my Samba 2.0.6 to Samba 3.0.0, but receive the following
compile errors:

jasperl}source% make
Using FLAGS =  -g -O2 -I./popt -Iinclude
-I/home/jasperl/julian/local/src/samba-3.0.0/source/include
-I/home/jasperl/julian/local/src/samba-3.0.0/source/ubiqx
-I/home/jasperl/julian/local/src/samba-3.0.0/source/smbwrapper  -I. 
-I/home/jasperl/julian/local/src/samba-3.0.0/source   
      LIBS = -lresolv
      LDSHFLAGS = -G
      LDFLAGS = 
Compiling dynconfig.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/termio.h:7,
                 from include/includes.h:256,
                 from dynconfig.c:21:
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:116:
warning: `NL0' redefined
/usr/include/sys/ioctl.h:30: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:117:
warning: `NL1' redefined
/usr/include/sys/ioctl.h:31: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:119:
warning: `CR0' redefined
/usr/include/sys/ioctl.h:40: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:120:
warning: `CR1' redefined
/usr/include/sys/ioctl.h:41: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:121:
warning: `CR2' redefined
/usr/include/sys/ioctl.h:42: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:122:
warning: `CR3' redefined
/usr/include/sys/ioctl.h:43: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:124:
warning: `TAB0' redefined
/usr/include/sys/ioctl.h:35: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:125:
warning: `TAB1' redefined
/usr/include/sys/ioctl.h:36: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:126:
warning: `TAB2' redefined
/usr/include/sys/ioctl.h:37: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:127:
warning: `XTABS' redefined
/usr/include/sys/ioctl.h:38: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:130:
warning: `BS0' redefined
/usr/include/sys/ioctl.h:48: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:131:
warning: `BS1' redefined
/usr/include/sys/ioctl.h:49: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:136:
warning: `FF0' redefined
/usr/include/sys/ioctl.h:45: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:137:
warning: `FF1' redefined
/usr/include/sys/ioctl.h:46: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:169:
warning: `ECHO' redefined
/usr/include/sys/ioctl.h:23: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:173:
warning: `NOFLSH' redefined
/usr/include/sys/ioctl.h:66: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:174:
warning: `TOSTOP' redefined
/usr/include/sys/ioctl.h:57: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:189:
warning: `FLUSHO' redefined
/usr/include/sys/ioctl.h:58: warning: this is the location of the previous
definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.95.3/include/sys/termios.h:190:
warning: `PENDIN' redefined
/usr/include/sys/ioctl.h:64: warning: this is the location of the previous
definition
In file included from include/includes.h:761,
                 from dynconfig.c:21:
include/../tdb/tdb.h:130: parse error before `*'
In file included from include/includes.h:896,
                 from dynconfig.c:21:
include/proto.h:6460: parse error before `*'
*** Error code 1
make: Fatal error: Command failed for target `dynconfig.o'

Can anyone tell me if the warnings are significant, and what the parse error
indicates?
Thanks.



More information about the samba mailing list