[fpc-pascal] Linker problems FPC 2.6.4

Frank McCormick beacon at videotron.ca
Tue Nov 25 17:10:47 CET 2014


On 11/25/2014 03:42 AM, Jonas Maebe wrote:
> On 25/11/14 04:17, Frank McCormick wrote:
>> I am just getting back into Pascal after a number of years -- I
>> installed 2.6.4 from the tarball. To try it out I copied the browser
>> demo (browserall.pp)  into my home directory
>> and tried to compile. The linker complied it could not find -lform. Am I
>> doing something wrong ?
>
> That demo apparently requires that you install the "-dev" version of the
> (Linux/*BSD/...) package that supplies libform.
>
>

    I installed the libform packages but I get this now:

/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/lib/fpc/2.6.4/units/i386-linux/xforms/xforms.o: In function 
`XFORMS_FL_SETPUP_DEFAULT_FONTSIZE$LONGINT$$LONGINT':
xforms.pp:(.text+0x14b): undefined reference to `fl_setpup_fontsize'
/usr/lib/fpc/2.6.4/units/i386-linux/xforms/xforms.o: In function 
`XFORMS_FL_SETPUP_DEFAULT_FONTSTYLE$LONGINT$$LONGINT':
xforms.pp:(.text+0x16b): undefined reference to `fl_setpup_fontstyle'
/usr/lib/fpc/2.6.4/units/i386-linux/xforms/xforms.o: In function 
`XFORMS_FL_SETPUP_DEFAULT_COLOR$LONGINT$LONGINT':
xforms.pp:(.text+0x186): undefined reference to `fl_setpup_color'
browserall.pp(178,1) Error: Error while linking
browserall.pp(178,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not 
specify a source file to be compiled)







More information about the fpc-pascal mailing list