Sign in Join

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

Mailing lists / lazarus / 2003-07

one error in ld

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Armando Paz

Hello.

I am new in this list. I have downloaded Lazarus 0.8.5 for debian. I have downloaded and installed this packages:

[(admorum) ~/Programacion/Lazarus/bin]> ls
fpc_debs_1.0.7-laz.20030301_i386.tgz*
lazarus-0.8.5.3-fpc_1.0.7_laz.20030301.deb*
fpcsrc-1.0.7-laz.20030301.deb*

But, when I try to "run" the "project1" I get next error:

[(admorum) ~]> NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults NOTE: codetools config file not found - using defaults TMainIDE.DoNewProject A
TMainIDE.DoNewEditorFile A NewFilename=
TPascalParserTool.BuildTree B OnlyIntf=FALSE project1.lpr [TCustomFormEditor.CreateComponent] Class='TFORM'
TPascalParserTool.BuildTree B OnlyIntf=FALSE project1.lpr TMainIDE.DoNewEditorFile end unit1.pas
TMainIDE.DoNewProject end 0
[TMainIDE.DoRunProject] A
TMainIDE.DoSaveProject A SaveAs=FALSE SaveToTestDir=TRUE TPascalParserTool.BuildTree B OnlyIntf=FALSE unit1.pas TMainIDE.DoSaveProject End
[TCompiler.Compile] CmdLine="/usr/bin/ppc386 -Rintel -S2cgi -CD -Ch8000000 -OG1p1 -Tlinux -gl -XD -vewnhi -l
-Fu/usr/share/lazarus//lcl/units -Fu/usr/share/lazarus//lcl/units/gtk /tmp/project1.lpr"
TOutputFilter: "Hint: Start of reading config file /etc/fpc.cfg" TOutputFilter: "Hint: End of reading config file /etc/fpc.cfg" TOutputFilter: "Free Pascal Compiler version 1.0.7 [2003/04/09] for i386"
TOutputFilter: "Copyright (c) 1993-2003 by Florian Klaempfl" TOutputFilter: "Target OS: Linux for i386"
TOutputFilter: "Compiling /tmp/project1.lpr"
TOutputFilter: "syslinux.pp(5,1) Hint: Conditional I386 was set at startup in last compilation of syslinux.pp"
TOutputFilter: "linux.pp(6,13) Hint: Conditional I386 was set at startup in last compilation of linux.pp"
TOutputFilter: "math.pp(6,13) Hint: Conditional I386 was set at startup in last compilation of math.pp"
TOutputFilter: "gtkint.pp(6,13) Hint: Conditional GTK1 was set at startup in last compilation of gtkint.pp"
TOutputFilter: "Compiling unit1.pas"
TOutputFilter: "Assembling unit1"
TOutputFilter: "Assembling project1"
TOutputFilter: "Linking /tmp/project1"
TOutputFilter: "/usr/bin/ld: no se puede encontrar -lgdk"

------->/usr/bin/ld: can not find -lgdk

TOutputFilter: "project1.lpr(15) Error: Error while linking" TOutputFilter: "Closing script ppas.sh"

Is there any problem in my installed software? How could I solve this?

Thanks.

--------------------------------------------------------- --- Armando Paz --- --- Debian (testing) GNU/Linux 2.4.21 --- --- Usuario Linux Registrado #189304 --- ---------------------------------------------------------

Reply by email

Dominik Zablotny
to Armando Paz

Dnia nie 20. lipca 2003 16:06, Armando Paz napisał:

I'll try to install the most modern version, but I am not very good compiling ;-) (I am recent programmer) and I do not know to use cvs...

Step-by-step info how to download Lazarus CVS
is somewhere in FAQ at http://www.lazarus.freepascal.org. There were AFAIR also packed versions of cvs in download.

Dominik Zablotny

Reply by email

Marco van de Voort
to Armando Paz: Thank you, very much. I have solved this problem. In debian (testing) are necessary…
Show quoted text 9 lines
Thank you, very much. I have solved this problem. In debian (testing) are necessary [(root) /home/admorum]> apt-get install gdk-imlib1-dev apt-get install libgdk-pixbuf-dev I'll try to install the most modern version, but I am not very good compiling ;-) (I am recent programmer) and I do not know to use cvs...

FPC is available as installable.

For a building tutorial in progress, check:

http://www.stack.nl/~marcov/buildfaq.pdf

Reply by email

Yoyong Hernan
to Armando Paz: Hello. I am new in this list. I have downloaded Lazarus 0.8.5 for debian. I have…

Try gcvs.... it is very nice and easy to use.

Earlier message 23 lines
----- Original Message ----- From: "Dominik Zablotny" To: Sent: Sunday, July 20, 2003 10:59 PM Subject: Re: [lazarus] one error in ld Dnia nie 20. lipca 2003 16:06, Armando Paz napisał: > I'll try to install the most modern version, but I am not very good > compiling ;-) (I am recent programmer) and I do not know to use cvs... Step-by-step info how to download Lazarus CVS is somewhere in FAQ at http://www.lazarus.freepascal.org. There were AFAIR also packed versions of cvs in download. -- Dominik Zablotny _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Armando Paz
to Armando Paz: Hello. I am new in this list. I have downloaded Lazarus 0.8.5 for debian. I have…

Thank you, very much.

I have solved this problem. In debian (testing) are necessary

[(root) /home/admorum]> apt-get install gdk-imlib1-dev apt-get install libgdk-pixbuf-dev

I'll try to install the most modern version, but I am not very good compiling ;-) (I am recent programmer) and I do not know to use cvs...

Thanks.

Best Regards.

Dominik Zablotny wrote 23 lines
Dnia nie 20. lipca 2003 13:41, Armando Paz napisa?: > ------->/usr/bin/ld: can not find -lgdk You may be missing some packages like gtk+, gtk+-devel, gdk, gdk-devel and so on (names may vary - e.g. in my distro gdk is together with gtk) PS My advice is to get FPC 1.0.10 and new Lazarus (0.9.1) from CVS, because there was many bugfixes since 0.8.5. I think you will save much time doing this. -- Dominik Zablotny ------------ R E K L A M A ------------ Taniej nie b?dzie! Internetowe Archiwum Gazety Wyborczej ju? za 9 z?! http://www.gazeta.pl/archiwum _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
--------------------------------------------------------- --- Armando Paz --- --- Debian (testing) GNU/Linux 2.4.21 --- --- Usuario Linux Registrado #189304 --- ---------------------------------------------------------

Reply by email

Dominik Zablotny
to Armando Paz: Hello. I am new in this list. I have downloaded Lazarus 0.8.5 for debian. I have…

Dnia nie 20. lipca 2003 13:41, Armando Paz napisał:

------->/usr/bin/ld: can not find -lgdk

You may be missing some packages like gtk+, gtk+-devel, gdk, gdk-devel and so on (names may vary - e.g. in my distro gdk is together with gtk)

PS My advice is to get FPC 1.0.10 and new Lazarus (0.9.1) from CVS, because there was many bugfixes since 0.8.5.
I think you will save much time doing this.

Dominik Zablotny ------------ R E K L A M A ------------ Taniej nie będzie! Internetowe Archiwum Gazety Wyborczej już za 9 zł! http://www.gazeta.pl/archiwum

Reply by email