<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
After having set up /etc/ppc386.cfg to look like this:
<br>-----------------------------------------
<br># Set Filenames and Paths
<br># -----------------------
<p># Slashes are also allowed under dos
<p># path to the messagefile, not necessary anymore but can be used to
override
<br># the default language
<br>#-Fr/usr/lib/fpc/1.0.2/msg/errore.msg
<br>#-Fr/usr/lib/fpc/1.0.2/msg/errorn.msg
<p># searchpath for includefiles
<br>#-Fi/pp/inc;/pp/rtl/inc
<p># searchpath for units and other system dependent things
<br>-Fu/usr/lib/fpc/1.0.2/units/$target
<br>-Fu/usr/lib/fpc/1.0.2/units/$target/*
<br>-Fu/usr/lib/fpc/1.0.2/units/$target/rtl
<br>#-Fu~/fpc/packages/*;~/fpc/rtl/linux
<p># searchpath for libraries
<br>-Fl/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3;/usr/lib;/usr/lib/fpc/1.0.2/units/linux
<br>#-Fl//usr/lib
<br>#-Fl/lib;/usr/lib
<br>----------------------------------------------
<br>I'm getting way to many link errors that look like this:
<p>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
<br>Free Pascal Compiler version 1.0.2 [2000/10/12] for i386
<br>Copyright (c) 1993-2000 by Florian Klaempfl
<br>Target OS: Linux for i386
<br>Compiling objreturn.pp
<br>Assembling objreturn
<br>Linking objreturn
<br>/usr/lib/fpc/1.0.2/units/linux/forms.o: In function `_FORMS$$_FL_SET_BUTTON_SHORTCUT$PFL_OBJECT$PCHAR$LONGINT':
<br>/usr/lib/fpc/1.0.2/units/linux/forms.o(.text+0xd): undefined reference
to `fl_set_object_shortcut'
<br>/usr/lib/fpc/1.0.2/units/linux/forms.o: In function `_FORMS$$_FL_SET_PIXMAPBUTTON_DATA$PFL_OBJECT$PPCHAR':
<br>/usr/lib/fpc/1.0.2/units/linux/forms.o(.text+0x2a): undefined reference
to `fl_set_pixmap_data'
<br>/usr/lib/fpc/1.0.2/units/linux/forms.o: In function `_FORMS$$_FL_SET_PIXMAPBUTTON_FILE$PFL_OBJECT$PCHAR':
<br>/usr/lib/fpc/1.0.2/units/linux/forms.o(.text+0x4a): undefined reference
to `fl_set_pixmap_file'
<p>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.
<p>I'd love to be working in Pascal again. Thanks.
<pre>--
Brian Smith
greybria@direct.ca
<A HREF="http://mypage.direct.ca/g/greybria">http://mypage.direct.ca/g/greybria</A></pre>
</html>