[fpc-pascal]Link Errors on FPC examples.

Brian & Colleen greybria at direct.ca
Thu Nov 2 05:49:44 CET 2000

After having set up /etc/ppc386.cfg to look like this:
# Set Filenames and Paths
# -----------------------

# Slashes are also allowed under dos

# path to the messagefile, not necessary anymore but can be used to
# the default language

# searchpath for includefiles

# searchpath for units and other system dependent things

# searchpath for libraries

I'm getting way to many link errors that look like this:

ppc386 -Fu/usr/lib/fpc/1.0.2/units/linux/rtl
-Fu/usr/lib/fpc/1.0.2/units/linux -Fl/usr/lib -Fl/usr/X11R6/lib
-Fl/usr/i486-linux-libc5/lib -di386 objreturn.pp
Free Pascal Compiler version 1.0.2 [2000/10/12] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling objreturn.pp
Assembling objreturn
Linking objreturn
/usr/lib/fpc/1.0.2/units/linux/forms.o: In function
/usr/lib/fpc/1.0.2/units/linux/forms.o(.text+0xd): undefined reference
to `fl_set_object_shortcut'
/usr/lib/fpc/1.0.2/units/linux/forms.o: In function
/usr/lib/fpc/1.0.2/units/linux/forms.o(.text+0x2a): undefined reference
to `fl_set_pixmap_data'
/usr/lib/fpc/1.0.2/units/linux/forms.o: In function
/usr/lib/fpc/1.0.2/units/linux/forms.o(.text+0x4a): undefined reference
to `fl_set_pixmap_file'

What specific libraries/units should I be setting up to be looked at so
the examples will link. So far I've been totally unsuccessful. My
background is TP6/Delphi 3 where everything was in the Unit files.

I'd love to be working in Pascal again. Thanks.

 Brian Smith
 greybria at direct.ca

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20001101/d5e29114/attachment.html>

More information about the fpc-pascal mailing list