I'm unable to build lxscope 0.5 beta for my M621 on Red
Hat Linux 8.0. After unpacking the sources, I've run
`./MakeETCM621.sh` and the compilation fails here:
g++ `gtk-config --cflags` -DEM621 -c -o
Source/gtk_etc_scope_display.o Source/
gtk_etc_scope_display.cpp
Source/gtk_etc_scope_display.cpp: In function `gint
gtk_etc_scope_display_expose(GtkWidget*,
GdkEventExpose*)':
Source/gtk_etc_scope_display.cpp:1240: ISO C++ forbids
assignment of arrays
Source/gtk_etc_scope_display.cpp:1258: ISO C++ forbids
assignment of arrays
make: *** [Source/gtk_etc_scope_display.o] Error 1
RHL 8.0. uses gcc version 3.2:
# g++ --version
g++ (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Logged In: NO
got the same problem.
Have you tried any other distributions?
Maybe it's a problem with the new C++ standards since gcc 3.0
Logged In: NO
yes, I have this problem too.
write to this lines double=
points==pointsold
etc..
but program generate diferent problem with compiling all
project.... i don't know what I can do .... HELP ME:-)
Logged In: NO
I replaced text on lines 1240 and 1258
Points=PointsOld;
with this
Points[0]=PointsOld[0];
Points[1]=PointsOld[1];
because of error 'ISO C++ forbids assignment of arrays'
but the next error is problem with linking:
undefined reference to `__pure_virtual'
I used gcc-2.95. When I used gcc-3.3 it ends with a similar
errors about new(), delete()...
I tried to define this functions, to include libraries
stdc++5 and stdc++6, but __pure_virtual error was not
solved.
Then I rewrites the virtual functions without virtual, it
compiles ok, but after some initialisation it goes down with
segmentation failed.
In INSTALL file is recommended version of compiler egcs-2.
91.66, but what is it? Where to find this compiler?