compiling inn-2.3.0 under Solaris 2.5.1
Russ Allbery
rra at stanford.edu
Wed Dec 13 23:45:55 UTC 2000
larry <larry at lsnyder.com> writes:
> Trying to compile 2.3.0 on this box and I get this:
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.3/include/sys/param.h:187: warning: `NBBY' redefined
> /usr/include/sys/select.h:45: warning: this is the location of the previous definition
> In file included from /usr/include/sys/stream.h:26,
> from /usr/include/netinet/in.h:38,
> from /usr/include/netdb.h:96,
> from hstrerror.c:2:
> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
> *** Error code 1
> make: Fatal error: Command failed for target `hstrerror.o'
> Current working directory /newinn/inn-2.3.0/lib
Usually errors like that mean that you're using a version of gcc that was
originally compiled on a different version of the operating system than
you're currently using, and therefore the fixed header files that gcc
generates at installation time are incompatible with the system header
files.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list