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 (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.0.0beta2 (Rev. 11561)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'demoqt.prg'...
Lines 723, Functions/Procedures 18
Generating C source output to 'demoqt.c'... Done.
s...@siki:~/clipp/harbour/contrib/hbqt/tests$ gdb ./demoqt
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /opt/clipp/harbour/contrib/hbqt/tests/demoqt
[Thread debugging using libthread_db enabled]
[New Thread 0xb56f8af0 (LWP 16848)]
Program exited normally.
(gdb)
Brgds,
Viktor
On Mon, Jun 29, 2009 at 12:54 AM, Bruno Luciani<[email protected]> wrote:
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 <[email protected]>
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<[email protected]>
wrote:
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. 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.
br...@notebook:~/harbour_svn/harbour/contrib/hbqt/tests$ ./demoqt
Unrecoverable error 6005: Exception SIGSEGV at address 0x20
Called from QT_QWIDGET_SETWINDOWTITLE(0)
Called from (b)QWIDGET(0) in ../../TQWidget.prg
Called from QMAINWINDOW:SETWINDOWTITLE(0) in ../../TQWidget.prg
Called from MAIN(106) in demoqt.prg
br...@notebook:~/harbour_svn/harbour/contrib/hbqt/tests$
2009/6/28 Pritpal Bedi <[email protected]>
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.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour