ddd
[Top][All Lists]
Advanced

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

Help compiling ddd in linux.


From: Jose Marcos Lopez Caravaca
Subject: Help compiling ddd in linux.
Date: Tue, 03 Oct 2000 13:44:05 +0200

 Hi, I work in a computing laboratory and I'm having lots of problems
compiling ddd
for linux.

 The machine I use is:

 Debian 2.1
 gcc version 2.95.2 19991024 (release)
 Lestiff lesstif-0.91.8.tar.gz
 I've tried XFree 3.3.5 and 3.3.3 

 The compiler gives a lot of warnings while compiling:

/usr/local/X11/include/X11/Xlib.h:4150: warning: return-type of
`XWarpPointer' defaults to `int'
/usr/local/X11/include/X11/Xlib.h:4171: warning: return-type of
`XWindowEvent' defaults to `int'
In file included from /usr/local/X11/include/X11/Intrinsic.h:58,
                 from ddd.h:39,
                 from ddd.C:138:
/usr/local/X11/include/X11/Xutil.h:363: warning: return-type of
`XClipBox' defaults to `int'
/usr/local/X11/include/X11/Xutil.h:389: warning: return-type of
`XDestroyRegion' defaults to `int'
/usr/local/X11/include/X11/Xutil.h:395: warning: return-type of
`XEmptyRegion' defaults to `int'
[...]
/usr/local/X11/include/X11/Xutil.h:871: warning: return-type of
`XUnionRectWithRegion' defaults to `int'
/usr/local/X11/include/X11/Xutil.h:879: warning: return-type of
`XUnionRegion' defaults to `int'
/usr/local/X11/include/X11/Xutil.h:903: warning: return-type of
`XXorRegion' defaults to `int'
In file included from /usr/local/X11/include/X11/Intrinsic.h:59,
                 from ddd.h:39,
                 from ddd.C:138:
/usr/local/X11/include/X11/Xresource.h:249: warning: return-type of
`XrmQGetResource' defaults to `int'
In file included from /usr/local/X11/include/X11/SM/SMlib.h:38,
                 from /usr/local/X11/include/X11/Shell.h:54,
                 from /usr/local/X11/include/Xm/Xm.h:742,
                 from ddd.h:40,
                 from ddd.C:138:
