[Lazarus] Errors while linking
Leonardo M. Ramé
l.rame at griensu.com
Thu Jun 19 16:49:46 CEST 2014
Hi People, while trying to compile an app that uses BGRabitmap I've got
many linking errors when compiling with debugging information enabled.
I'm using Lazarus and FPC from trunk (updated today) on a Ubuntu 12.04
64bit machine.
Here's the output with errors:
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/main.o: In function `.La4':
main.pas:(.debug_info+0x16e): undefined reference to `DBG2_$ACTNLIST_$$_TAction'
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/main.o: In function `.La5':
main.pas:(.debug_info+0x1dc): undefined reference to `DBG2_$FORMS_$$_TForm'
main.pas:(.debug_info+0x1f0): undefined reference to `DBG_$ACTNLIST_$$_TAction'
main.pas:(.debug_info+0x204): undefined reference to `DBG_$ACTNLIST_$$_TAction'
main.pas:(.debug_info+0x216): undefined reference to `DBG_$ACTNLIST_$$_TAction'
main.pas:(.debug_info+0x22c): undefined reference to `DBG_$ACTNLIST_$$_TAction'
main.pas:(.debug_info+0x23d): undefined reference to `DBG_$ACTNLIST_$$_TAction'
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/main.o:main.pas:(.debug_info+0x252): more undefined references to `DBG_$ACTNLIST_$$_TAction' follow
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/main.o: In function `.La5':
main.pas:(.debug_info+0x49b): undefined reference to `DBG_$MENUS_$$_TMenuItem'
main.pas:(.debug_info+0x4ac): undefined reference to `DBG_$MENUS_$$_TMenuItem'
main.pas:(.debug_info+0x4bf): undefined reference to `DBG_$MENUS_$$_TMenuItem'
main.pas:(.debug_info+0x4d2): undefined reference to `DBG_$MENUS_$$_TMenuItem'
main.pas:(.debug_info+0x4e5): undefined reference to `DBG_$MENUS_$$_TMenuItem'
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/main.o:main.pas:(.debug_info+0x4f9): more undefined references to `DBG_$MENUS_$$_TMenuItem' follow
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/main.o: In function `.La5':
main.pas:(.debug_info+0x50c): undefined reference to `DBG_$EXTCTRLS_$$_TSplitter'
main.pas:(.debug_info+0x522): undefined reference to `DBG_$COMCTRLS_$$_TToolButton'
main.pas:(.debug_info+0x538): undefined reference to `DBG_$COMCTRLS_$$_TToolButton'
main.pas:(.debug_info+0x54e): undefined reference to `DBG_$COMCTRLS_$$_TToolButton'
main.pas:(.debug_info+0x561): undefined reference to `DBG_$MENUS_$$_TPopupMenu'
main.pas:(.debug_info+0x575): undefined reference to `DBG_$CONTROLS_$$_TImageList'
main.pas:(.debug_info+0x588): undefined reference to `DBG_$MENUS_$$_TMenuItem'
main.pas:(.debug_info+0x59c): undefined reference to `DBG_$MENUS_$$_TMenuItem'
main.pas:(.debug_info+0x5b0): undefined reference to `DBG_$MENUS_$$_TMenuItem'
main.pas:(.debug_info+0x5c4): undefined reference to `DBG_$MENUS_$$_TMenuItem'
main.pas:(.debug_info+0x5d8): undefined reference to `DBG_$MENUS_$$_TMenuItem'
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/main.o:main.pas:(.debug_info+0x5ec): more undefined references to `DBG_$MENUS_$$_TMenuItem' follow
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/main.o: In function `.La5':
main.pas:(.debug_info+0x78f): undefined reference to `DBG_$MENUS_$$_TPopupMenu'
main.pas:(.debug_info+0x7a4): undefined reference to `DBG_$DIALOGS_$$_TSaveDialog'
main.pas:(.debug_info+0x7be): undefined reference to `DBG_$EXTCTRLS_$$_TTimer'
main.pas:(.debug_info+0x7d6): undefined reference to `DBG_$ACTNLIST_$$_TActionList'
main.pas:(.debug_info+0x7eb): undefined reference to `DBG_$DIALOGS_$$_TOpenDialog'
main.pas:(.debug_info+0x7fd): undefined reference to `DBG_$COMCTRLS_$$_TToolBar'
main.pas:(.debug_info+0x80e): undefined reference to `DBG_$COMCTRLS_$$_TToolButton'
main.pas:(.debug_info+0x81e): undefined reference to `DBG_$COMCTRLS_$$_TToolButton'
main.pas:(.debug_info+0x836): undefined reference to `DBG_$COMCTRLS_$$_TToolButton'
main.pas:(.debug_info+0x84b): undefined reference to `DBG_$COMCTRLS_$$_TToolButton'
main.pas:(.debug_info+0x861): undefined reference to `DBG_$COMCTRLS_$$_TToolButton'
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/main.o:main.pas:(.debug_info+0x877): more undefined references to `DBG_$COMCTRLS_$$_TToolButton' follow
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/main.o: In function `.La5':
main.pas:(.debug_info+0x9b0): undefined reference to `DBG_$ACTNLIST_$$_TActionList'
main.pas:(.debug_info+0x1547): undefined reference to `DBG_$FORMS_$$_TCloseAction'
main.pas:(.debug_info+0x1596): undefined reference to `DBG_$MENUS_$$_TMenuItem'
main.pas:(.debug_info+0x19fa): undefined reference to `DBG_$LCLTYPE_$$_THandle'
main.pas:(.debug_info+0x1ba0): undefined reference to `DBG_$GRAPHTYPE_$$_TGraphicsColor'
main.pas:(.debug_info+0x1bab): undefined reference to `DBG_$GRAPHTYPE_$$_TGraphicsColor'
main.pas:(.debug_info+0x1f43): undefined reference to `DBG_$FORMS_$$_TCloseAction'
main.pas:(.debug_info+0x2253): undefined reference to `DBG_$MENUS_$$_TMenuItem'
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/drawer.o: In function `.La4':
drawer.pas:(.debug_info+0x2b8): undefined reference to `DBG_$CONTROLS_$$_TMouseWheelEvent'
drawer.pas:(.debug_info+0x3d0): undefined reference to `DBG_$FORMS_$$_THintWindow'
drawer.pas:(.debug_info+0x4b4): undefined reference to `DBG_$CONTROLS_$$_TMouseWheelEvent'
drawer.pas:(.debug_info+0x6b3): undefined reference to `DBG_$CONTROLS_$$_TMouseButton'
drawer.pas:(.debug_info+0x829): undefined reference to `DBG_$CONTROLS_$$_TMouseButton'
drawer.pas:(.debug_info+0xd66): undefined reference to `DBG_$CONTROLS_$$_TAlign'
drawer.pas:(.debug_info+0xefa): undefined reference to `DBG_$CONTROLS_$$_TDragState'
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/series.o: In function `.La67':
series.pas:(.debug_info+0x80ec): undefined reference to `DBG2_$EXTCTRLS_$$_TPaintBox'
series.pas:(.debug_info+0x81e6): undefined reference to `DBG_$CONTROLS_$$_TMouseButton'
series.pas:(.debug_info+0x8230): undefined reference to `DBG_$CONTROLS_$$_TMouseButton'
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/layout.o: In function `.La2':
layout.pas:(.debug_info+0x264): undefined reference to `DBG_$EXTCTRLS_$$_TPaintBox'
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/layout.o: In function `.La6':
layout.pas:(.debug_info+0x818): undefined reference to `DBG_$CONTROLS_$$_TMouseWheelEvent'
layout.pas:(.debug_info+0x876): undefined reference to `DBG_$EXTCTRLS_$$_TPanel'
layout.pas:(.debug_info+0x887): undefined reference to `DBG_$CONTROLS_$$_TControl'
layout.pas:(.debug_info+0xa66): undefined reference to `DBG_$CONTROLS_$$_TControl'
layout.pas:(.debug_info+0xacd): undefined reference to `DBG_$EXTCTRLS_$$_TPanel'
layout.pas:(.debug_info+0xafe): undefined reference to `DBG_$CONTROLS_$$_TMouseWheelEvent'
layout.pas:(.debug_info+0x120b): undefined reference to `DBG_$CONTROLS_$$_TWinControl'
layout.pas:(.debug_info+0x134f): undefined reference to `DBG_$EXTCTRLS_$$_TPaintBox'
layout.pas:(.debug_info+0x15a9): undefined reference to `DBG_$CONTROLS_$$_TCursor'
/home/leonardo/Desarrollo/griensu/GViewerIII/lib/x86_64-linux/dlglayout.o: In function `.La1':
dlglayout.pas:(.debug_info+0xa3): undefined reference to `DBG2_$FORMS_$$_TForm'
dlglayout.pas:(.debug_info+0xb9): undefined reference to `DBG_$BUTTONPANEL_$$_TButtonPanel'
dlglayout.pas:(.debug_info+0xcb): undefined reference to `DBG_$STDCTRLS_$$_TGroupBox'
dlglayout.pas:(.debug_info+0xdd): undefined reference to `DBG_$STDCTRLS_$$_TGroupBox'
dlglayout.pas:(.debug_info+0xf3): undefined reference to `DBG_$BUTTONS_$$_TSpeedButton'
dlglayout.pas:(.debug_info+0x10a): undefined reference to `DBG_$BUTTONS_$$_TSpeedButton'
....
more similar errors
....
Regards,
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list