Sign in Join

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

Mailing lists / qt / 2010-02

compiling lazarus

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Nataraj S Narayan

Hi

When I try:-

gmake all LCL_PLATFORM=qt, getting

Free Pascal Compiler version 2.2.4 [2009/04/04] for i386 Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: FreeBSD/ELF for i386
Compiling lazarus.pp
Linking ../lazarus
/usr/ports/editors/lazarus/work/lazarus/lcl/units/i386-freebsd/qt/qtwidgets.o(.text+0xed41): In function `TQTFILEDIALOG__GETFILTERS':
qtwidgets.pas:9465: undefined reference to `QFileDialog_filters' lazarus.pp(122,1) Error: Error while linking
lazarus.pp(122,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
gmake[2]: *** [lazarus] Error 1
gmake[2]: Leaving directory `/usr/ports/editors/lazarus/work/lazarus/ide' gmake[1]: *** [ide] Error 2
gmake[1]: Leaving directory `/usr/ports/editors/lazarus/work/lazarus/ide' gmake: *** [ide] Error 2

Nataraj

Reply by email

zeljko
to Nataraj S Narayan
Nataraj S Narayan wrote 22 lines
Hi When I try:- gmake all LCL_PLATFORM=qt, getting Free Pascal Compiler version 2.2.4 [2009/04/04] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: FreeBSD/ELF for i386 Compiling lazarus.pp Linking ../lazarus /usr/ports/editors/lazarus/work/lazarus/lcl/units/i386-freebsd/qt/qtwidgets .o(.text+0xed41): In function `TQTFILEDIALOG__GETFILTERS': qtwidgets.pas:9465: undefined reference to `QFileDialog_filters' lazarus.pp(122,1) Error: Error while linking lazarus.pp(122,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted gmake[2]: *** [lazarus] Error 1 gmake[2]: Leaving directory `/usr/ports/editors/lazarus/work/lazarus/ide' gmake[1]: *** [ide] Error 2 gmake[1]: Leaving directory `/usr/ports/editors/lazarus/work/lazarus/ide' gmake: *** [ide] Error 2

Seem that U use old lazarus revision, or old bindings. Please write
1.bindings version
2.Qt version installed on your system
3.lazarus version / svn revision.

zeljko

Reply by email

Den Jean
to Nataraj S Narayan: Hi When I try:- gmake all LCL_PLATFORM=qt, getting Free Pascal Compiler version 2.2.4…
Nataraj S Narayan wrote
Free Pascal Compiler version 2.2.4 [2009/04/04] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: FreeBSD/ELF for i386

FreeBSD :-)

Show quoted text 5 lines
Compiling lazarus.pp Linking ../lazarus /usr/ports/editors/lazarus/work/lazarus/lcl/units/i386-freebsd/qt/qtwidgets .o(.text+0xed41): In function `TQTFILEDIALOG__GETFILTERS': qtwidgets.pas:9465: undefined reference to `QFileDialog_filters'

http://lists.lazarus.freepascal.org/pipermail/qt/2008-September/001056.html

I do not know how up to date freebsd ports are
is it not easier to use svn ?

The file qt4.pas (or the included qt43.pas or qt44.pas) indicate the version at the top.

This errors seems to be a very old qt43.pas linking against a Qt >= 4.4

Reply by email