ddd
[Top][All Lists]
Advanced

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

Re: Linker Problems with gcc-3.4


From: Arnaud Desitter
Subject: Re: Linker Problems with gcc-3.4
Date: Mon, 17 May 2004 14:41:33 +0100

Hi,

It looks like a problem with the compiler set-up or your compiler.
Try to build a simple C++ program such as:

#include <string>
#include <iostream>
int main(){
  std::string s("Hello world.");
  std::cout << s << std::endl;
}

If it works, then you will have to dig further yourself.
It is vey unlikely to be a ddd problem as it works fine with
gcc 3.4 on Linux and with the native Sun compiler on Solaris.

Regards,

----- Original Message ----- 
From: "Max Bernhardt - extern TAGP - Tel. 3749" <address@hidden>
Newsgroups: gmane.comp.debugging.ddd.general
Sent: Monday, May 17, 2004 11:56 AM
Subject: Linker Problems with gcc-3.4


> Hi,
>
> i tried to build ddd-3.3.8 and ddd-3.3.9test2 using gcc-3.4 and the
> native Solaris8 linker.
>
> In both cases i got the following linker error:
>
> /bin/bash ../libtool --mode=link g++  -O2 -g -Wall -W -Wwrite-strings
> -trigraphs    -o ddd  ddd.o assert.o basename.o compare.o cook.o cwd.o
> glob.o hash.o home.o isid.o rxclass.o sigName.o strclass.o tabs.o
> uniquify.o Logger.o MemCheck.o PrintGC.o SignalB.o TypeInfo.o UniqueId.o
> IntIntAA.o StatArray.o StringA.o StringMap.o StringSA.o StringSAA.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 events.o findParent.o findWindow.o fileSBF.o
> frame.o longName.o selection.o verify.o AutoRaise.o Delay.o DeleteWCB.o
> DestroyCB.o ExitCB.o InitImage.o Swallower.o XErrorB.o freeXmST.o
> LabelH.o LessTifH.o MakeMenu.o MString.o ComboBox.o SpinBox.o TextSetS.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 ThemeVSLL.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 decoration.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 java.o logo.o
> logplayer.o mainloop.o mydialogs.o options.o plotter.o post.o print.o
> question.o regexps.o resolveP.o resources.o sashes.o select.o session.o
> settings.o shell.o shorten.o show.o simpleMenu.o source.o status.o
> string-fun.o tempfile.o tictactoe.o tips.o toolbar.o ungrab.o
> value-read.o vsldoc.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 StringTPA.o ThemeM.o ThemeP.o Tool.o UndoBuffer.o
> UndoBE.o WhatNextCB.o configinfo.o  -L/opt/pd/lib -R/opt/pd/lib
> -L/usr/openwin/lib -R/usr/openwin/lib -lXm -lXaw  -lXmu -lXt -lXpm -lXp
> -lXext -lSM -lICE -lX11 -lsocket  -lnsl    -lsocket -lnsl  -lcurses -ly
> -lm -lelf -lm
> g++ -O2 -g -Wall -W -Wwrite-strings -trigraphs -o ddd ddd.o assert.o
> basename.o compare.o cook.o cwd.o glob.o hash.o home.o isid.o rxclass.o
> sigName.o strclass.o tabs.o uniquify.o Logger.o MemCheck.o PrintGC.o
> SignalB.o TypeInfo.o UniqueId.o IntIntAA.o StatArray.o StringA.o
> StringMap.o StringSA.o StringSAA.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 events.o
> findParent.o findWindow.o fileSBF.o frame.o longName.o selection.o
> verify.o AutoRaise.o Delay.o DeleteWCB.o DestroyCB.o ExitCB.o
> InitImage.o Swallower.o XErrorB.o freeXmST.o LabelH.o LessTifH.o
> MakeMenu.o MString.o ComboBox.o SpinBox.o TextSetS.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 ThemeVSLL.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 decoration.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 java.o logo.o logplayer.o mainloop.o mydialogs.o options.o
> plotter.o post.o print.o question.o regexps.o resolveP.o resources.o
> sashes.o select.o session.o settings.o shell.o shorten.o show.o
> simpleMenu.o source.o status.o string-fun.o tempfile.o tictactoe.o
> tips.o toolbar.o ungrab.o value-read.o vsldoc.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 StringTPA.o ThemeM.o
> ThemeP.o Tool.o UndoBuffer.o UndoBE.o WhatNextCB.o configinfo.o
> -L/opt/pd/lib -L/usr/openwin/lib
> /opt/pd/Programme/lesstif-0.93.36/lib/libXm.so -lXaw -lXmu -lXt -lXpm
> -lXp -lXext -lSM -lICE -lX11 -lsocket -lnsl -lcurses -ly -lelf -lm
> -Wl,-R -Wl,/opt/pd/Programme/lesstif-0.93.36/lib -Wl,-R
> -Wl,/opt/pd/Programme/lesstif-0.93.36/lib -Wl,-R -Wl,/opt/pd/lib -Wl,-R
> -Wl,/usr/openwin/lib
> Undefined               first referenced
>  symbol                     in file
> std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char>
> const&)strclass.o
> __gnu_cxx::__exchange_and_add(int volatile*, int)ddd.o
> std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >::_Rep::_S_empty_rep_storageddd.o
> ld: fatal: Symbol referencing errors. No output written to ddd
> collect2: ld returned 1 exit status
> gmake[2]: *** [ddd] Error 1
> gmake[2]: Leaving directory
> `/localdisk/config3/Downloads/ddd-3.3.9-test2/ddd'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory
> `/localdisk/config3/Downloads/ddd-3.3.9-test2/ddd'
> gmake: *** [all-recursive] Error 1
>
> Anybody know, whether ddd can compiled and linked using gcc-3.4 (and the
> native solaris linker)
>
> Regards,
>                Max
>
> --
>
> "There is no spoon ..." ;-)
>
>
>


----------------------------------------------------------------------------
----


> _______________________________________________
> Ddd mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/ddd
>





reply via email to

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