[Qt] uclibc + libqt4intf- EAccessViolation : Access violation

Nataraj S Narayan natarajsn at gmail.com
Wed Feb 10 13:42:19 CET 2010


Hi

Finally, I am trying out a simple ,single button click evet lazarus
program. I am on
libqt4intf.so.5.1.72, compiled for arm-linux-uclibc. I got the
lazarus-Qt App working on FreeBSD-i386.

Did a "make clean lcl LCL_PLATFORM=qt OS_TARGET=linux CPU_TARGET=arm
OPT='-dFPC_ARMEL -darm -dqt -CfSOFT -gl' FPC=ppcrossarm" on
lazarus-svn.


Getting error in "Compiling /software/lazarus-svn/lcl/controls.pp"
while compiling the App.

May I have some clues?

regards

Nataraj



# ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -darm
-XParm-linux-uclibcgnueabi- -CfSOFT -CaEABI -darm -gl -O- -CpARMV5
-uUSE_LOCALIZE -Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/*
-Fl$ARMPATH/usr/arm-linux-uclibcgnueabi/lib
-FL$ARMPATH/lib/ld-uClibc.so.0 -XR$ARMPATH -Fl$ARMPATH/lib
-Fl$ARMPATH/usr/lib -k"--sysroot=$ARMPATH"
-k"-rpath-link=/cdrom/output/build/staging_dir/usr/arm-linux-uclibcgnueabi/lib/"
-darm -darmlclqt noy1.lpr
Free Pascal Compiler version 2.5.1 [2010/02/08] for arm
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for ARM
Compiling noy1.lpr
Compiling /software/lazarus-svn/lcl/controls.pp
controls.pp(929,27) Error: Identifier not found "TPopupMenu"
controls.pp(929,27) Error: Error in type definition
controls.pp(1009,45) Error: Identifier not found "TPopupMenu"
controls.pp(1191,38) Error: Identifier not found "TPopupMenu"
controls.pp(1397,36) Error: Identifier not found "TPopupmenu"
controls.pp(2393,1) Fatal: There were 5 errors compiling module, stopping
Fatal: Compilation aborted


On Wed, Feb 3, 2010 at 10:39 AM, Nataraj S Narayan <natarajsn at gmail.com> wrote:
> Hi
>
> Address book works as good as in the i386. Just a single kinda console message.
>
> FT_New_Face failed with index 0 : 2
>
> This , I get for all my Qt 4.5.2 apps.
>
> No more seg faults. Only these :-# ./mainwindow -qws
>
> start of program
> An unhandled exception occurred at $4058E2B4 :
> EAccessViolation : Access violation
>  $4058E2B4 of ../objpas/rtlconsts.pp
>
>
> Strange that a kernel change should affect an fpc program.
>
> regards
>
> Nataraj
>
>
>
> On Wed, Feb 3, 2010 at 12:02 AM, Den Jean <Den.Jean at telenet.be> wrote:
>> On Tuesday 02 February 2010 11:25:29 Nataraj S Narayan wrote:
>>> Address book code works!
>> are there any console message (like below) when running
>>
>>> Luckily, I changed the kernel from 2.6.28 to 2.6.30. Now I dont get seg
>>>  fault. I mean, the same code gave me segmentation fault on 2.6.28.
>>> BTW these errors remain :-
>>> # ./shapedclock -qws
>>> FT_New_Face failed with index 0 : 2
>>> FT_New_Face failed with index 0 : 2
>>> FT_New_Face failed with index 0 : 2
>>> FT_New_Face failed with index 0 : 2
>>> FT_New_Face failed with index 0 : 2
>>> An unhandled exception occurred at $01054ED0 :
>>> EAccessViolation : Access violation
>> ?? segfault is still there ??
>>
>> _______________________________________________
>> Qt mailing list
>> Qt at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/qt
>>
>




More information about the Qt mailing list