Hi all,
Thanks for your replies. I had an old version of gcc (2.7.2.2), I upgraded to
2.95.2 and wget compiled just fine.
Thanks again.
-Michael F. Brown, Sym API - EMC Corp.
email: [EMAIL PROTECTED]
phone: (800) 445-2588 x11390
"In theory, there is no difference between theory and practice,
but in practice, there is." - Jan L.A. van de Snepscheut
On Thu, 8 Mar 2001, Dan Harkless wrote:
> Date: Thu, 08 Mar 2001 17:05:45 -0800
> From: Dan Harkless <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: Michael F. Brown <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: solaris compilation failed
>
>
> "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.
>