Page 1 of 1

Reporte de error en hmg.3.036

Posted: Sat Apr 02, 2011 1:01 am
by Mario Mansilla
Hola :
He intentado ejecutar desde el ide un proyecto hecho con la version anterior (hmg.3.035) y me da un error generando el siguiente archivo error.log siguiente :

Hello
I tried to run from the ide a project done with the previous version (hmg.3.035) and I get an error generating the following file error.log as follows:

Uso hmg.3.036 + patch
Saludos
Mario Mansilla

hbmk2: Compiling Harbour sources...
Harbour 2.1.0rc2 (Rev. 16478)
Copyright (c) 1999-2011, http://harbour-project.org/
hbmk2: Compiling...
hbmk2: Linking... Main.exe
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x12): undefined reference to `unzClose'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x48): undefined reference to `zipClose'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x7b): undefined reference to `unzOpen'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0xda): undefined reference to `zipOpen'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x105): undefined reference to `unzGetGlobalInfo'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x12c): undefined reference to `unzGoToFirstFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x158): undefined reference to `unzGoToNextFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x19c): undefined reference to `unzGetCurrentFileInfo'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x220): undefined reference to `unzGetCurrentFileInfo'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x253): undefined reference to `unzOpenCurrentFile2'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x26f): undefined reference to `unzGetLocalExtrafield'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x29c): undefined reference to `unzGetLocalExtrafield'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x385): undefined reference to `zipOpenNewFileInZip2'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x3d8): undefined reference to `zipWriteInFileInZip'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x403): undefined reference to `unzReadCurrentFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x476): undefined reference to `zipClose'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x47e): undefined reference to `unzClose'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x4cf): undefined reference to `unzClose'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x4fe): undefined reference to `zipCloseFileInZipRaw'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x50e): undefined reference to `unzCloseCurrentFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x55e): undefined reference to `unzGoToNextFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x5bf): undefined reference to `unzGetCurrentFileInfo'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x625): undefined reference to `unzGetGlobalComment'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x6fa): undefined reference to `zipClose'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x77e): undefined reference to `unzGetCurrentFileInfo'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x7a1): undefined reference to `unzOpenCurrentFilePassword'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x85a): undefined reference to `unzCloseCurrentFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x8e4): undefined reference to `unzReadCurrentFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0xc54): undefined reference to `zipOpen2'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0xd1d): undefined reference to `zipClose'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0xfc2): undefined reference to `zipOpenNewFileInZip3'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x1133): undefined reference to `zipWriteInFileInZip'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x1206): undefined reference to `zipCloseFileInZip'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x1268): undefined reference to `unzOpen'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x130c): undefined reference to `unzClose'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x1398): undefined reference to `unzGetGlobalInfo'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x13fb): undefined reference to `unzGetGlobalComment'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x14e6): undefined reference to `unzGoToFirstFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x1556): undefined reference to `unzGoToNextFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x15c6): undefined reference to `unzGetOffset'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x1647): undefined reference to `unzSetOffset'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x16f9): undefined reference to `unzGetCurrentFileInfo'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x18bb): undefined reference to `unzGetCurrentFileInfo'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x1ad7): undefined reference to `unzOpenCurrentFilePassword'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x1c00): undefined reference to `unzReadCurrentFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x1c46): undefined reference to `unzCloseCurrentFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x1ef3): undefined reference to `zipOpenNewFileInZip3'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x2039): undefined reference to `zipOpenNewFileInZip3'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x213c): undefined reference to `zipWriteInFileInZip'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x216b): undefined reference to `zipCloseFileInZip'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x2207): undefined reference to `zipCloseFileInZip'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x2440): undefined reference to `zipOpenNewFileInZip3'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x24ce): undefined reference to `zipWriteInFileInZip'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x2501): undefined reference to `zipCloseFileInZip'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x2642): undefined reference to `unzGetCurrentFileInfo'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x2688): undefined reference to `unzOpenCurrentFilePassword'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x26d1): undefined reference to `unzReadCurrentFile'
C:/hmg/harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x27a4): undefined reference to `unzCloseCurrentFile'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe .hbmk/win/mingw/main.o .hbmk/win/mingw/creditos.o .hbmk/win/mingw/ctacte.o .hbmk/win/mingw/facturas.o .hbmk/win/mingw/_hbmkaut_main.o _temp.o -mwindows -Wl,--start-group -lhmg -lhbmysql -lmysql -lcrypt -ledit -leditex -lgraph -lini -lreport -lhbwin -lhbziparc -lhbmzip -lmsvfw32 -lvfw32 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbmemio -lhbsqlit3 -lsqlite3 -lhbfimage -lhbpgsql -lhbtip -lhbct -lhbmisc -lhbnetio -lxhb -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oMain.exe -LC:/hmg/harbour/lib/win/mingw -LC:/hmg/harbour/bin -LC:/hmg//lib

Re: Reporte de error en hmg.3.036

Posted: Sat Apr 02, 2011 4:06 am
by Rathinagiri
I think the problem is in hbmzip.

You have an extra '\' in your library path. 'C:/hmg//lib'. Could that be the reason?

Re: Reporte de error en hmg.3.036

Posted: Sat Apr 02, 2011 6:04 am
by Jayesh
try selecting 'ZIP SUPPORT' option from Tools->Preferences of IDE.
it may solve ur problem.

Re: Reporte de error en hmg.3.036

Posted: Sat Apr 02, 2011 2:34 pm
by Mario Mansilla
Hola Rathi :
Les adjunto un proyecto simple con una sola ventana principal hecho con el ide la cual provoca tambien este error .
Esto tambien sucede cuando copio el proyecto a la carpeta samples y realizo "build.bat main" .
Tengo instalado todo en c:\hmg y en el archivo build.bat no tengo "//" en el path .
En el ide solo tengo en Tools->Preference la opcion de elegir el editor .

Hi Rathi:
I attached a simple project with one main window with the ide fact which also causes this error.
This also happens when copying the project to the folder samples and performed "build.bat main".
I have installed everything in c: \ hmg build.bat file and I have no "/ /" in the path.
I have only in the IDE Tools-> Preference option to choose the editor.

Saludos .
Mario Mansilla

Re: Reporte de error en hmg.3.036

Posted: Sat Apr 02, 2011 2:44 pm
by Mario Mansilla
Hola :
Bien observando en la distribucion de la version 035 no tengo el archivo hbm : "hbmk" .
Copiando este archivo a la carpeta del proyecto creada por el ide con la version 036 y ahora con "build main" funciona correctamente .
Ahora el problema esta con el ide de la version 036 porque por mas que copie este archivo cuando hago "run" desde el ide me provoca el error y no me genera el ejecutable .

Hello
Well looking at the distribution of the 035 version I have no hbm file: "hbmk. "
Copy this file to your project folder created by the ide with the version 036 and now with "main build" working properly.
Now the problem is with the ide of the 036 version because for more than copy the file when I "run"from the IDE gives me the error and did not generate the executable.

Saludos .
Mario Mansilla .