[Harbour] hbMK2 - Error
Hello Viktor E:\harbour\contrib\hbidem hbmk2: Processing environment options: -compiler=mingw hbmk2: Processing configuration: e:\harbour\bin\hbmk.cfg Unrecoverable error 6005: Exception error: Exception Code:C005 Exception Address:0055C060 EAX:0063005C EBX:0022FC60 ECX: EDX:0022FC60 ESI:0063005C EDI:0050 EBP:00B7ABA0 CS:EIP:001B:0055C060 SS:ESP:0023:0022FBD0 DS:0023 ES:0023 FS:003B GS: Flags:00010206 CS:EIP: 8B 70 1C 8B 53 08 89 44 24 04 89 1C 24 FF 52 0C SS:ESP: 0022FC60 0001 00B4EDC8 0055CC5C 003B 0058EEF3 003F 00B7AB58 0022FC60 C stack: EIP: EBP: Frame: OldEBP, RetAddr, Params... Modules: 0x0040 0x001CD000 e:\harbour\bin\hbmk2.exe 0x7C90 0x000B2000 C:\WINDOWS\system32\ntdll.dll 0x7C80 0x000F5000 C:\WINDOWS\system32\kernel32.dll 0x77C1 0x00058000 C:\WINDOWS\system32\msvcrt.dll 0x7E41 0x0009 C:\WINDOWS\system32\USER32.dll 0x77F1 0x00048000 C:\WINDOWS\system32\GDI32.dll 0x7639 0x0001D000 C:\WINDOWS\system32\IMM32.DLL 0x77DD 0x0009B000 C:\WINDOWS\system32\ADVAPI32.dll 0x77E7 0x00092000 C:\WINDOWS\system32\RPCRT4.dll 0x77FE 0x00011000 C:\WINDOWS\system32\Secur32.dll Called from ARCHCOMPFILTER(0) in ../../../hbmk2.prg Called from HBMK2(0) in ../../../hbmk2.prg Called from MAIN(0) in ../../../hbmk2.prg It is a quick impression after /* * $Id: ChangeLog 14147 2010-03-12 19:31:06Z vszakats $ */ Investigating... - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis__design_ -- View this message in context: http://n2.nabble.com/hbMK2-Error-tp4724810p4724810.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] hbMK2 - Error
Hi Pritpal, hbmk2 is pure .prg code, so if there is such error, it can only be lower level problem. ARCHCOMPFILTER() uses macro evaluation, so given recent changes, first pls try to rebuild everything from fresh sources and retry. If it still happens pls post full hbmk2 configuration, maybe it helps locating it. (or it that's not possible, you can enable line numbers and put a trace call before line 'bFilter := ( {| hbmk | + cFilterHarb + } )', to see what gets executed. Brgds, Viktor On 2010 Mar 12, at 23:23, Pritpal Bedi wrote: Hello Viktor E:\harbour\contrib\hbidem hbmk2: Processing environment options: -compiler=mingw hbmk2: Processing configuration: e:\harbour\bin\hbmk.cfg Unrecoverable error 6005: Exception error: Exception Code:C005 Exception Address:0055C060 EAX:0063005C EBX:0022FC60 ECX: EDX:0022FC60 ESI:0063005C EDI:0050 EBP:00B7ABA0 CS:EIP:001B:0055C060 SS:ESP:0023:0022FBD0 DS:0023 ES:0023 FS:003B GS: Flags:00010206 CS:EIP: 8B 70 1C 8B 53 08 89 44 24 04 89 1C 24 FF 52 0C SS:ESP: 0022FC60 0001 00B4EDC8 0055CC5C 003B 0058EEF3 003F 00B7AB58 0022FC60 C stack: EIP: EBP: Frame: OldEBP, RetAddr, Params... Modules: 0x0040 0x001CD000 e:\harbour\bin\hbmk2.exe 0x7C90 0x000B2000 C:\WINDOWS\system32\ntdll.dll 0x7C80 0x000F5000 C:\WINDOWS\system32\kernel32.dll 0x77C1 0x00058000 C:\WINDOWS\system32\msvcrt.dll 0x7E41 0x0009 C:\WINDOWS\system32\USER32.dll 0x77F1 0x00048000 C:\WINDOWS\system32\GDI32.dll 0x7639 0x0001D000 C:\WINDOWS\system32\IMM32.DLL 0x77DD 0x0009B000 C:\WINDOWS\system32\ADVAPI32.dll 0x77E7 0x00092000 C:\WINDOWS\system32\RPCRT4.dll 0x77FE 0x00011000 C:\WINDOWS\system32\Secur32.dll Called from ARCHCOMPFILTER(0) in ../../../hbmk2.prg Called from HBMK2(0) in ../../../hbmk2.prg Called from MAIN(0) in ../../../hbmk2.prg It is a quick impression after /* * $Id: ChangeLog 14147 2010-03-12 19:31:06Z vszakats $ */ Investigating... - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis__design_ -- View this message in context: http://n2.nabble.com/hbMK2-Error-tp4724810p4724810.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] hbmk2: Error: Running Harbour compiler (internal). 1
Viktor, Przemek, Thanks for your answers. Seemed tha I had some syntax errors. Once corrected I could compile without any incidences except for a missing function that I reported on harbour user list. Regards, José Luis Capel 2009/10/8 Przemyslaw Czerpak dru...@acn.waw.pl On Thu, 08 Oct 2009, José Luis Capel wrote: Hi, Using hbmk2 (created from lastest svn) I try to compile an old clipper app. I use same .clp file as follow: hbmk2 @miappl.clp Finally (after showing a syntax error on my app) shows this message: 1 error no code generated. hbmk2: Error: Running Harbour compiler (internal). 1 (e:\programacion_ant\hb_mingw\bin\harbour.exe) -n2 @hbtrade.clp -ie:/programacion_ant/hb_mingw/include So it's syntax error in your application code. If you need help then we have to know what exactly your code contain in given line. It's also possible that automatic -n mode detection (-n2 switch) does not work with you code. In such case try to use -n- switch, i.e.: hbmk2 -n- @miappl.clp best regards, Przemek ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] hbmk2: Error: Running Harbour compiler (internal). 1
Hi, Using hbmk2 (created from lastest svn) I try to compile an old clipper app. I use same .clp file as follow: hbmk2 @miappl.clp Finally (after showing a syntax error on my app) shows this message: 1 error no code generated. hbmk2: Error: Running Harbour compiler (internal). 1 (e:\programacion_ant\hb_mingw\bin\harbour.exe) -n2 @hbtrade.clp -ie:/programacion_ant/hb_mingw/include Thanks and regards, José Luis Capel ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] hbmk2: Error: Running Harbour compiler (internal). 1
Hi Jose, .clp support is highly experimental, I don't know too much about this feature and never used it personally. Anyhow what you report doesn't seem to be wrong, if there is a syntax error in your app, such error is what happens. hbmk2 won't be able to fix it. Other tips: Maybe @hbtrade.clp is wrong, maybe @.clp interact badly with -n2. I need input from users, and also feel free to fix @.clp related issues directly in hbmk2 code. I'll however change (internal) to read (embedded). Brgds, Viktor On 2009 Oct 8, at 15:16, José Luis Capel wrote: Hi, Using hbmk2 (created from lastest svn) I try to compile an old clipper app. I use same .clp file as follow: hbmk2 @miappl.clp Finally (after showing a syntax error on my app) shows this message: 1 error no code generated. hbmk2: Error: Running Harbour compiler (internal). 1 (e:\programacion_ant\hb_mingw\bin\harbour.exe) -n2 @hbtrade.clp -ie:/ programacion_ant/hb_mingw/include Thanks and regards, José Luis Capel ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] hbmk2: Error: Running Harbour compiler (internal). 1
On Thu, 08 Oct 2009, José Luis Capel wrote: Hi, Using hbmk2 (created from lastest svn) I try to compile an old clipper app. I use same .clp file as follow: hbmk2 @miappl.clp Finally (after showing a syntax error on my app) shows this message: 1 error no code generated. hbmk2: Error: Running Harbour compiler (internal). 1 (e:\programacion_ant\hb_mingw\bin\harbour.exe) -n2 @hbtrade.clp -ie:/programacion_ant/hb_mingw/include So it's syntax error in your application code. If you need help then we have to know what exactly your code contain in given line. It's also possible that automatic -n mode detection (-n2 switch) does not work with you code. In such case try to use -n- switch, i.e.: hbmk2 -n- @miappl.clp best regards, Przemek ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] HBMK2 - Error
C:\harbour\contrib\hbnetio\testshbmk2 netiosrv.hbm hbmk2: Processing local make script: hbmk.hbm hbmk2: Warning: File cannot be found: netiosrv.hbm hbmk2: Processing configuration: c:\harbour_dev\harbour\mingw\bin\hbmk.cfg Error BASE/1124 Argument error: LEFT (Quit) Error BASE/1124 Argument error: LEFT Called from LEFT(0) Called from HBMK(1848) Called from MAIN(398) C:\harbour\contrib\hbnetio\tests Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/HBMK2---Error-tp25314099p25314099.html Sent from the Harbour - Dev mailing list archive at Nabble.com. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] HBMK2 - Error
Hi Pritpal Bedi wrote: C:\harbour\contrib\hbnetio\testshbmk2 netiosrv.hbm hbmk2: Processing local make script: hbmk.hbm hbmk2: Warning: File cannot be found: netiosrv.hbm hbmk2: Processing configuration: c:\harbour_dev\harbour\mingw\bin\hbmk.cfg Error BASE/1124 Argument error: LEFT (Quit) Error BASE/1124 Argument error: LEFT Called from LEFT(0) Called from HBMK(1848) Called from MAIN(398) C:\harbour\contrib\hbnetio\tests Please ignore. I surely need a cup -f strong coffee. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/HBMK2---Error-tp25314099p25314506.html Sent from the Harbour - Dev mailing list archive at Nabble.com. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] HBMK2 - Error
Hello Viktor /* * $Id: ChangeLog 10903 2009-04-20 19:18:39Z vszakats $ */ C:\harbour\contrib\gtqtc\testshbmk2 wvtext Error BASE/1123 Argument error: AADD (Quit) Error BASE/1123 Argument error: AADD Called from AADD(0) Called from AADDNOTEMPTY(3432) Called from HBMK(786) Called from MAIN(180) hbqt.hbp == {mingw}libs=supc++ gt=gtqtc gui=yes mt=yes {win}libpaths=C:\Qt\2009.01\Qt\Lib {win}libs=gtqtc xhb hbmzip {win}libs=QtCore4 QtGui4 QtNetwork4 QtWebKit4 With or without {win} filter. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/HBMK2---Error-tp23145542p23145542.html Sent from the Harbour - Dev mailing list archive at Nabble.com. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] hbmk2 error in gcc parameters for linux
Hi Viktor, I think i found an error in hbmk2 for linux $ hbmk2 t2 hbmk: Processing configuration: /usr/bin/hbmk.cfg hbmk: Processing: ginfo.hbp Harbour 1.1.0dev (Rev. 10887) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 't2.prg'... Lines 4, Functions/Procedures 1 Generating C source output to 't2.c'... Done. /usr/bin/ld: cannot find -llibmysqlclient collect2: ld returned 1 exit status hbmk: Error: Running linker. 256: gcc t2.o hbmk_2f15xh.o -Wl,--start-group -lharbour -lgpm -lhbmysql -llibmysqlclient -lhbcplr -lhbdebug -Wl,--end-group -ot2 -L/usr/lib/harbour The ld syntax must be -lmysqlclient and not -llibmysqlclient Thank you, -- Guy ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] hbmk2 error in gcc parameters for linux
Hi Guy, hbmk2 isn't doing any transformation regarding lib prefix, so the solution here is not to pass it via ginfo.hbp. Brgds, Viktor On Sun, Apr 19, 2009 at 6:27 PM, Guy Roussin guy.rous...@teledetection.frwrote: Hi Viktor, I think i found an error in hbmk2 for linux $ hbmk2 t2 hbmk: Processing configuration: /usr/bin/hbmk.cfg hbmk: Processing: ginfo.hbp Harbour 1.1.0dev (Rev. 10887) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 't2.prg'... Lines 4, Functions/Procedures 1 Generating C source output to 't2.c'... Done. /usr/bin/ld: cannot find -llibmysqlclient collect2: ld returned 1 exit status hbmk: Error: Running linker. 256: gcc t2.o hbmk_2f15xh.o -Wl,--start-group -lharbour -lgpm -lhbmysql -llibmysqlclient -lhbcplr -lhbdebug -Wl,--end-group -ot2 -L/usr/lib/harbour The ld syntax must be -lmysqlclient and not -llibmysqlclient Thank you, -- Guy ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] hbmk2 error in gcc parameters for linux
Thank you Viktor, hbmk2 isn't doing any transformation regarding lib prefix, so the solution here is not to pass it via ginfo.hbp. $ cat ginfo.hbp libs=hbmysql libmysqlclient I fix ginfo.hbp : $ cat ginfo.hbp libs=hbmysql mysqlclient and now t2 (and ginfo) compile fine. I did not think that, by default, all .hbp files in the current directory were processed. Best regards, -- Guy Roussin ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour