Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-10

Can't compile Latest CVS "Error: Identifier not foundTBYTEARRARY"

12 messages · 7 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marco van de Voort
to George Patterson: Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus…
Show quoted text 6 lines
Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus about 12 hours ago (even though it required a manual prod in the right direction). Now, I am getting the following output as below. OS: FreeBSD 5.0patch7

(Not Lazarus related)

Just a note:
FPC/FreeBSD doesn't formally support 5.x yet.

Reply by email

George Patterson
to George Patterson: Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus…

Thanks Andrew, that fixed it.

Just got a small issue, which I can live with but others might rather see it fixed. This apparently is a FreeBSD issue only, as I understood it from the the IRC chat earlier today/last night.

After typing make the units and objects are compiled then ...
Linking ./lazarus
/usr/bin/ld: cannot find -lglib12
lazarus.pp(352) Error: Error while linking
Closing script ./ppas.sh
gmake[1]: *** [lazarus] Error 1
gmake[1]: Leaving directory `/usr/home/george/downloads/lazarus/lazarus' gmake: *** [ide] Error 2
...

the solutions to that was to add the line
SEARCH_DIR(/usr/local/lib/)
to the top part of link.res.

Question: Why is this path not being added correctly??

George Patterson

Show quoted text 7 lines
looks like Micha removed TByteArray from LCLType, without making sure whether it was being used, or some such. :) I added it back. it should work again. Andrew

Reply by email

George Patterson

Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus about 12 hours ago (even though it required a manual prod in the right direction). Now, I am getting the following output as below.

OS: FreeBSD 5.0patch7
Arch: Intel Celeron
RAM: 256MB

Gtk versions: 1.2.10 2.2.4
fpc version 1.0.10 (Compiled from source).

Thanks..

George Patterson

gmake[3]: Entering directory
`/usr/home/george/downloads/lazarus/lazarus/lcl/int erfaces/gtk'
/bin/rm -f ../../units/gtk/interfaces.ppu
../../units/interfaces.ppu/usr/local/bin/ppc386 -gl -dgtk1 -Fu../../units -Fu. -Fu/usr/local/lib/fpc/1.0.10/units/freebsd/rtl -Fu/usr/local/lib/fpc/1.0.10/units/freebsd/paszlib-Fu/usr/local/lib/fpc /1.0.10/units/freebsd/netdb-Fu/usr/local/lib/fpc/1.0.10/units/freebsd/l ibasync-Fu/usr/local/lib/fpc/1.0.10/units/freebsd/fcl -Fu/usr/local/lib/fpc/1.0.10/units/freebsd/gtk-Fu/usr/local/lib/fpc/1.0 .10/units/freebsd/mysql
-Fu/usr/local/lib/fpc/1.0.10/units/freebsd/ibase-Fu/usr/local/lib/fpc/1 .0.10/units/freebsd/x11-Fu/usr/local/lib/fpc/1.0.10/units/freebsd/opengl -FU../../units/gtk -di386 interfaces.pp
Free Pascal Compiler version 1.0.10[2003/06/27] for i386 Copyright (c) 1993-2003 by Florian Klaempfl Target OS: FreeBSD/ELF for i386 Compiling interfaces.pp
Compiling ./gtkint.pp
Compiling ./gtkmsgqueue.pp
Compiling ./gtkproc.pp
gtkproc.pp(553,96) Warning: cdecl'ared functions have no high parameter gtkcallback.inc(571,27) Error: Identifier not found TBYTEARRAY gtkcallback.inc(590,22) Error: Illegal qualifier
gtkcallback.inc(591,22) Error: Illegal qualifier
gtkcallback.inc(624,33) Error: Illegal qualifier
gtkcallback.inc(624,59) Error: Illegal qualifier
gtkcallback.inc(732,43) Error: Illegal qualifier
gtkcallback.inc(737,66) Error: Illegal qualifier
gtkcallback.inc(764,31) Error: Illegal qualifier
gtkproc.pp(746) Fatal: There were 8 errors compiling module, stopping gmake[3]: *** [interfaces.ppu] Error 1

Reply by email

Marco van de Voort
to George Patterson: Thanks Andrew, that fixed it. Just got a small issue, which I can live with but others…
Show quoted text 19 lines
see it fixed. This apparently is a FreeBSD issue only, as I understood it from the the IRC chat earlier today/last night. After typing make the units and objects are compiled then ... Linking ./lazarus /usr/bin/ld: cannot find -lglib12 lazarus.pp(352) Error: Error while linking Closing script ./ppas.sh gmake[1]: *** [lazarus] Error 1 gmake[1]: Leaving directory `/usr/home/george/downloads/lazarus/lazarus' gmake: *** [ide] Error 2 ... the solutions to that was to add the line SEARCH_DIR(/usr/local/lib/) to the top part of link.res. Question: Why is this path not being added correctly??

FreeBSD itself doesn't add /usr/local paths to any system paths out of security reasons. FPC follows that on FreeBSD.

Reply by email

Andrew Johnson
to George Patterson: Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus…

looks like Micha removed TByteArray from LCLType, without making sure whether it was being used, or some such. :)

I added it back. it should work again.

Andrew

George Patterson wrote 55 lines
Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus about 12 hours ago (even though it required a manual prod in the right direction). Now, I am getting the following output as below. OS: FreeBSD 5.0patch7 Arch: Intel Celeron RAM: 256MB Gtk versions: 1.2.10 2.2.4 fpc version 1.0.10 (Compiled from source). Thanks.. George Patterson gmake[3]: Entering directory `/usr/home/george/downloads/lazarus/lazarus/lcl/int erfaces/gtk' /bin/rm -f ../../units/gtk/interfaces.ppu ../../units/interfaces.ppu/usr/local/bin/ppc386 -gl -dgtk1 -Fu../../units -Fu. -Fu/usr/local/lib/fpc/1.0.10/units/freebsd/rtl -Fu/usr/local/lib/fpc/1.0.10/units/freebsd/paszlib-Fu/usr/local/lib/fpc /1.0.10/units/freebsd/netdb-Fu/usr/local/lib/fpc/1.0.10/units/freebsd/l ibasync-Fu/usr/local/lib/fpc/1.0.10/units/freebsd/fcl -Fu/usr/local/lib/fpc/1.0.10/units/freebsd/gtk-Fu/usr/local/lib/fpc/1.0 .10/units/freebsd/mysql -Fu/usr/local/lib/fpc/1.0.10/units/freebsd/ibase-Fu/usr/local/lib/fpc/1 .0.10/units/freebsd/x11-Fu/usr/local/lib/fpc/1.0.10/units/freebsd/opengl -FU../../units/gtk -di386 interfaces.pp Free Pascal Compiler version 1.0.10[2003/06/27] for i386 Copyright (c) 1993-2003 by Florian Klaempfl Target OS: FreeBSD/ELF for i386 Compiling interfaces.pp Compiling ./gtkint.pp Compiling ./gtkmsgqueue.pp Compiling ./gtkproc.pp gtkproc.pp(553,96) Warning: cdecl'ared functions have no high parameter gtkcallback.inc(571,27) Error: Identifier not found TBYTEARRAY gtkcallback.inc(590,22) Error: Illegal qualifier gtkcallback.inc(591,22) Error: Illegal qualifier gtkcallback.inc(624,33) Error: Illegal qualifier gtkcallback.inc(624,59) Error: Illegal qualifier gtkcallback.inc(732,43) Error: Illegal qualifier gtkcallback.inc(737,66) Error: Illegal qualifier gtkcallback.inc(764,31) Error: Illegal qualifier gtkproc.pp(746) Fatal: There were 8 errors compiling module, stopping gmake[3]: *** [interfaces.ppu] Error 1 _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Vincent Snijders
to George Patterson: Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus…
Show quoted text 7 lines
looks like Micha removed TByteArray from LCLType, without making sure whether it was being used, or some such. :) I added it back. it should work again. Andrew

It is funny to see it the other way around. In the past it happened several times that some changes to the lcl or the gtk interface were made which left the win32 interface incompilable, due to insufficient testing of the other interface(s) before checking in. Now some changes seemed to be tested only in the win32 interfaces and people working with the gtk interface have a problem.

I was about to check the cvs history at
http://www.freepascal.org/cgi-bin/viewcvs.cgi/projects/lazarus/?sortby=date#dirlist to see what files had changed recently, that could have caused this.

How difficult whould be to generate a log file of changes, like the file /fpc/log/rtl.log in the fpc cvs? By what command is it generated?

Regards,
Vincent.

Reply by email

Mattias Gaertner
to George Patterson: Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus…
Show quoted text 38 lines
On Fri, 31 Oct 2003 15:40:39 +0100 (CET) wrote: > > > On Fri, 31 Oct 2003, Vincent Snijders wrote: > > > On Thu, 30 Oct 2003 21:43:10 +0100 > > Mattias Gaertner wrote: > > > > > On Fri, 24 Oct 2003 07:38:21 +0200 (CEST) > > > "Peter Vreman" wrote: > > > > > > > > > > > > How difficult whould be to generate a log file of changes, > > > > > like the file/fpc/log/rtl.log in the fpc cvs? By what command > > > > > is it generated? > > > > > > > > http://www.red-bean.com/cvs2cl/ > > > > > > Added. > > > > > > > > > Mattias > > How often is the ChangeLog in the lazarus directory regenerated. I > > think fpc has an hourly cron job to do so, but lazarus ChangeLog > > hasn't been updated since creation. > > There is a Changes.lazarus file in the logs repository. > It is updated every hour. > > Michael. > Thanks, Michael. Mattias, IMHO the out of date ChangeLog file in the lazarus directory should be deleted, since there is a hourly updated file in the logs repositry.

Make sense.

Mattias

Reply by email

Vincent Snijders
to George Patterson: Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus…
Show quoted text 14 lines
On Fri, 24 Oct 2003 07:38:21 +0200 (CEST) "Peter Vreman" wrote: > > > How difficult whould be to generate a log file of changes, like > > the file/fpc/log/rtl.log in the fpc cvs? By what command is it > > generated? > > http://www.red-bean.com/cvs2cl/ Added. Mattias

How often is the ChangeLog in the lazarus directory regenerated. I think fpc has an hourly cron job to do so, but lazarus ChangeLog hasn't been updated since creation.

Vincent.

Reply by email

Vincent Snijders
to George Patterson: Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus…
Show quoted text 30 lines
On Fri, 31 Oct 2003, Vincent Snijders wrote: > On Thu, 30 Oct 2003 21:43:10 +0100 > Mattias Gaertner wrote: > > > On Fri, 24 Oct 2003 07:38:21 +0200 (CEST) > > "Peter Vreman" wrote: > > > > > > > > > How difficult whould be to generate a log file of changes, > > > > like the file/fpc/log/rtl.log in the fpc cvs? By what command > > > > is it generated? > > > > > > http://www.red-bean.com/cvs2cl/ > > > > Added. > > > > > > Mattias > How often is the ChangeLog in the lazarus directory regenerated. I > think fpc has an hourly cron job to do so, but lazarus ChangeLog > hasn't been updated since creation. There is a Changes.lazarus file in the logs repository. It is updated every hour. Michael.

Thanks, Michael.

Mattias, IMHO the out of date ChangeLog file in the lazarus directory should be deleted, since there is a hourly updated file in the logs repositry.

Vincent

Reply by email

Unknown author
to George Patterson: Hi All: I am having trouble compiling Lazarus from CVS. I did sucessfully compile Lazarus…
Vincent Snijders wrote 20 lines
On Thu, 30 Oct 2003 21:43:10 +0100 Mattias Gaertner wrote: > On Fri, 24 Oct 2003 07:38:21 +0200 (CEST) > "Peter Vreman" wrote: > > > > > > How difficult whould be to generate a log file of changes, like > > > the file/fpc/log/rtl.log in the fpc cvs? By what command is it > > > generated? > > > > http://www.red-bean.com/cvs2cl/ > > Added. > > > Mattias How often is the ChangeLog in the lazarus directory regenerated. I think fpc has an hourly cron job to do so, but lazarus ChangeLog hasn't been updated since creation.

There is a Changes.lazarus file in the logs repository. It is updated every hour.

Michael.

Reply by email