/usr/local/X11/include/X11/ICE/ICElib.h:417: warning: return-type of `Ic

 And finally fails linking:
/usr/local/X11/include/X11/ICE/ICElib.h:417: warning: return-type of
`IceFlush' defaults to `int'
c++    -o ddd-3.2.1-i686-pc-linux-gnu ddd.o compare.o cook.o cwd.o
glob.o hash.o home.o rxclass.o sigName.o strclass.o tabs.o uniquify.o
PrintGC.o SignalB.o TypeInfo.o UniqueId.o MemCheck.o IntIntAA.o
StatArray.o StringA.o StringMap.o StringSA.o VoidArray.o WidgetSA.o
Agent.o AgentM.o AsyncAgent.o ChunkQueue.o DataLength.o HandlerL.o
LiterateA.o ReadLineA.o TimeOut.o TTYAgent.o charsets.o converters.o
decoration.o events.o findParent.o findWindow.o fileSBF.o frame.o
longName.o selection.o simpleMenu.o verify.o AutoRaise.o ComboBox.o
Delay.o DestroyCB.o ExitCB.o InitImage.o LabelH.o LessTifH.o MString.o
MakeMenu.o SpinBox.o Swallower.o XErrorB.o printBox.o AlignBox.o
ArcBox.o BinBox.o Box.o BoxD.o BoxExtend.o BoxPoint.o BoxRegion.o
BoxSize.o ColorBox.o CompositeB.o DiagBox.o DummyBox.o FixBox.o
FontFixBox.o FontTable.o HatBox.o LineBox.o ListBox.o MarkBox.o
MatchBox.o PrimitiveB.o SlopeBox.o StringBox.o THatBox.o TagBox.o
TrueBox.o ArgNode.o BuiltinCN.o CallNode.o ConstNode.o DefCallN.o
DummyNode.o LetNode.o NameNode.o ListNode.o TestNode.o TrueNode.o
VSEFlags.o VSLArgList.o VSLBuiltin.o VSLDef.o VSLDefList.o VSLErr.o
VSLLib.o VSLNode.o VSLRead.o ArcGraphE.o BoxEdgeA.o BoxGraphN.o EdgeA.o
EdgeAPA.o Graph.o GraphEdge.o GraphEdit.o GraphGC.o GraphNode.o
GraphNPA.o HintGraphN.o LineGraphE.o LineGESI.o PannedGE.o PosGraphN.o
RegionGN.o ScrolledGE.o layout.o annotation.o args.o buttons.o cmdtty.o
comm-manag.o complete.o ctrl.o data.o dbx-lookup.o deref.o disp-read.o
editing.o environ.o examine.o exectty.o exit.o expired.o file.o
filetype.o fonts.o fortranize.o gdbinit.o history.o hostname.o index.o
isid.o java.o logo.o logplayer.o mainloop.o mydialogs.o options.o
plotter.o post.o print.o question.o regexps.o resources.o sashes.o
select.o session.o settings.o shell.o shorten.o show.o configinfo.o
source.o status.o string-fun.o tictactoe.o tips.o toolbar.o ungrab.o
value-read.o windows.o wm.o xconfig.o AliasGE.o ArgField.o BreakPoint.o
BreakPM.o CodeCache.o Command.o DataDisp.o DispBox.o DispBuffer.o
DispGraph.o DispNode.o DispNodeM.o DispValue.o DispValueA.o DispValueT.o
EntryType.o GDBAgent.o HelpCB.o HistoryD.o HistoryF.o MinMaxA.o
PlotAgent.o PlotArea.o PosBuffer.o ProgressM.o RefreshDI.o SmartC.o
SourceView.o Tool.o UndoBuffer.o UndoBE.o WhatNextCB.o -L/tmp/lib/lib 
-L/usr/X11R6/lib -lXm -lXp  -lXaw -lXmu  -lXext -lXt -lSM -lICE
-lX11        -lncurses  ../libiberty/libiberty.a -lm
LabelH.o: In function `_topShadowGC(_XmLabelRec *)':
/homes/softlinux2/ddd/ddd-3.2.1/ddd/LabelH.C:255: undefined reference to
`XmeRenderTableGetDefaultFont'
LabelH.o: In function `_bottomShadowGC(_XmLabelRec *)':
/homes/softlinux2/ddd/ddd-3.2.1/ddd/LabelH.C:283: undefined reference to
`XmeRenderTableGetDefaultFont'
LabelH.o: In function `_gadgetParentTopShadowGC(_XmLabelGadgetRec *)':
/homes/softlinux2/ddd/ddd-3.2.1/ddd/LabelH.C:371: undefined reference to
`XmeRenderTableGetDefaultFont'
LabelH.o: In function `_gadgetParentBottomShadowGC(_XmLabelGadgetRec
*)':
/homes/softlinux2/ddd/ddd-3.2.1/ddd/LabelH.C:400: undefined reference to
`XmeRenderTableGetDefaultFont'
SpinBox.o: In function `CreateSpinBox(_WidgetRec *, char *, Arg *,
unsigned int)':
/homes/softlinux2/ddd/ddd-3.2.1/ddd/SpinBox.C:184: undefined reference
to `XmCreateSpinBox'
SourceView.o: In function
`SourceView::update_properties_panel(BreakpointPropertiesInfo *)':
/homes/softlinux2/ddd/ddd-3.2.1/ddd/SourceView.C:5787: undefined
reference to `xmSpinBoxWidgetClass'
collect2: ld returned 1 exit status
make[1]: *** [ddd-3.2.1-i686-pc-linux-gnu] Error 1
make[1]: Leaving directory `/amd/carpanta/home8/ddd/ddd-3.2.1/ddd'
make: *** [all] Error 1


 Do you have any idea what the problem could be? The error seems a
problem with lesstiff, but the warnings 
seem to come from the X11 includes, don't them? 
 Thanks a lot.



reply via email to

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