Re: build error

Michael Eager <[email protected]> Fri, 7 Feb 2025 14:31:12 -0800
Newsgroups gmane.comp.debugging.ddd.bugs
Message-ID <[email protected]>
See https://savannah.gnu.org/bugs/index.php?66393

This is fixed in commit 7514.

On 2/7/25 11:23 AM, Mark Merriam wrote:
> I am emailing about a build error. I thought I would see if this is a 
> known issue before trying to run it down myself. I’m getting an 
> “undefined reference to app_data”
> 
> Both of the files contain a #include AppData.h so there is no easily 
> identifiable reason that it should be undefined.
> 
> Any clues or potential solutions would be appreciated.
> 
> Mark
> 
> Here’s the output when I retried the make command:
> 
> [f16dev@f16devhost1 build]$ make
> 
> Making all in themes
> 
> make[1]: Entering directory '/home/f16dev/Downloads/ddd-3.4.1/build/themes'
> 
> make[1]: Nothing to be done for 'all'.
> 
> make[1]: Leaving directory '/home/f16dev/Downloads/ddd-3.4.1/build/themes'
> 
> Making all in vsllib
> 
> make[1]: Entering directory '/home/f16dev/Downloads/ddd-3.4.1/build/vsllib'
> 
> make[1]: Nothing to be done for 'all'.
> 
> make[1]: Leaving directory '/home/f16dev/Downloads/ddd-3.4.1/build/vsllib'
> 
> Making all in ddd
> 
> make[1]: Entering directory '/home/f16dev/Downloads/ddd-3.4.1/build/ddd'
> 
> make  all-am
> 
> make[2]: Entering directory '/home/f16dev/Downloads/ddd-3.4.1/build/ddd'
> 
> /bin/sh ../libtool  --tag=CXX   --mode=link g++  -O2 -g -Wall -W - 
> Wwrite-strings -trigraphs    -o vsl vsl.o vsl-DocSpace.o string-fun.o 
> regexps.o darkmode.o base/assert.o base/basename.o base/compare.o base/ 
> cook.o base/cwd.o base/glob.o base/hash.o base/home.o base/isid.o base/ 
> rxclass.o base/sigName.o base/strclass.o base/tabs.o base/uniquify.o 
> base/Logger.o base/MemCheck.o base/PrintGC.o base/SignalB.o base/ 
> TypeInfo.o base/UniqueId.o  agent/Agent.o agent/AgentM.o agent/ 
> AsyncAgent.o agent/ChunkQueue.o agent/DataLength.o agent/HandlerL.o 
> agent/LiterateA.o agent/ReadLineA.o agent/TimeOut.o agent/TTYAgent.o 
> x11/charsets.o x11/converters.o x11/events.o x11/findParent.o x11/ 
> findWindow.o x11/fileSBF.o x11/frame.o x11/longName.o x11/selection.o 
> x11/verify.o x11/AutoRaise.o x11/Delay.o x11/DeleteWCB.o x11/DestroyCB.o 
> x11/ExitCB.o x11/InitImage.o x11/Swallower.o x11/XErrorB.o motif/ 
> freeXmST.o motif/MakeMenu.o motif/MString.o motif/ComboBox.o motif/ 
> SpinBox.o motif/TextSetS.o box/printBox.o box/AlignBox.o box/ArcBox.o 
> box/BinBox.o box/Box.o box/BoxD.o box/BoxExtend.o box/BoxPoint.o box/ 
> BoxRegion.o box/BoxSize.o box/ColorBox.o box/CompositeB.o box/DiagBox.o 
> box/DummyBox.o box/FixBox.o box/FontFixBox.o box/FontTable.o box/ 
> HatBox.o box/LineBox.o box/ListBox.o box/MarkBox.o box/MatchBox.o box/ 
> PrimitiveB.o box/SlopeBox.o box/StringBox.o box/THatBox.o box/TagBox.o 
> box/TrueBox.o vslsrc/ArgNode.o vslsrc/BuiltinCN.o vslsrc/CallNode.o 
> vslsrc/ConstNode.o vslsrc/DefCallN.o vslsrc/DummyNode.o vslsrc/LetNode.o 
> vslsrc/NameNode.o vslsrc/ListNode.o vslsrc/TestNode.o vslsrc/ThemeVSLL.o 
> vslsrc/TrueNode.o vslsrc/VSEFlags.o vslsrc/VSLArgList.o vslsrc/ 
> VSLBuiltin.o vslsrc/VSLDef.o vslsrc/VSLDefList.o vslsrc/VSLErr.o vslsrc/ 
> VSLLib.o vslsrc/VSLNode.o vslsrc/VSLRead.o   -lXm  -lXmu -lXt  -lXp - 
> lXext -lSM -lICE -lX11  -lXft  -lfontconfig -ltinfo  -lm -lelf -lm
> 
> libtool: link: g++ -O2 -g -Wall -W -Wwrite-strings -trigraphs -o vsl 
> vsl.o vsl-DocSpace.o string-fun.o regexps.o darkmode.o base/assert.o 
> base/basename.o base/compare.o base/cook.o base/cwd.o base/glob.o base/ 
> hash.o base/home.o base/isid.o base/rxclass.o base/sigName.o base/ 
> strclass.o base/tabs.o base/uniquify.o base/Logger.o base/MemCheck.o 
> base/PrintGC.o base/SignalB.o base/TypeInfo.o base/UniqueId.o agent/ 
> Agent.o agent/AgentM.o agent/AsyncAgent.o agent/ChunkQueue.o agent/ 
> DataLength.o agent/HandlerL.o agent/LiterateA.o agent/ReadLineA.o agent/ 
> TimeOut.o agent/TTYAgent.o x11/charsets.o x11/converters.o x11/events.o 
> x11/findParent.o x11/findWindow.o x11/fileSBF.o x11/frame.o x11/ 
> longName.o x11/selection.o x11/verify.o x11/AutoRaise.o x11/Delay.o x11/ 
> DeleteWCB.o x11/DestroyCB.o x11/ExitCB.o x11/InitImage.o x11/Swallower.o 
> x11/XErrorB.o motif/freeXmST.o motif/MakeMenu.o motif/MString.o motif/ 
> ComboBox.o motif/SpinBox.o motif/TextSetS.o box/printBox.o box/ 
> AlignBox.o box/ArcBox.o box/BinBox.o box/Box.o box/BoxD.o box/ 
> BoxExtend.o box/BoxPoint.o box/BoxRegion.o box/BoxSize.o box/ColorBox.o 
> box/CompositeB.o box/DiagBox.o box/DummyBox.o box/FixBox.o box/ 
> FontFixBox.o box/FontTable.o box/HatBox.o box/LineBox.o box/ListBox.o 
> box/MarkBox.o box/MatchBox.o box/PrimitiveB.o box/SlopeBox.o box/ 
> StringBox.o box/THatBox.o box/TagBox.o box/TrueBox.o vslsrc/ArgNode.o 
> vslsrc/BuiltinCN.o vslsrc/CallNode.o vslsrc/ConstNode.o vslsrc/ 
> DefCallN.o vslsrc/DummyNode.o vslsrc/LetNode.o vslsrc/NameNode.o vslsrc/ 
> ListNode.o vslsrc/TestNode.o vslsrc/ThemeVSLL.o vslsrc/TrueNode.o 
> vslsrc/VSEFlags.o vslsrc/VSLArgList.o vslsrc/VSLBuiltin.o vslsrc/ 
> VSLDef.o vslsrc/VSLDefList.o vslsrc/VSLErr.o vslsrc/VSLLib.o vslsrc/ 
> VSLNode.o vslsrc/VSLRead.o  -lXm -lXmu -lXt -lXp -lXext -lSM -lICE -lX11 
> -lXft -lfontconfig -ltinfo -lelf -lm
> 
> motif/MakeMenu.o: In function `MMaddItems(_WidgetRec*, MMDesc*, bool)':
> 
> /home/f16dev/Downloads/ddd-3.4.1/build/ddd/../../ddd/motif/ 
> MakeMenu.C:317: undefined reference to `app_data'
> 
> x11/AutoRaise.o: In function `AutoRaiseEH(_WidgetRec*, void*, _XEvent*, 
> char*)':
> 
> /home/f16dev/Downloads/ddd-3.4.1/build/ddd/../../ddd/x11/AutoRaise.C:88: 
> undefined reference to `app_data'
> 
> collect2: error: ld returned 1 exit status
> 
> make[2]: *** [Makefile:2337: vsl] Error 1
> 
> make[2]: Leaving directory '/home/f16dev/Downloads/ddd-3.4.1/build/ddd'
> 
> make[1]: *** [Makefile:1920: all] Error 2
> 
> make[1]: Leaving directory '/home/f16dev/Downloads/ddd-3.4.1/build/ddd'
> 
> make: *** [Makefile:530: all-recursive] Error 1
> 
> 		
> 
> Mark M. Merriam
> 
> Defense & Security, CAE USA
> 
> *T.*
> 
> 	
> 
> 607-721-5141
> 
> 	
> 
> *M.*
> 
> 	
> 
> 607-651-0420
> 
> *E.*
> 
> 	
> 
> [email protected] <mailto:[email protected]>
> 
> *A. *
> 
> 	
> 
> 147 Industrial Park Drive
> 
> Binghamton, New York 13904
> 
> *cae.com <https://www.cae.com/>*
> 
> 		
> 		
> 
> CONFIDENTIALITY NOTICE
> 
> This e-mail message is intended only for the above named recipient(s) 
> and may contain information that is confidential. If you have received 
> this message in error or are not the named recipient(s), please 
> immediately notify the sender, delete this e-mail message without making 
> a copy and do not disclose or relay this e-mail message to anyone.
> 
> 		
> 

-- 
Michael Eager