To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1463
1462  |  1464
Subject: 
Re: compiler problem - help needed please
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 20 Oct 2000 14:40:50 GMT
Viewed: 
1344 times
  
John-
Thanks a bunch for finding that. I'll check that fix into CVS this
afternoon.
Luis

On 20 Oct 2000, John Markus Bjorndalen wrote:

Date: 20 Oct 2000 15:18:18 +0200
From: John Markus Bjorndalen <johnm@cs.uit.no>
To: Niels Sandholt Busch <niels@diku.dk>
Cc: Luis Villa <liv@duke.edu>
Subject: Re: compiler problem - help needed please


lugnet wouldn't take my news-posting, so I'll forward this to you by
mail instead. Sorry about that.


Luis Villa <liv@duke.edu> writes:

Well, I'd hope it is not the distribution. However, it is possible- RedHat
7.0 uses a "new" compiler version (egcs 2.96) that has been known to cause
some problems with certain programs. makelx is very simple, so it
shouldn't be a problem, but it could be :| If you do try another

There is a small bug in makelx which is triggered with gcc 2.95.2 and
possibly also 2.96.

Modify the following line in util/dll-src/convert.c (close to the end):

  if(argc-optind<3 || lx.text_size==0) {

to
    if (argc - optind < 3) {

The problem is that lx has not been initialized before lx.text_size
is checked.


--
// John Markus Bjørndalen



-----------------------------------------------------------------------

    "It's clear to us that Microsoft isn't the competition anymore.
                       They are our environment."
        WordPerfect manager, talking about Word

-----------------------------------------------------------------------



Message has 1 Reply:
  Re: compiler problem - help needed please
 
Ok, well, it is checked in on my tree but sourceforge CVS doesn't seem to be up at the moment. I'll check it in as soon as sourceforge is happy again. Thanks yet again to those who helped pinpoint this problem. Luis (...) ---...--- "It's clear to us (...) (24 years ago, 20-Oct-00, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR