[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with ddd-3.3 using gcc version 3.0 20010402 (prerelease)
From: |
David Ronis |
Subject: |
Problems with ddd-3.3 using gcc version 3.0 20010402 (prerelease) |
Date: |
Fri, 6 Apr 2001 10:51:12 -0400 |
This is probably premature, but I thought I'd pass these results on to
you. I tried building ddd-3.3 on an i686-linux(2.4.3)-glibc(2.2.2)
box using one of the prerelease snapshots of g++-3.0. The build
failed in strclass.C at line 1439, basically because clear didn't like
the type in given to new_state. I changed the declaration to
std::_Ios_Iostate new_state = s.rdstate();
and things compiled.
The build still failed in linking. Here's the log:
/usr/bin/g++ -DNDEBUG -O3 -W -Wall -march=i686 -ffast-math
-funroll-loops -fomit-frame-pointer -fforce-mem -fforce-addr
-malign-jumps=3 -malign-loops=3 -malign-functions=3
-mpreferred-stack-boundary=3 -fpermissive -I/usr/include/g++-v3
-I/usr/include/g++-v3/i686-pc-linux-gnu -trigraphs -o ddd ddd.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
configinfo.o source.o status.o string-fun.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 -L/usr/X11R6/lib
-lXm -lXaw -lXmu -lXt -lXpm -lXp -lXext -lX11 -lSM -lICE -lncurses
-liberty -lm
session.o: In function `std::basic_ios<char, std::char_traits<char>
>::setstate(std::_Ios_Iostate)':
session.o(.text+0x2818): multiple definition of `std::basic_ios<char,
std::char_traits<char> >::setstate(std::_Ios_Iostate)'
ddd.o(.text+0x5218): first defined here
session.o: In function `std::basic_ifstream<char, std::char_traits<char>
>::open(char const*, std::_Ios_Openmode)':
session.o(.text+0x2858): multiple definition of `std::basic_ifstream<char,
std::char_traits<char> >::open(char const*, std::_Ios_Openmode)'
ddd.o(.text+0x153a0): first defined here
BreakPoint.o: In function `DynArray<string>::operator=(DynArray<string>
const&)':
BreakPoint.o(.text+0x5740): multiple definition of
`DynArray<string>::operator=(DynArray<string> const&)'
settings.o(.text+0x163b0): first defined here
DataDisp.o: In function `DynArray<string>::value(int)':
DataDisp.o(.text+0x5be8): multiple definition of `DynArray<string>::value(int)'
buttons.o(.text+0x9b30): first defined here
comm-manag.o: In function `init_session(string const&, string const&, bool)':
comm-manag.o(.text+0x2c5b): the use of `tmpnam' is dangerous, better use
`mkstemp'
collect2: ld returned 1 exit status
make[1]: *** [ddd] Error 1
make[1]: Leaving directory `/home/ronis/ddd-3.3/ddd'
make: *** [all-recursive] Error 1
Compilation exited abnormally with code 2 at Fri Apr 6 10:39:24
- Problems with ddd-3.3 using gcc version 3.0 20010402 (prerelease),
David Ronis <=