Craig Small wrote:

> On Fri, Feb 23, 2001 at 05:47:02PM +0100, werner maes wrote:
> > >Would you believe one line?
> > >Alphas don't like it when you mix char* with int
> > >I've reported this bug on this list previously about 3 weeks ago,
> > >some title like severe bug found in 3.7.4
> > >Ref Debian bug 83231 "Segmentation fault on lprng startup"
> > >
> > >-{ "direct", 0, STRING_K, &Direct_DYN,0,0},
> > >+{ "direct", 0, INTEGER_K, &Direct_DYN,0,0},
> > >
> > >It dies in get parms because it tries to put an integer into a char*
> > >and the Alpha has big 'uns compared to i386.
> > >The Alpha is great for picking up this sort of stuff.
> >
> > Thanks for your reply,
> >
> > But how do I fix this problem?
> > On the official lprng website you can only find version 3.7.4.
> > How do I use the lprng_3.7.4-2.diff file which I fetched from the debian
> > ftp site to update this package?
>
> That patch probably has a lot of stuff you don't need, to just put this
> fix in, edit src/common/vars.c and around line 189 you''ll see the line
> that starts with - as above and has STRING_K, change that to INTEGER_K and
> recompile.

Thanks for your tip but it did not work. I changed line 189 in vars.c and
afterwards I did:
./configure
make clean
make all
make install

I still get the segmentation fault error.
Are you sure you only need to change one line?

Werner



-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to