[fpc-pascal] Linking error using 64bit compiler, but not for 32bit compiler

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Nov 24 13:42:35 CET 2008


Hi,

When I compile one of my projects I get the following compiler/linking
error.  Any idea what causes this?  If got the exact same FPC 2.2.3
revision for a 32bit system and a 64bit system. Under the 32bit
system, everything compiles perfectly. Under the 64bit system, I get
the following error.


------------------------------------
[....snip.....]
frm_preferences.pas(10,48) Hint: Unit "fpg_grid" not used in frm_preferences
frm_preferences.pas(11,38) Hint: Unit "fpg_tree" not used in frm_preferences
frm_preferences.pas(11,52) Hint: Unit "fpg_trackbar" not used in frm_preferences
frm_preferences.pas(12,18) Hint: Unit "fpg_progressbar" not used in
frm_preferences
frm_preferences.pas(12,35) Hint: Unit "fpg_radiobutton" not used in
frm_preferences
frm_timetable.pas(40,66) Hint: Parameter "ARow" not used
frm_timetable.pas(38,58) Hint: Parameter "AButton" not used
frm_timetable.pas(38,81) Hint: Parameter "AShift" not used
frm_timetable.pas(222,3) Note: Local variable "lCanvas" not used
frm_timetable.pas(37,61) Hint: Parameter "ARow" not used
frm_timetable.pas(37,111) Hint: Parameter "AFlags" not used
/home/graemeg/programming/mastermaths/m2system_v3/Source/UserViews.pas(21,32)
Hint: Parameter "AValue" not used
/home/graemeg/programming/mastermaths/m2system_v3/Source/UserViews.pas(67,3)
Note: Local variable "lMin" not used
/home/graemeg/programming/mastermaths/m2system_v3/Source/UserViews.pas(67,9)
Note: Local variable "lMax" not used
/usr/bin/ld: Dwarf Error: Can't find .debug_abbrev section.
/home/graemeg/programming/fpgui/lib/x86_64-linux/libpfpg_base.a(fpg_base0s411.o):(.debug_info+0x6):
undefined reference to `.Ldebug_abbrev0'
/home/graemeg/programming/fpgui/lib/x86_64-linux/libpfpg_base.a(fpg_base0s411.o):(.debug_info+0x6c):
undefined reference to `.Ldebug_line0'
/home/graemeg/programming/fpgui/lib/x86_64-linux/libpfpg_base.a(fpg_base0s411.o):(.debug_info+0x70):
undefined reference to `.Ltext0'
/home/graemeg/programming/fpgui/lib/x86_64-linux/libpfpg_base.a(fpg_base0s411.o):(.debug_info+0x78):
undefined reference to `.Letext0'
/home/graemeg/programming/fpgui/lib/x86_64-linux/libpfpg_base.a(fpg_base0s411.o):(.debug_info+0x2b90):
undefined reference to `.Lt1'
/home/graemeg/programming/fpgui/lib/x86_64-linux/libpfpg_base.a(fpg_base0s411.o):(.debug_info+0x2c13):
undefined reference to `.Lt2'
[......snip......]
tutoradmin.lpr(115,1) Error: Error while linking
tutoradmin.lpr(115,1) Fatal: There were 1 errors compiling module, stopping
-------------------------------------------


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list