Compiling SAMBA fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need to compile SAMBA 3.0.0 on an old server which is running SunOS 4.1.3_U1
(Can't upgrade this, unfortunately!!).  I have chosen to build gcc 2.95, as the
gcc website indicates that this version has been successfully built and tested
under SunOS 4.1.3_U1.  Having built and installed gcc 2.95.3, I have
successfully used it to build perl 5.8.1 and amanda.2.4.4p1, but when I try to
build SAMBA 3.0.0 I get problems with conflicting header files, such as:

/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

i.e. NLO is defined by both these header files.

After about 20 such warnings, I get:

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'

Please can anyone suggest how I can get round this.
(I have tried hiding the /usr/include headers by setting the INCLUDE variable to
a dummy value, but /usr/include/sys headers are still found.)

Thanks,

Julian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux