On 21/01/10 9:25 PM, Kevin Steffensen wrote: > The version I had trouble with was the one provided with Debian unstable. > It was not compiled from the Gtkwave repository. The Debian package may > have introduced some bug.
gtkwave-3.3.1 shouldn't be used. The problem is in the source distribution for gtkwave-3.3.1, there is a malformed end-of-C-comment separator, in src/ghw.c at line 527. I appear to have been mistaken about the second one, the second file showing a difference is src/currenttime.h which contains information on the bad comment in gtkwave-3.3.2 but otherwise only contains a new value for WAVE_VERSION_INFO, holding the version number in text format. You can see the effect of the malformed comment separator here: http://gtkwave.cvs.sourceforge.net/viewvc/gtkwave/gtkwave3/src/ghw.c?revision=1.09&view=markup lines 527 through 568, shows code commented out due to missing '/' and look at the difference with 3.3.2 here: http://gtkwave.cvs.sourceforge.net/viewvc/gtkwave/gtkwave3/src/ghw.c?revision=1.10&view=markup lines 527 through 568 with the comment closed properly on line 527 Version gtkwave-3.3.2 works. Either patch src/ghw.c to match: 527c527 < /* For iterative generate, add the index. * --- > /* For iterative generate, add the index. */ adding the missing trailing backslash, or obtain the source for 3.3.2: http://gtkwave.sourceforge.net/gtkwave-3.3.2.tar.gz Build and compile: > tar -xzvof gtkwave-3.3.2.tar.gz > cd gtkwave-3.3.2 > ./configure > make > su # or sudo make install > make install > exit # from su (default install location /usr/local/bin ...) gtkwave-3.3.2/doc/gtkwave.odt can be opened, printed or exported with OpenOffice/StarOffice and contains a section 'Compiling and Installing GTKWave'. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
