public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* RE: compiling DDD
@ 2003-12-04 15:08 Richard Campbell
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Campbell @ 2003-12-04 15:08 UTC (permalink / raw)
  To: 'cygwin-xfree@cygwin.com'

>WAG, try configuring with --without-athena.

Doesn't build, then.

make[2]: Entering directory `/cygdrive/c/ddd-3.3.7/ddd'
source='PannedGE.C' object='PannedGE.o' libtool=no \
depfile='.deps/PannedGE.Po' tmpdepfile='.deps/PannedGE.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include
-DNDEBUG -
O2 -g -W -Wall -trigraphs  -c -o PannedGE.o `test -f 'PannedGE.C' || echo
'./'`P
annedGE.C
PannedGE.C: In function `_WidgetRec* createPannedGraphEdit(_WidgetRec*,
const 
   char*, Arg*, unsigned int)':
PannedGE.C:400: error: `cerr' undeclared (first use this function)
PannedGE.C:400: error: (Each undeclared identifier is reported only once for

   each function it appears in.)
make[2]: *** [PannedGE.o] Error 1
make[2]: Leaving directory `/cygdrive/c/ddd-3.3.7/ddd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/c/ddd-3.3.7/ddd'
make: *** [all-recursive] Error 1

That line is:
	cerr << "Warning: panned graph editors are not supported "
	    "in this configuration.\n";

Checking a little further, iostream isn't included on that side of the
configuration, 
which seems odd.  Added an iostream include and it successfully built.

