"Michael F. Brown" <[EMAIL PROTECTED]> writes:
> Hello,
> 
> 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

I can't imagine that this is a wget bug, Michael.  I've compiled various
versions of wget on Solaris 2.6 without ever having a problem.
DATAMODEL_NATIVE is #defined in /usr/include/sys/model.h depending on
whether _LP64 or _ILP32 are #defined.  On one of my Suns I see _LP64
#defined in /usr/include/sys/iso_defs.h, though I'm not sure whether that's
the canonical place for it.

In any case, assuming your system headers haven't gotten munged, this has to
be a gcc problem.  What version are you using?  If it's not the latest,
perhaps you could try upgrading.

---------------------------------------------------------------
Dan Harkless            | To help prevent SPAM contamination,
GNU Wget co-maintainer  | please do not mention this email
http://sunsite.dk/wget/ | address in Usenet posts -- thank you.

Reply via email to