[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem when ddd source code compiling
From: |
Thierry Brichler |
Subject: |
Problem when ddd source code compiling |
Date: |
Thu, 07 Dec 2000 22:13:51 +0100 |
Gentlemen,
I downloaded the ddd-3.2.1 tarball from the gnu.org wed site.
I read the INSTALL file instructions, and I performed the following
commands :
./configure => no problem related
make => compilation error, which is the following
Building ddd-3.2.1-i686-pc-linux-gnu...
c++ -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -trigraphs -c -I. -I.
-I./.. -isystem /usr/X11R6/include -o PannedGE.o PannedGE.C
PannedGE.C: In function `void __static_initialization_and_destruction_0
(int, int)':
PannedGE.C:88: non-lvalue in unary `&'
make[1]: *** [PannedGE.o] Erreur 1
make[1]: Quitte le répertoire `/usr/src/redhat/BUILD/ddd-3.2.1/ddd'
make: *** [all] Erreur 1
The related source code line (PannedGE.C:88) is the following :
PannedGraphEditClassRec pannedGraphEditClassRec = {
<= this one
{ /* core fields */
/* superclass */ portholeWidgetClass,
/* class_name */ "PannedGraphEdit",
/* widget_size */ sizeof(PannedGraphEditRec),
I did not have found anything similar on the supplied PROBLEMS file, and
I'm not a C++ specialist.
Could you help me ?
My machine configuration is the following :
i686 with 2.4.0-test11 kernel
Red Hat 7.0 distribution
gcc-2.96 compiler and libstdc++-2.96 library
Best regards,,
T. BRICHLER
- Problem when ddd source code compiling,
Thierry Brichler <=