And then failed in much the same way (different specific error in the
version of Motif
it didn't find):

Warning: This DDD requires a Motif 2.1 library (using Motif 1275340.287)
Continue at own risk.

Internal error (Segmentation fault).

-Richard Campbell.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: compiling DDD
  2003-12-03 22:26 Richard Campbell
@ 2003-12-03 23:39 ` Brian Ford
  0 siblings, 0 replies; 9+ messages in thread
From: Brian Ford @ 2003-12-03 23:39 UTC (permalink / raw)
  To: 'cygwin-xfree@cygwin.com'

On Wed, 3 Dec 2003, Richard Campbell wrote:

> I reinstalled lesstif from setup.  Same exact results.
>
WAG, try configuring with --without-athena.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: compiling DDD
@ 2003-12-03 22:26 Richard Campbell
  2003-12-03 23:39 ` Brian Ford
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Campbell @ 2003-12-03 22:26 UTC (permalink / raw)
  To: 'cygwin-xfree@cygwin.com'

I reinstalled lesstif from setup.  Same exact results.

-Richard Campbell.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: compiling DDD
@ 2003-12-03 22:05 Richard Campbell
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Campbell @ 2003-12-03 22:05 UTC (permalink / raw)
  To: 'cygwin-xfree@cygwin.com'

This appears to be the ultimate link line run:

g++ -DNDEBUG -O2 -g -W -Wall -trigraphs -o ddd.exe ddd.o basename.o
compare.o cook.o cwd.o glob.o 
<snip many more *.o files>
UndoBuffer.o UndoBE.o WhatNextCB.o configinfo.o  -L/usr/X11R6/lib
.libs/libimp-cygXm-2.a -lXft -lXrender .libs/libimp-cygfontconfig-1.a
.libs/libimp-cygfreetype-6.a -lz .libs/libimp-cygexpat-0.a -lXaw -lXmu -lXt
-lXpm -lXp -lXext -lX11 -lSM -lICE -lncurses -ly ../libiberty/libiberty.a
-Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/X11R6/lib

Why is it that cygXm-2 is linked in as ".libs/libimp-cygXm-2.a"?  Is that to
be expected?

-Richard Campbell.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: compiling DDD
  2003-12-03 21:39 Richard Campbell
@ 2003-12-03 21:56 ` Brian Ford
  0 siblings, 0 replies; 9+ messages in thread
From: Brian Ford @ 2003-12-03 21:56 UTC (permalink / raw)
  To: 'cygwin-xfree@cygwin.com'

On Wed, 3 Dec 2003, Richard Campbell wrote:

Richard,

I'm still very hit and miss with respect to finding time to look at this,
but since you are the only one sending in solid information, could you post
the output of cygcheck ddd.exe.  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


^ permalink raw reply	[flat|nested] 9+ messages in thread

* compiling DDD
@ 2003-12-03 21:44 y2bismil
  0 siblings, 0 replies; 9+ messages in thread
From: y2bismil @ 2003-12-03 21:44 UTC (permalink / raw)
  To: cygwin-xfree

Hi all,

I've lost the ability to compile ddd.  It used to work, but now it doesn't.  Nor
does running the old binary of ddd.  I am using the latewst cygwin and ddd
3.3.8, but the same thing happens with ddd 3.3.7.  I am using gcc 3.3.1.


This is the output trying to run an old binary of ddd (before ddd stopped working)
********************************************************
Warning: No type converter registered for 'String' to 'Orientation' conversion.
Warning: No type converter registered for 'String' to 'Orientation' conversion.
Warning: No type converter registered for 'String' to 'Orientation' conversion.
Warning: XmPrimitive ClassInitialize: XmeTraitSet failed

Error: attempt to add non-widget child "DropSiteManager" to parent "ddd" which
supports only widgets

Xt error (attempt to add non-widget child "DropSiteManager" to parent "ddd"
which supports only widgets).

Oops!  You have found a bug in DDD.

If you can reproduce this bug, please send a bug report
to <bug-ddd@gnu.org>, giving a subject like

    DDD 3.3.8 (i686-pc-cygwin) gets Xt error

To enable us to fix the bug, you should include the following information:
* What you were doing to get this message.  Report all the facts.
* The contents of the `~/.ddd/log' file as generated by this session.
Please read also the section "Reporting Bugs" in the DDD manual.

We thank you for your support.


Internal error (Segmentation fault).

Oops!  You have found a bug in DDD.

If you can reproduce this bug, please send a bug report
to <bug-ddd@gnu.org>, giving a subject like

    DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault' signal

To enable us to fix the bug, you should include the following information:
* What you were doing to get this message.  Report all the facts.
* The contents of the `~/.ddd/log' file as generated by this session.
Please read also the section "Reporting Bugs" in the DDD manual.

We thank you for your support.

Segmentation fault
********************************************************


This is the what happens when I try to compile it
********************************************************
complete.o(.text+0x28b6): In function `_GLOBAL__D_complete_rcsid':
/usr/include/c++/3.3.1/iostream:219: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
deref.o(.text+0x886): In function `GLOBAL(int222_t, long double, char, short,
int, double)':
/usr/include/c++/3.3.1/iostream:1077: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
deref.o(.text+0x8a6): In function `_GLOBAL__D_deref_rcsid':
/usr/include/c++/3.3.1/iostream:1077: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
disp-read.o(.text+0x44c6): In function `_GLOBAL__I_disp_read_rcsid':
/usr/include/c++/3.3.1/iostream:1077: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
disp-read.o(.text+0x44e6):/usr/include/c++/3.3.1/iostream:1077: more undefined
references to `__static_initialization_and_destruction_0(int, int)' follow
fortranize.o(.ctors+0x0):fortranize.C: undefined reference to
`__GLOBAL__I_fortranize_rcsid'
fortranize.o(.dtors+0x0):fortranize.C: undefined reference to
`__GLOBAL__D_fortranize_rcsid'
gdbinit.o(.text+0x4b56): In function `GLOBAL(int0_t, long double, char, short,
int, double)':
/usr/include/c++/3.3.1/iostream:64: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
gdbinit.o(.text+0x4b76): In function `_GLOBAL__D_gdbinit_rcsid':
/usr/include/c++/3.3.1/iostream:64: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
post.o(.ctors+0x0): In function `_Z4YnCBP10_WidgetRecPvS1_':
/cygdrive/c/ddd/ddd-3.3.8/ddd/post.C:85: undefined reference to `_GLOBAL(int0_t,
long double, char, short, int, double)'
post.o(.dtors+0x0):/cygdrive/c/ddd/ddd-3.3.8/ddd/post.C:85: undefined reference
to `__GLOBAL__D_post_rcsid'
question.o(.ctors+0x0): In function `_Z17gdb_reply_timeoutPvPm':
/cygdrive/c/ddd/ddd-3.3.8/ddd/question.C:76: undefined reference to
`_GLOBAL(int0_t, long double, char, short, int, double)'
question.o(.dtors+0x0):/cygdrive/c/ddd/ddd-3.3.8/ddd/question.C:76: undefined
reference to `__GLOBAL__D_question_rcsid'
simpleMenu.o(.ctors+0x0): In function `_Z10same_shellP10_WidgetRecS0_':
/cygdrive/c/ddd/ddd-3.3.8/ddd/simpleMenu.C:58: undefined reference to
`__GLOBAL__I_simpleMenu_rcsid'
simpleMenu.o(.dtors+0x0):/cygdrive/c/ddd/ddd-3.3.8/ddd/simpleMenu.C:58:
undefined reference to `__GLOBAL__D_simpleMenu_rcsid'
status.o(.text+0x2746): In function `GLOBAL(int0_t, long double, char, short,
int, double)':
/usr/include/c++/3.3.1/iostream:437: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
status.o(.text+0x2766): In function `_GLOBAL__D_status_rcsid':
/usr/include/c++/3.3.1/iostream:437: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
tictactoe.o(.ctors+0x0): In function `_Z7moveRowi':
/cygdrive/c/ddd/ddd-3.3.8/ddd/tictactoe.C:84: undefined reference to `_GLOBAL(in
********************************************************

Thanks,

Yamin

----------------------------------------
This mail sent through www.mywaterloo.ca


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: compiling DDD
@ 2003-12-03 21:42 Richard Campbell
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Campbell @ 2003-12-03 21:42 UTC (permalink / raw)
  To: 'cygwin-xfree@cygwin.com'

"make check" segfaults at the make check for ddd in just the same way as the
main program
does (same output, same ~/.ddd/log output).

-Richard Campbell.

bash-2.05b$ /usr/local/bin/ddd
Warning: This DDD requires a Motif 2.1 library (using Motif 1324099.71)
Continue at own risk.
Warning: No type converter registered for 'String' to 'Orientation'
conversion.
Warning: No type converter registered for 'String' to 'Orientation'
conversion.
Warning: No type converter registered for 'String' to 'Orientation'
conversion.

Internal error (Segmentation fault).

Oops!  You have found a bug in DDD.

If you can reproduce this bug, please send a bug report
to <bug-ddd@gnu.org>, giving a subject like

    DDD 3.3.7 (i686-pc-cygwin) gets `Segmentation fault' signal

To enable us to fix the bug, you should include the following information:
* What you were doing to get this message.  Report all the facts.
* The contents of the `~/.ddd/log' file as generated by this session.
Please read also the section "Reporting Bugs" in the DDD manual.

Looking at the ~/.ddd/log output is rather bizarre:

GNU DDD 3.3.7 (i686-pc-cygwin)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.
Copyright (C) 2001 Universität des Saarlandes, Germany.

Compiled with GCC 3.3.1 (cygming special)
Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release 0.93.91)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
Built 2003-12-01 by (unknown).
$  /usr/local/bin/ddd
!  Segmentation fault
!  Interrupt

(because that lesstif version is the one I'm using).

I'm going back and doing some "make check" and looking at config.log to see
what's 
going on with the lesstif linking and discussion.

-Richard Campbell.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: compiling DDD
@ 2003-12-03 21:39 Richard Campbell
  2003-12-03 21:56 ` Brian Ford
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Campbell @ 2003-12-03 21:39 UTC (permalink / raw)
  To: 'cygwin-xfree@cygwin.com'

>> I used to be able to compile ddd fine, but something occurred when i
recently
>> updated ddd.  I'm getting static initialiation_construct_and_destructor
errors.
>>
>Please post the exact (cut and paste) error messages you receive.

Brian, piggybacking a bit here - this is with ddd-3.3.7 source, compiling
with 
g++ (GCC) 3.3.1 (cygming special), everything else up to date:

Agent.o(.text+0x3fb6): In function `GLOBAL(int10_t, long double, char,
short, int, double)':
/usr/include/c++/3.3.1/iostream:438: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
Agent.o(.text+0x3fd6): In function `_GLOBAL__D_Agent_rcsid':
/usr/include/c++/3.3.1/iostream:438: undefined reference to
`__static_initialization_and_destruction_0(int, int)'
AgentM.o(.ctors+0x0): In function `_ZN12AgentManagerpLEP5Agent':
/cygdrive/c/ddd-3.3.7/ddd/AgentM.C:62: undefined reference to
`_GLOBAL(int10_t, long double, char, short, int, double)'

<and many more errors like that>

I looked here:
http://www.cygwin.com/ml/cygwin/2003-07/msg00463.html

And cut out all pragma interface and pragma implementations I could find.

After that, ddd compiles.  If I run it, the following segmentation fault:

bash-2.05b$ /usr/local/bin/ddd
Warning: This DDD requires a Motif 2.1 library (using Motif 1324099.71)
Continue at own risk.
Warning: No type converter registered for 'String' to 'Orientation'
conversion.
Warning: No type converter registered for 'String' to 'Orientation'
conversion.
Warning: No type converter registered for 'String' to 'Orientation'
conversion.

Internal error (Segmentation fault).

Oops!  You have found a bug in DDD.

If you can reproduce this bug, please send a bug report
to <bug-ddd@gnu.org>, giving a subject like

    DDD 3.3.7 (i686-pc-cygwin) gets `Segmentation fault' signal

To enable us to fix the bug, you should include the following information:
* What you were doing to get this message.  Report all the facts.
* The contents of the `~/.ddd/log' file as generated by this session.
Please read also the section "Reporting Bugs" in the DDD manual.

Looking at the ~/.ddd/log output is rather bizarre:

GNU DDD 3.3.7 (i686-pc-cygwin)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.
Copyright (C) 2001 Universität des Saarlandes, Germany.

Compiled with GCC 3.3.1 (cygming special)
Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release 0.93.91)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
Built 2003-12-01 by (unknown).
$  /usr/local/bin/ddd
!  Segmentation fault
!  Interrupt

(because that lesstif version is the one I'm using).

I'm going back and doing some "make check" and looking at config.log to see
what's 
going on with the lesstif linking and discussion.

-Richard Campbell.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: compiling DDD
       [not found] <1070478432.3fce34609f444@www.nexusmail.uwaterloo.ca>
@ 2003-12-03 19:20 ` Brian Ford
  0 siblings, 0 replies; 9+ messages in thread
From: Brian Ford @ 2003-12-03 19:20 UTC (permalink / raw)
  To: y2bismil; +Cc: cygwin-xfree

This is an XFree86 issue, so please use the proper mailing list
(cygwin-xfree@cygwin.com).

On Wed, 3 Dec 2003 y2bismil@engmail.uwaterloo.ca wrote:

> I used to be able to compile ddd fine, but something occurred when i recently
> updated ddd.  I'm getting static initialiation_construct_and_destructor errors.
>
Please post the exact (cut and paste) error messages you receive.

>  If I revert to an oldfer binary or older GCC(3.2.x) then it compiles fine, but
> segfaults on startup.
>
What does an older binary mean?

Please see http://www.cygwin.com/problems.html for the additional
information we need to help.

Also, search the cygwin-xfree mailing list archives to see several
discussions on this topic.

> *****ddd log*************
> GNU DDD 3.3.8 (i686-pc-cygwin)
> Copyright (C) 1995-1999 Technische Universit&#19744;Braunschweig, Germany.
> Copyright (C) 1999-2001 Universit&#19744;Passau, Germany.
> Copyright (C) 2001 Universit&#19744;des Saarlandes, Germany.
>
> Compiled with GCC 3.2 20020927 (prerelease)
> Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release 0.93.91)
> Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
> Built 2003-12-02 by me!!!!.
> $  ddd
> !  Segmentation fault
> ******************************
> It complains about getting an XT error.
>
Please post the exact XT error.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-12-04 15:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-04 15:08 compiling DDD Richard Campbell
  -- strict thread matches above, loose matches on Subject: below --
2003-12-03 22:26 Richard Campbell
2003-12-03 23:39 ` Brian Ford
2003-12-03 22:05 Richard Campbell
2003-12-03 21:44 y2bismil
2003-12-03 21:42 Richard Campbell
2003-12-03 21:39 Richard Campbell
2003-12-03 21:56 ` Brian Ford
     [not found] <1070478432.3fce34609f444@www.nexusmail.uwaterloo.ca>
2003-12-03 19:20 ` Brian Ford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).