Hi,

BTW, here today I just switched to DWARF-2 build of mingw, 
did a new clean build and didn't have this problem.

I don't see build parameters in the report so I can just 
guess that it may be you're forcing C++ mode for mingw.

In this case we should decide what to do, hack hbmk2, 
hack postinst.prg or take a step back and rethink why 
we need HB_BUILD_MODE as a documented user option 
in the first place. Could be I'm missing something, but 
I see not much reason to override the default setting 
for whole Harbour (besides maybe code testing / evaluation).
If we can eliminate it, we will surely have much less 
combinations to take care and focus energies on more 
crucial issues.

Brgds,
Viktor

On 2009 Dec 3, at 22:46, Bisz István wrote:

> Hi,
>  
> The error: undefined reference to `__gxx_personality_v0', listed below is 
> solved temporally with the force of the –cpp mode in postins.bat:
>  
> FROM:
>  
>    echo ! Making shared version of Harbour binaries...
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared 
> "-o%HB_BIN_INSTALL%\hbrun-dll"    "%~dp0..\utils\hbrun\hbrun.hbp"
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared 
> "-o%HB_BIN_INSTALL%\hbmk2-dll"    "%~dp0..\utils\hbmk2\hbmk2.hbp"
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared 
> "-o%HB_BIN_INSTALL%\hbtest-dll"   "%~dp0..\utils\hbtest\hbtest.hbp"
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared 
> "-o%HB_BIN_INSTALL%\hbi18n-dll"   "%~dp0..\utils\hbi18n\hbi18n.hbp"
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared 
> "-o%HB_BIN_INSTALL%\hbformat-dll" "%~dp0..\utils\hbformat\hbformat.hbp"
>  
> :_NO_DLL_BIN
>  
>    if "%HB_PLATFORM%" == "dos" goto _NO_ICON_BIN
>    if "%HB_PLATFORM%" == "linux" goto _NO_ICON_BIN
>  
>    rem ; We build this here, because GNU Make wouldn't add the icon.
>    echo ! Making hbrun with application icon...
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN "-o%HB_BIN_INSTALL%\hbrun" 
> "%~dp0..\utils\hbrun\hbrun.hbp"
>  
> TO:
>  
>    echo ! Making shared version of Harbour binaries...
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared –cpp 
> "-o%HB_BIN_INSTALL%\hbrun-dll"    "%~dp0..\utils\hbrun\hbrun.hbp"
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared –cpp 
> "-o%HB_BIN_INSTALL%\hbmk2-dll"    "%~dp0..\utils\hbmk2\hbmk2.hbp"
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared –cpp 
> "-o%HB_BIN_INSTALL%\hbtest-dll"   "%~dp0..\utils\hbtest\hbtest.hbp"
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared –cpp 
> "-o%HB_BIN_INSTALL%\hbi18n-dll"   "%~dp0..\utils\hbi18n\hbi18n.hbp"
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN -shared –cpp 
> "-o%HB_BIN_INSTALL%\hbformat-dll" "%~dp0..\utils\hbformat\hbformat.hbp"
>  
> :_NO_DLL_BIN
>  
>    if "%HB_PLATFORM%" == "dos" goto _NO_ICON_BIN
>    if "%HB_PLATFORM%" == "linux" goto _NO_ICON_BIN
>  
>    rem ; We build this here, because GNU Make wouldn't add the icon.
>    echo ! Making hbrun with application icon...
>    "%HB_HOST_BIN_DIR%\hbmk2" -quiet -q0 -lng=en-EN –cpp 
> "-o%HB_BIN_INSTALL%\hbrun" "%~dp0..\utils\hbrun\hbrun.hbp"
>  
> Best regards,
> István
>  
> ________________________________________________________________________________________________________________-
>  
> ! Making shared version of Harbour binaries...
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbcmplib.o):hbcmplib.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbmain.o):hbmain.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbgenerr.o):hbgenerr.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbopt.o):hbopt.c:(.eh_frame+0x11): 
> undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbdead.o):hbdead.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbstripl.o):hbstripl.c:(.eh_frame+0x11):
>  more undefined references to `__gxx_personality_v0' follow
> collect2: ld returned 1 exit status
> hbmk2: Error: Running linker. 1
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbcmplib.o):hbcmplib.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbmain.o):hbmain.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbgenerr.o):hbgenerr.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbopt.o):hbopt.c:(.eh_frame+0x11): 
> undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbdead.o):hbdead.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbstripl.o):hbstripl.c:(.eh_frame+0x11):
>  more undefined references to `__gxx_personality_v0' follow
> collect2: ld returned 1 exit status
> hbmk2: Error: Running linker. 1
> c:/harbour/mingw/lib/win/mingw/libhbmainstd.a(mainstd.o):mainstd.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> collect2: ld returned 1 exit status
> hbmk2: Error: Running linker. 1
> c:/harbour/mingw/lib/win/mingw/libhbmainstd.a(mainstd.o):mainstd.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> collect2: ld returned 1 exit status
> hbmk2: Error: Running linker. 1
> c:/harbour/mingw/lib/win/mingw/libhbmainstd.a(mainstd.o):mainstd.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> collect2: ld returned 1 exit status
> hbmk2: Error: Running linker. 1
> ! Making hbrun with application icon...
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbcmplib.o):hbcmplib.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbmain.o):hbmain.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbgenerr.o):hbgenerr.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbopt.o):hbopt.c:(.eh_frame+0x11): 
> undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbdead.o):hbdead.c:(.eh_frame+0x11):
>  undefined reference to `__gxx_personality_v0'
> c:/harbour/mingw/lib/win/mingw/libhbcplr.a(hbstripl.o):hbstripl.c:(.eh_frame+0x11):
>  more undefined references to `__gxx_personality_v0' follow
> collect2: ld returned 1 exit status
> hbmk2: Error: Running linker. 1
>  
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to