Re: Problems compiling

Hugo van der Kooij (hvdkooij@caiw.nl)
Mon, 4 Jan 1999 00:52:37 +0100 (CET)

On Sun, 3 Jan 1999, Guy G. Sotomayor wrote:

> Hugo van der Kooij wrote:
> >
> > On Sun, 3 Jan 1999, Michael J Surette wrote:
> >
> > > I am running Stampede Linux w/2.0.26 kernel and pgcc -2.91.57. I am
> > > trying to compile sane-1.00.
> > >
> > > On my first try backend/abaton.c gave me an error on line 1116. I changed
> > > it from...
> > > s->val[OPT_X_RESOLUTION] = *(SANE_Word *)val;
> > > to...
> > > s->val[OPT_X_RESOLUTION].w = *(SANE_Word *)val;
> > > and that file gave me no more problems.
> > >
>
> This *isn't* a compiler problem.

I didn't say that. The posting indicated a required fix in the sources.
Usually not something I would associate with a compiler problem.

> > > umax.c now gives me a 'virtual memory exhausted' error (see below). I
> > > have 32Mb of ram and a 64Mb swap partition. Shouldn't this be enough?
> > > Any ideas?
> >
> This *is* a compiler problem. Although it also appears on the RH5.1
> sparc/Linux too.

Didn't I say so?

> > This is a compiler problem!

Right here!

Hugo.

+------------------------+------------------------------+
| Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
| 3155 VJ Maasland | (De man met de rode hoed) |
+------------------------+------------------------------+
"Computers let you make more mistakes faster than any other invention in
human history, with the possible exception of handguns and tequila."
(Mitch Radcliffe)

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com