Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Undefined reference to inherited interface
Undefined reference to inherited interface [message #233353] Tue, 28 April 2009 07:09
Eclipse UserFriend
Hi to all,

I experience the following problem with Eclipse CDT 3.3.2 and C/C++ plugin
4.0.3

I have to do the porting of a project (developped under windows with
VisualC++) to eclipse cdt under linux (suse 10)

After lots and lots of attempts I managed to import the sources give the
right paths of source files and link the libraries.I'm using the automatic
make file of the eclipse cdt.

So building went on fine. While linking stops with a strange error to the
heritage of an interface with the following error message.

**** Build of configuration Release for project ReportToolExe ****

make all
Building target: ReportToolExe
Invoking: GCC C++ Linker
g++ -L/opt/tools/1.26.2/lib/suse9.1-gcc3_p4
-L/opt/tools/QT/xerces-c_2_8_0-x86-linux-gcc_3_4/lib
-L/opt/tools/QT/qt-x11-eval-src-4.4.3/lib -L/opt/tools/fltk-1.1.0/lib
-o"ReportToolExe" ./ReportingMessages/ReportingMessages.o
/ReportingGUI/BufferTriggerEditor.o ./ReportingGUI/ClientItem.o
/ReportingGUI/ClientList.o ./ReportingGUI/ClientPropertiesEditor.o
/ReportingGUI/ClientPropertyFilters.o ./ReportingGUI/ClientsTab.o
/ReportingGUI/ConfigChooser.o ./ReportingGUI/ConfigDisplay.o
/ReportingGUI/ConfigTab.o ./ReportingGUI/FiltersTab.o
/ReportingGUI/GeneralPropertiesEditor.o
/ReportingGUI/GlobalOutputDestinationEditor.o ./ReportingGUI/GroupItem.o
/ReportingGUI/GroupList.o ./ReportingGUI/GroupPropertiesEditor.o
/ReportingGUI/HelpViewer.o ./ReportingGUI/ListManager.o
/ReportingGUI/ReportingGUI.o ./ReportingGUI/Resources.o
/ReportingGUI/ResultDisplay.o ./ReportingGUI/TristateCheckBox.o
/ReportingGUI/UpdateThread.o ./ReportingGUI/main.o
/ReportingGUI/generatedfiles/release/moc_BufferTriggerEditor .o
/ReportingGUI/generatedfiles/release/moc_ClientList.o
/ReportingGUI/generatedfiles/release/moc_ClientPropertiesEdi tor.o
/ReportingGUI/generatedfiles/release/moc_ConfigChooser.o
/ReportingGUI/generatedfiles/release/moc_GeneralPropertiesEd itor.o
/ReportingGUI/generatedfiles/release/moc_GlobalOutputDestina tionEditor.o
/ReportingGUI/generatedfiles/release/moc_GroupList.o
/ReportingGUI/generatedfiles/release/moc_GroupPropertiesEdit or.o
/ReportingGUI/generatedfiles/release/moc_ReportingGUI.o
/ReportingGUI/generatedfiles/release/moc_ResultDisplay.o
/ReportingGUI/generatedfiles/release/moc_TristateCheckBox.o
/Reporting/Test/ReportingTestLibrary.o
/Reporting/Test/ReportingTestThread.o ./Reporting/Protocol/RecvThread.o
/Reporting/Protocol/ReportingByteReader.o
/Reporting/Protocol/ReportingByteWriter.o
/Reporting/Protocol/SendThread.o ./Reporting/OutputDevice/Clipboard.o
/Reporting/OutputDevice/ConsoleOutputDevice.o
/Reporting/OutputDevice/CyclicBuffer.o
/Reporting/OutputDevice/FileOutputDevice.o
/Reporting/OutputDevice/OutputDeviceException.o
/Reporting/OutputDevice/OutputThread.o
/Reporting/OutputDevice/OutputThreadException.o
/Reporting/OutputDevice/WindowControl.o
/Reporting/OutputDevice/WindowOutputDevice.o
/Reporting/Master/CheckActiveThread.o ./Reporting/Master/CommThread.o
/Reporting/Master/Config.o ./Reporting/Master/Messages.o
/Reporting/Master/ReportingServerDefinitions.o
/Reporting/Implementation/CLErrorHandler.o
/Reporting/Implementation/Error.o ./Reporting/Implementation/Reporting.o
/Reporting/Implementation/ReportingC.o
/Reporting/Implementation/ReportingDummyImpl.o
/Reporting/Implementation/ReportingImpl.o
/Reporting/Implementation/ReportingProxyImpl.o
/Definitions/ReportingDefs.o ./Configuration/FileSystem.o
/Configuration/ReportingCfg.o ./Configuration/XMLConfigurationFile.o
/CommonFile/ClientHandler.o ./CommonFile/ClientsFile.o
/CommonFile/CommonFileFacade.o ./CommonFile/ControlFile.o
/CommonFile/ControlHandler.o ./CommonFile/DefaultProperties.o
/CommonFile/UpdatingData.o ./CommonFile/XMLPersistence.o
/CommonDataInterface/CommonDataException.o
/CommonDataInterface/CommonDataTypes.o -lcommon -lxerces-c
-lxerces-depdom -lQtGui -lQtCore -lfltk -lfltk_forms -lfltk_gl
-lfltk_images
/Reporting/Implementation/ReportingImpl.o: In function
`Reporting::deleteInstance()':
ReportingImpl.cpp:(.text+0x160): multiple definition of
`Reporting::deleteInstance()'
/Reporting/Implementation/ReportingDummyImpl.o:ReportingDumm yImpl.cpp:(.text+0xb0):
first defined here
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-lin ux/bin/ld:
Warning: size of symbol `Reporting::deleteInstance()' changed from 104 in
/Reporting/Implementation/ReportingDummyImpl.o to 105 in
/Reporting/Implementation/ReportingImpl.o
/Reporting/Implementation/ReportingImpl.o: In function
`Reporting::instance()':
ReportingImpl.cpp:(.text+0x96a0): multiple definition of
`Reporting::instance()'
/Reporting/Implementation/ReportingDummyImpl.o:ReportingDumm yImpl.cpp:(.text+0x900):
first defined here
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-lin ux/bin/ld:
Warning: size of symbol `Reporting::instance()' changed from 146 in
/Reporting/Implementation/ReportingDummyImpl.o to 147 in
/Reporting/Implementation/ReportingImpl.o
/Reporting/Implementation/ReportingProxyImpl.o: In function
`Reporting::deleteInstance()':
ReportingProxyImpl.cpp:(.text+0x440): multiple definition of
`Reporting::deleteInstance()'
/Reporting/Implementation/ReportingDummyImpl.o:ReportingDumm yImpl.cpp:(.text+0xb0):
first defined here
/Reporting/Implementation/ReportingProxyImpl.o: In function
`Reporting::instance()':
ReportingProxyImpl.cpp:(.text+0xdc0): multiple definition of
`Reporting::instance()'
/Reporting/Implementation/ReportingDummyImpl.o:ReportingDumm yImpl.cpp:(.text+0x900):
first defined here
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-lin ux/bin/ld:
Warning: size of symbol `Reporting::instance()' changed from 147 in
/Reporting/Implementation/ReportingDummyImpl.o to 153 in
/Reporting/Implementation/ReportingProxyImpl.o
/Reporting/OutputDevice/WindowControl.o: In function
`WindowControl::waitUntilReceived(CL::Message*)':
WindowControl.cpp:(.text+0x36): undefined reference to `Fl::awake(void*)'
WindowControl.cpp:(.text+0x56): undefined reference to `Fl::awake(void*)'
/Reporting/OutputDevice/WindowControl.o: In function
`WindowControl::threadCode()':
WindowControl.cpp:(.text+0x1d0): undefined reference to `Fl::lock()'
WindowControl.cpp:(.text+0x24c): undefined reference to `Fl::unlock()'
/Reporting/OutputDevice/WindowControl.o: In function
`WindowControl::destroyWindow(WindowOutputDevice&)':
WindowControl.cpp:(.text+0x6ce): undefined reference to `Fl::awake(void*)'
WindowControl.cpp:(.text+0x6f4): undefined reference to `Fl::awake(void*)'
/Reporting/OutputDevice/WindowControl.o: In function
`WindowControl::createWindow(WindowOutputDevice&)':
WindowControl.cpp:(.text+0x78e): undefined reference to `Fl::awake(void*)'
WindowControl.cpp:(.text+0x7b4): undefined reference to `Fl::awake(void*)'
/Reporting/OutputDevice/WindowControl.o: In function
`WindowControl::~WindowControl()':
WindowControl.cpp:(.text+0x9cd): undefined reference to `Fl::awake(void*)'
/Reporting/OutputDevice/WindowControl.o:WindowControl.cpp:(. text+0x9e7):
more undefined references to `Fl::awake(void*)' follow
/Reporting/OutputDevice/WindowOutputDevice.o: In function
`WindowOutputDevice::write(char*, unsigned int, bool)':
WindowOutputDevice.cpp:(.text+0x1ca1): undefined reference to `Fl::lock()'
WindowOutputDevice.cpp:(.text+0x1d56): undefined reference to
`Fl::unlock()'
WindowOutputDevice.cpp:(.text+0x1d62): undefined reference to
`Fl::awake(void*)'
collect2: ld returned 1 exit status
make: *** [ReportToolExe] Error 1



Does anyone have any hint.
I'm stack and cannot go on.
Any help soul be apreciated

Thanks in Advance
Mandy
Previous Topic:Undefined reference to inherited interface
Next Topic:Map error message path to source file in problems view
Goto Forum:
  


Current Time: Mon Jun 09 06:53:18 EDT 2025

Powered by FUDForum. Page generated in 0.05398 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top