Sign in Join

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

Mailing lists / lazarus / 1999-12

Building problems

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Visage Tech Support

Hello,
I am having two different problems building fpc, lazarus. The first is that when i am trying to build the packages i am having problems with "libgdb" which is not installed on my system. I know that libgdb is an obsolete library not used any more from gdb. The results for the build are:
�
make[1]: Entering directory `/root/src/fpc/packages/gdbint'ppc386 -Fu../rtl/linux -Fu../units/linux -Fllibgdb/linux -Folibgdb/linux -Fl/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -FE. -di386 symify.pp /usr/bin/ld: cannot open -lgdb: No such file or directory And the second is when i am trying to build "lazarus" the truth is that i never managed to build the lazarus from the first time i downloaded the sources from your cvs, with the latest relase i got the following errors: �
make -C lcl allmake[1]: Entering directory
`/root/src/fpc/lazarus/lcl'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/root/src/fpc/lazarus/lcl'ppc386 -Fu../rtl/linux -Fu../units/linux -Fulcl -Fu../fcl/linux -Fu../packages/gtk -Fucomponents/mwedit -Fl/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -Fl/usr/X11R6/lib -Fl/usr/lib -Fl/usr/i486-linux-libc5/lib -Fl/usr/lib/qt-2.0.1/lib -Fl/usr/lib/qt-1.44/lib -FE. -di386 lazarus.pp imglist.o: In function
`_IMGLIST$$_$$_TCUSTOMIMAGELIST_$$_ADDIMAGES$TCUSTOMIMAGELIST':imglist.o(.text+0x1df): undefined reference to `L48'imglist.o(.text+0x1e6): undefined reference to `L49'imglist.o: In function
`_IMGLIST$$_$$_TCUSTOMIMAGELIST_$$_INSERT$INTEGER$TBITMAP$TBITMAP':imglist.o(.text+0x9fd): undefined reference to `L363'imglist.o(.text+0xa04): undefined reference to `L364'imglist.o: In function
`_IMGLIST$$_$$_TCUSTOMIMAGELIST_$$_MOVE$INTEGER$INTEGER':imglist.o(.text+0xc13): undefined reference to `L475'imglist.o(.text+0xc1a): undefined reference to `L476'
�
I am running RedHat 6.1, i have downloaded from cvs on Wed Dec 29 11:51:51 EST 1999 (GTM + 2)
Regards�Nick Ameladiotis�� �Develop Windows Help Files�<A
href="http://www.winhelp.gr">http://www.winhelp.gr�Shareware Registration Services at�<A
href="http://www.v-share.com">http://www.v-share.com

Reply by email

Marc Weustink
to Visage Tech Support

+ From: Visage Tech Support

+ Hello,
+ I am having two different problems building fpc, lazarus.
+ The first is that when i am trying to build the packages i am having problems + with "libgdb" which is not installed on my system.
+ I know that libgdb is an obsolete library not used any more from gdb.
+ The results for the build are:

+ make[1]: Entering directory `/root/src/fpc/packages/gdbint'
+ ppc386 -Fu../rtl/linux -Fu../units/linux -Fllibgdb/linux -Folibgdb/linux -
+ Fl/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -FE. -di386 symify.pp
+ /usr/bin/ld: cannot open -lgdb: No such file or directory

I dont know if the lib is obsolete, it's still distributed, so I suggest to install the latest gtk+-devel (I use gtk+-devel-1.2.6-1)

+ And the second is when i am trying to build "lazarus" the truth is that i
+ never managed to build the lazarus from the first time i downloaded the
+ sources from your cvs, with the latest relase i got the following errors:

[snip errors]

First try to cycle the compiler, or download the latest snapshot, then try again. Lazarus wont compile on old compilers.

+ I am running RedHat 6.1, i have downloaded from cvs on Wed Dec 29
+ 11:51:51 EST 1999 (GTM + 2)

Thats pretty resent ;-)

Marc

Reply by email

Visage Tech Support

Hello,
I am having two different problems building fpc, lazarus. The first is that when i am trying to build the packages i am having problems with "libgdb" which is not installed on my system. I know that libgdb is an obsolete library not used any more from gdb. The results for the build are:

make[1]: Entering directory `/root/src/fpc/packages/gdbint' ppc386 -Fu../rtl/linux -Fu../units/linux -Fllibgdb/linux -Folibgdb/linux -Fl /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -FE. -di386 symify.pp /usr/bin/ld: cannot open -lgdb: No such file or directory

And the second is when i am trying to build "lazarus" the truth is that i never managed to build the lazarus from the first time i downloaded the sources from your cvs, with the latest relase i got the following errors:

make -C lcl all
make[1]: Entering directory `/root/src/fpc/lazarus/lcl' make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/src/fpc/lazarus/lcl' ppc386 -Fu../rtl/linux -Fu../units/linux -Fulcl -Fu../fcl/linux -Fu../packag es/gtk -Fucomponents/mwedit -Fl/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91. 66 -Fl/usr/X11R6/lib -Fl/usr/lib -Fl/usr/i486-linux-libc5/lib -Fl/usr/lib/qt -2.0.1/lib -Fl/usr/lib/qt-1.44/lib -FE. -di386 lazarus.pp imglist.o: In function
`_IMGLIST$$_$$_TCUSTOMIMAGELIST_$$_ADDIMAGES$TCUSTOMIMAGELIST': imglist.o(.text+0x1df): undefined reference to `L48' imglist.o(.text+0x1e6): undefined reference to `L49' imglist.o: In function
`_IMGLIST$$_$$_TCUSTOMIMAGELIST_$$_INSERT$INTEGER$TBITMAP$TBITMAP': imglist.o(.text+0x9fd): undefined reference to `L363' imglist.o(.text+0xa04): undefined reference to `L364' imglist.o: In function
`_IMGLIST$$_$$_TCUSTOMIMAGELIST_$$_MOVE$INTEGER$INTEGER': imglist.o(.text+0xc13): undefined reference to `L475' imglist.o(.text+0xc1a): undefined reference to `L476'

I am running RedHat 6.1, i have downloaded from cvs on Wed Dec 29 11:51:51 EST 1999 (GTM + 2)

Regards
Nick Ameladiotis
Develop Windows Help Files
http://www.winhelp.gr
Shareware Registration Services at
http://www.v-share.com

Reply by email

Stefan Hille
to Visage Tech Support: I am having two different problems building fpc, lazarus. The first is that when i am…
Marc Weustink wrote 16 lines
+ From: Visage Tech Support + Hello, + I am having two different problems building fpc, lazarus. + The first is that when i am trying to build the packages i am having problems + with "libgdb" which is not installed on my system. + I know that libgdb is an obsolete library not used any more from gdb. + The results for the build are: + make[1]: Entering directory `/root/src/fpc/packages/gdbint' + ppc386 -Fu../rtl/linux -Fu../units/linux -Fllibgdb/linux -Folibgdb/linux - + Fl/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -FE. -di386 symify.pp + /usr/bin/ld: cannot open -lgdb: No such file or directory I dont know if the lib is obsolete, it's still distributed, so I suggest to install the latest gtk+-devel (I use gtk+-devel-1.2.6-1)

It's not the gtk-library but the gdb-library which (as far as I know) is used to make debugging work in the ide. To work around the missing lib I'd suggest to compile the the different packages in the packages directory manually.

eg: cd packages
make gtk
make api
make zlib

If this does'nt work you'll have to go in the package directory directly before calling make.

eg: cd packages/gtk
make

bye,

stefan

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email

Marc Weustink
to Stefan Hille

+ From: Stefan Hille

+ On Wed, Dec 29, 1999 at 11:44:51AM +0100, Marc Weustink wrote:
+ > I dont know if the lib is obsolete, it's still distributed,
+ > so I suggest to
+ > install the latest gtk+-devel (I use gtk+-devel-1.2.6-1) +
+ It's not the gtk-library but the gdb-library which (as far as
+ I know) is used to make debugging work in the ide.

gdk or gdb .... all those subtle differences :-)

Marc

Reply by email

Peter Vreman
to Marc Weustink: + From: Visage Tech Support + I am having two different problems building fpc, lazarus. +…
you wrote 35 lines
On Wed, Dec 29, 1999 at 11:44:51AM +0100, Marc Weustink wrote: > + From: Visage Tech Support > > + Hello, > + I am having two different problems building fpc, lazarus. > + The first is that when i am trying to build the packages i am having > problems + with "libgdb" which is not installed on my system. > + I know that libgdb is an obsolete library not used any more from gdb. > + The results for the build are: > > + make[1]: Entering directory `/root/src/fpc/packages/gdbint' > + ppc386 -Fu../rtl/linux -Fu../units/linux -Fllibgdb/linux -Folibgdb/linux - > + Fl/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -FE. -di386 symify.pp > + /usr/bin/ld: cannot open -lgdb: No such file or directory > > I dont know if the lib is obsolete, it's still distributed, so I suggest to > install the latest gtk+-devel (I use gtk+-devel-1.2.6-1) It's not the gtk-library but the gdb-library which (as far as I know) is used to make debugging work in the ide. To work around the missing lib I'd suggest to compile the the different packages in the packages directory manually. eg: cd packages make gtk make api make zlib If this does'nt work you'll have to go in the package directory directly before calling make. eg: cd packages/gtk make

I'll remove the compile of programs when calling make in the packages dir.

Peter

Reply by email