Hi,
Rebuild Harbour with
export HB_USER_CFLAGS=-g
or:
export HB_BUILD_DEBUG=yes
then create final binaries without striping debug information
hbmk2 -nostrip ... tst.prg
and run them using valgrind:
exec valgrind --tool=memcheck --leak-check=yes --num-callers=32 -v ./tst \
2> e
On Mon, 29 Jun 2009, Szak�ts Viktor wrote:
> No idea, sorry, -debug add -g C switch on linux/gcc, strange
> that this can create such effect, so it may also be that it's
> something else.
> As a next step you'd need gdb to get a C trace call, I hope
> someone can help with more info here.
Rebuild
Hi Viktor
there are the same (ubuntu 9.04)
I try with gdb, there are output
regards
Davor
s...@siki:~/clipp/harbour/contrib/hbqt/tests$ hbmk2 -debug demoqt.prg
hbmk: Processing local make script: hbmk.hbm
hbmk: Processing configuration: /usr/bin/hbmk.cfg
hbmk: Processing: hbqt.hbc
Harbour 2
Viktor Szakáts wrote:
Again no idea. I doubt this is a hbmk2 problem, since simple hello
program works as expected.
Brgds,
Viktor
It builds and runs OK here in Mandriva Linux 2009.1 after commenting two
lines in the pragma section:-
/*---
Again no idea. I doubt this is a hbmk2 problem, since simple hello
program works as expected.
Brgds,
Viktor
On Mon, Jun 29, 2009 at 1:31 AM, Davor Siklic wrote:
> Viktor Szakáts napsal(a):
>>
>> No idea, sorry, -debug add -g C switch on linux/gcc, strange
>> that this can create such effect, so i
Viktor Szakáts napsal(a):
No idea, sorry, -debug add -g C switch on linux/gcc, strange
that this can create such effect, so it may also be that it's
something else.
As a next step you'd need gdb to get a C trace call, I hope
someone can help with more info here.
Hi Viktor
there are the same
No idea, sorry, -debug add -g C switch on linux/gcc, strange
that this can create such effect, so it may also be that it's
something else.
As a next step you'd need gdb to get a C trace call, I hope
someone can help with more info here.
Brgds,
Viktor
On Mon, Jun 29, 2009 at 12:54 AM, Bruno Lucia
ok
I try to compile using -debug , but aplicattion not start at all
and no errors appears , why ?
Bruno
2009/6/28 Viktor Szakáts
> Bruno,
>
> -lhbdebug isn't needed as its automatically added by hbmk2.
>
> You could use -debug though to add C level debug info as this
> error isn't happening o
Bruno,
-lhbdebug isn't needed as its automatically added by hbmk2.
You could use -debug though to add C level debug info as this
error isn't happening on .prg level so -b cannot help much in this case.
Brgds,
Viktor
On Mon, Jun 29, 2009 at 12:30 AM, Bruno Luciani wrote:
> This is the log compil
This is the log compiling using -b option in hbmk2 and linking hbdebug lib
Bruno
br...@notebook:~/harbour_svn/harbour/contrib/hbqt/tests$ hbmk2 -b hbmk.hbm
demoqt.prg -lhbdebug
hbmk: Processing local make script: hbmk.hbm
hbmk: Processing configuration: /usr/bin/hbmk.cfg
Harbour 2.0.0beta2 (Rev.
> an HBQT error ? may be ?
Yes, EXACTLY.
This is what we need to locate.
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/Error-compilin-demoqt-in-linux-tp24243747p24246028.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
___
yes I can try to debug the sample , but this code without the last
modification
compile and works ok in windows , i don't understand why not in linux
an HBQT error ? may be ?
Bruno
2009/6/28 Pritpal Bedi
>
> Hi the sampl
>
>
> Bruno Luciani wrote:
> >
> > Now , aplicattion don' t starts anymor
Hi
Bruno Luciani wrote:
>
> Now , aplicattion don' t starts anymore , do nothing
>
It is the time to debug lines of code at what point error is
generated. Take following steps:
1) Put some check points which write to debugger of your choice.
2) It should be binary way, I mean first put 4 po
Now , aplicattion don' t starts anymore , do nothing
Yes I try xpb but , remember that we are working in a wrapper for minigui
lib to HBQT
and I need to be shure that i can compile a sample in linux without problem
to test our work in linux.
Bruno
2009/6/28 Pritpal Bedi
>
> Hi Bruno
>
>
>
Hi Bruno
Bruno Luciani wrote:
>
> and now this error appears in execution time:
>
I would suggest you to try hands on hbxbp/tests/demoxbp
as this is our official goal to accomplish. I may not be updating
demoqt.prg in future.
Regards
Pritpal Bedi
--
View this message in context:
http://ww
Hi
Bruno Luciani wrote:
>
> I tookout the function uidebug from the demo and compile again
>
> and now this error appears in execution time:
>
>
>
> br...@notebook:~/harbour_svn/harbour/contrib/hbqt/tests$ hbmk2 hbmk.hbm
> demoqt.prg
> hbmk: Processing local make script: hbmk.hbm
> hbmk: Pr
I tookout the function uidebug from the demo and compile again
and now this error appears in execution time:
br...@notebook:~/harbour_svn/harbour/contrib/hbqt/tests$ hbmk2 hbmk.hbm
demoqt.prg
hbmk: Processing local make script: hbmk.hbm
hbmk: Processing configuration: /usr/bin/hbmk.cfg
Harbour
Harbour 2.0.0beta2 (Rev. 11558)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'demoqt.prg'...
Lines 724, Functions/Procedures 18
Generating C source output to 'demoqt.c'... Done.
demoqt.o:(.data+0x558): undefined reference to `HB_FUN_UIDEBUG'
collect2: ld returned 1 exit status
OK Pritpal , thanks
Bruno
2009/6/28 Pritpal Bedi
>
> Hi
>
> > whats happening here
>
> Should be fixed by now. Download again.
>
> Regards
> Pritpal Bedi
>
> --
> View this message in context:
> http://www.nabble.com/Error-compilin-demoqt-in-linux-tp24243747p24245013.html
> Sent from the Harbou
Hi
> whats happening here
Should be fixed by now. Download again.
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/Error-compilin-demoqt-in-linux-tp24243747p24245013.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_
I just try all , including install the new Kubuntu 9.04 clean install
Harbours compiles ok included HBQT , but qhen I try to compile demoqt , I
get this error
whats happening here
Bruno
/
21 matches
Mail list logo