[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please help

From: Ricky Linh
Subject: Please help
Date: Sat, 14 Oct 2000 18:50:09 -0700


I downloaded ddd-3.2.1.tar.gz, unpacked it,
run the configure and trying to compile it on my PC with RedHat 7.0.  The 
compiling stop with the following error:

==> Making all in ./readline...
make[1]: Entering directory `/home/linh/ddd-3.2.1/readline'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/linh/ddd-3.2.1/readline'
==> Making all in ./ddd...
make[1]: Entering directory `/home/linh/ddd-3.2.1/ddd'
Building ddd-3.2.1-i586-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:87: non-lvalue in unary `&'
make[1]: *** [PannedGE.o] Error 1
make[1]: Leaving directory `/home/linh/ddd-3.2.1/ddd'
make: *** [all] Error 1

I try to look in the file PannedGE.CC, but I 
can't what was wrong. Thank you for any
idea or suggestion.


Ricky Linh

Join 18 million Eudora users by signing up for a free Eudora Web-Mail account 
at http://www.eudoramail.com

From address@hidden Tue Oct 17 07:02:01 2000
Received: from geos01.oslo.geco-prakla.slb.com ([] 
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 13lUVM-0007uh-00
        for <address@hidden>; Tue, 17 Oct 2000 07:02:01 -0400
Received: from oslo.geco-prakla.slb.com (sunw138 [])
        by oslo.Geco-Prakla.slb.com (8.9.3/8.9.3) with ESMTP id NAA21832
        for <address@hidden>; Tue, 17 Oct 2000 13:01:55 +0200 (MET DST)
Message-ID: <address@hidden>
Date: Tue, 17 Oct 2000 13:01:54 +0200
From: Patrick Olinet <address@hidden>
X-Mailer: Mozilla 4.61 [en] (X11; I; SunOS 5.6 sun4m)
X-Accept-Language: en
MIME-Version: 1.0
To: address@hidden
Subject: ddd / dbx problem ?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: address@hidden
Errors-To: address@hidden
X-BeenThere: address@hidden
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/ddd>, 
List-Id: Discussion list for DDD, the GNU graphical debugger front end 
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/ddd>, 
List-Archive: http://mail.gnu.org/pipermail/ddd/


I'm using ddd on sparc solaris 2.6 and I have a simple C program
compiled using symbolic links to the source code :

> ll -R
total 0
drwxrwxr-x   2 olinetp  acq        96 Oct 17 09:34 src/
drwxrwxr-x   2 olinetp  acq        96 Oct 17  2000 target/

total 2
-rw-rw-r--   1 olinetp  acq       250 Oct 17 09:34 debug.c

total 0
lrwxrwxrwx   1 olinetp  acq        14 Oct 17  2000 debug.c ->

then I compile the binary in the target directory and remove the
symbolic link :

target/> CC -g -o debug debug.c
target/> rm debug.c

then I launch ddd, change to directory src/ and load the binary located
in target/. The source code  from debug.c (in src/) is properly loaded
and displayed in the source window but when I begin to debug (for
instance by setting a breakpoint and executing the program), then ddd
seems to be very confused and I can not see any green arrow for the
current execution line. All the ddd commands (such as "next", F6) work
properly (I can see it in the DBX console) but the source window is not
updated anymore...

If I compile the binary in the same directory than the source, it works

My config :
 - solaris 2.6
 - Sun WorkShop compiler 4.2
 - dbx 4.0
 - ddd 3.2

I have also tried with gdb (4.18) and the -xs option of CC. It also
works fine. So it seems that the problem is between dbx and ddd...

Any ideas or suggestions ?

Patrick Olinet

reply via email to

[Prev in Thread] Current Thread [Next in Thread]