Michael F Brown <[EMAIL PROTECTED]> writes:

> Trying to compile wget on solaris.  I've tried versions 1.6, 1.5.3, and
> 1.4.5 all with the same compilation error:

> In file included from /usr/include/sys/stream.h:26,
>                  from /usr/include/netinet/in.h:38,
>                  from /usr/include/netdb.h:96,
>                  from connect.c:32:
> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
> make[1]: *** [connect.o] Error 1
> make[1]: Leaving directory `/emc/mbrown/src/wget-1.6/src'
> make: *** [src] Error 2

> Attached is my config.status.  My platform is:

> [los0061] ~/src$ uname -a
> SunOS los0061 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-5_10

> Let me know if there is any other information I can provide, Thanks.

This generally means that the compiler that you're using wasn't compiled
for the version of the operating system that you're running.  Had you by
any chance upgraded the operating system (such as from Solaris 2.5.1 to
Solaris 2.6) without recompiling gcc?

gcc stashes private copies of the system header files and therefore must
be recompiled and reinstalled whenever there are any major changes to
those files, such as with an operating system upgrade.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to