[lazarus] Missing makefile.fpc

Cliff Baeseman vbman at pcpros.net
Thu May 6 21:55:46 EDT 1999


You have it just do what I say below and you will be in business I believe.....

Cliff


Michael Anthon wrote:

> Hmmm.... OK, now I am starting to feel stupid 8^)
>
> I put the latest snapshot of the compiler in by following the instructions
> on the page, ie, making /usr/lib/fpc/0.99.11/linuxunits and putting the new
> rtl units in there.  Then modified /etc/ppc386.cfg, adding these lines...
>         #IFDEF VER0_99_11
>                 -Fu/usr/lib/fpc/0.99.11/linuxunits
>         #ENDIF
> Then overwrote the /usr/bin/ppc386 with the new one.  I still get almost the
> same result when trying to compile gtk
>
> Here is a directory listing immediately after unpacking gtk.zip
>
> bash> ls -l
> total 11
> -rw-r--r--   1 root     root         2996 Mar 16 01:47 Makefile
> -rw-r--r--   1 root     root         2500 Jan 28 20:40 README
> drwxr-xr-x   2 root     root         1024 Apr  1 01:02 examples
> drwxr-xr-x   3 root     root         1024 Apr  1 01:02 gdk
> drwxr-xr-x   2 root     root         1024 Apr  1 01:02 glade
> drwxr-xr-x   3 root     root         2048 Apr  1 01:02 gtk
>
> And then immediately after running make....
>
> bash> ls -l
> total 572
> -rw-r--r--   1 root     root         2996 Mar 16 01:47 Makefile
> -rw-r--r--   1 root     root         2500 Jan 28 20:40 README
> drwxr-xr-x   2 root     root         1024 Apr  1 01:02 examples
> drwxr-xr-x   3 root     root         1024 Apr  1 01:02 gdk
> -rw-r--r--   1 root     root       158129 May  7 11:19
> gdk.ppu                  <-----copy to linux units
> drwxr-xr-x   2 root     root         1024 Apr  1 01:02 glade
> -rw-r--r--   1 root     root        36684 May  7 11:19
> glib.ppu                   <-----copy to linux units
> drwxr-xr-x   3 root     root         2048 Apr  1 01:02 gtk
> -rw-r--r--   1 root     root        28680 May  7 11:19
> gtk.o                        <-----copy to linux units
> -rw-r--r--   1 root     root       340522 May  7 11:19
> gtk.ppu                   <-----copy to linux units
> -rw-r--r--   1 root     root         1996 May  7 11:19 make.out.txt
>

---------------------------------------------------------------

Every thing is built correctly just copy the ppu and o files to the linuxunits
.   noted above

Then try to compile one of the gtk examples by doing  ppc386  <example>.pp

If you can do this all is cool ;)

Then just do the same in the lazarus directory ppc386 lazarus.pp

----------------------------------------------------------------


>
> make.out.txt is (obviously) the output from the make command and is included
> following my sig so as not to clutter the mail TOO much.  It seems that for
> some reason I have not been able to fathom yet that glib.o and gdk.o do not
> get built.
>
> Cheers
> Michael Anthon
>
> Output of make....
>
> ppc386 -Tlinux   -Fu../rtl/linux -Fu../units/linux -FE.  -di386 gdk/glib.pp
> Free Pascal Compiler version 0.99.11 [1999/05/05] for i386
> Copyright (c) 1993-98 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling gdk/glib.pp
> glib.pp(379,44) Note: only values can be jumped over in enumeration types
> glib.pp(381,44) Note: only values can be jumped over in enumeration types
> glib.pp(382,44) Note: only values can be jumped over in enumeration types
> 663 Lines compiled, 1.0 sec
> ppc386 -Tlinux   -Fu../rtl/linux -Fu../units/linux -FE.  -di386 gdk/gdk.pp
> Free Pascal Compiler version 0.99.11 [1999/05/05] for i386
> Copyright (c) 1993-98 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling gdk/gdk.pp
> 6228 Lines compiled, 2.0 sec
> ppc386 -Tlinux   -Fu../rtl/linux -Fu../units/linux -FE.  -di386 gtk/gtk.pp
> Free Pascal Compiler version 0.99.11 [1999/05/05] for i386
> Copyright (c) 1993-98 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling gtk/gtk.pp
> gtkobjects.pp(585,7) Warning: Function result does not seem to be set
> gtkobjects.pp(582,31) Hint: Parameter not used A
> gtkobjects.pp(589,7) Warning: Function result does not seem to be set
> gtkobjects.pp(586,32) Hint: Parameter not used A
> gtkobjects.pp(593,7) Warning: Function result does not seem to be set
> gtkobjects.pp(590,32) Hint: Parameter not used A
> gtkobjects.pp(597,7) Warning: Function result does not seem to be set
> gtkobjects.pp(594,30) Hint: Parameter not used A
> gtkobjects.pp(601,7) Warning: Function result does not seem to be set
> gtkobjects.pp(598,31) Hint: Parameter not used A
> gtkobjects.pp(609,7) Warning: Function result does not seem to be set
> gtkobjects.pp(606,32) Hint: Parameter not used A
> gtkobjects.pp(613,7) Warning: Function result does not seem to be set
> gtkobjects.pp(610,33) Hint: Parameter not used A
> gtksignal.pp(111,1) Warning: Function result does not seem to be set
> gtksignal.pp(108,28) Hint: Parameter not used T
> gtksignal.pp(108,30) Hint: Parameter not used F
> Assembling gtk
> 26381 Lines compiled, 7.0 sec
>
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject






More information about the Lazarus mailing list