f



DLL ERror under MinGW 6.1.0

HI All :

    Here is the only error test I have when building DLL files under MinGW 
6.1.0

HTH,

-Mel Smith


     ^~
contrib/tiff/tif_read.c:995:2: note: ...this statement, but the latter is 
misleadingly indented as if it is guarded by the 'if'
  if ((tif->tif_flags & TIFF_CODERSETUP) == 0) {
  ^~
C:/MINGW610/bin/../lib/gcc/i686-w64-mingw32/6.1.0/../../../../i686-w64-mingw32/bin/ld.exe: 
..rsrc merge failure: duplicate leaf: type: 10 (VERSION) name: 1 lang: 409
collect2.exe: error: ld returned 5 exit status
C:/MINGW610/bin/../lib/gcc/i686-w64-mingw32/6.1.0/../../../../i686-w64-mingw32/bin/ld.exe: 
..rsrc merge failure: duplicate leaf: type: 10 (VERSION) name: 1 lang: 409
mingw32-make.exe: *** [bin/gc/xharbour.dll] Error 1



0
Mel
11/3/2016 9:28:30 PM
comp.lang.xharbour 5470 articles. 0 followers. Post Follow

6 Replies
121 Views

Similar Articles

[PageSpeed] 36

Hi Mel

I this morning using mingw 6.10 started to build full binaries.

Regards
Luiz

Em quinta-feira, 3 de novembro de 2016 19:28:42 UTC-2, Mel Smith  escreveu:
> HI All :
> 
>     Here is the only error test I have when building DLL files under MinGW 
> 6.1.0
> 
> HTH,
> 
> -Mel Smith
> 
> 
>      ^~
> contrib/tiff/tif_read.c:995:2: note: ...this statement, but the latter is 
> misleadingly indented as if it is guarded by the 'if'
>   if ((tif->tif_flags & TIFF_CODERSETUP) == 0) {
>   ^~
> C:/MINGW610/bin/../lib/gcc/i686-w64-mingw32/6.1.0/../../../../i686-w64-mingw32/bin/ld.exe: 
> .rsrc merge failure: duplicate leaf: type: 10 (VERSION) name: 1 lang: 409
> collect2.exe: error: ld returned 5 exit status
> C:/MINGW610/bin/../lib/gcc/i686-w64-mingw32/6.1.0/../../../../i686-w64-mingw32/bin/ld.exe: 
> .rsrc merge failure: duplicate leaf: type: 10 (VERSION) name: 1 lang: 409
> mingw32-make.exe: *** [bin/gc/xharbour.dll] Error 1
0
culikr
11/5/2016 4:00:17 PM
Luiz said:
>
> I this morning using mingw 6.10 started to build full binaries.
>

Hi Luiz:

    I tried the build again this morning, and it failed in the same way as I 
mentioned in another post.

    The harbour *binary* was created. But when the DLL files were being 
built, I had a crash at (or after) the sequence in the ...\contrib\tiff\ 
section.

I sent to your email (and, again to Ron Pinkas' email), the logs of the 
build.

Please look at the bottom of DLL_GC.LOG to see the error.

Thanks,

-Mel


0
Mel
11/5/2016 7:37:21 PM
Hi Mel

I think i find the fix for the dll problem

use this https://www.dropbox.com/s/aa45o1qos62kjoh/makefile.gc?dl=0 (put inside winmake folder) and try to build the dlls

Regards
Luiz
0
culikr
11/5/2016 10:30:57 PM
Hi Luiz:

    I will try that later today.

Thank you !

-Mel

<culikr@gmail.com> wrote in message 
news:cc872366-488b-4af7-a2d1-b36286d561d4@googlegroups.com...
> Hi Mel
>
> I think i find the fix for the dll problem
>
> use this https://www.dropbox.com/s/aa45o1qos62kjoh/makefile.gc?dl=0 (put 
> inside winmake folder) and try to build the dlls
>
> Regards
> Luiz 


0
Mel
11/6/2016 3:02:45 PM
Hi Luiz:

    The changes to makefile.gc work correctly on my Win 7 Pro base machine; 
and I can make a correct MInGW 6.1.0 10168 build. Which I did, and posted a 
few minutes.

Thank you for the fix !

However, when I perform the same build on my 32-bit Windows XP Mode machine 
(where I normally do all my developing), I crash in the same way, with the 
same error I posed before :(

In summary, your change to makefile.gc fixes the crash *IF* I do the build 
on my base 64-bit ASUS Laptop. If I do the build on my Windows XP Mode 
'machine', it crashes.

I have taken the 64-bit 10168 build and posted it on my web site a few 
minutes ago.

Thanks you for the successful effort !

-Mel Smith


"Mel Smith" <syntel@cox.net> wrote in message 
news:e88v0oFd06jU1@mid.individual.net...
> Hi Luiz:
>
>    I will try that later today.
>
> Thank you !
>
> -Mel
>
> <culikr@gmail.com> wrote in message 
> news:cc872366-488b-4af7-a2d1-b36286d561d4@googlegroups.com...
>> Hi Mel
>>
>> I think i find the fix for the dll problem
>>
>> use this https://www.dropbox.com/s/aa45o1qos62kjoh/makefile.gc?dl=0 (put 
>> inside winmake folder) and try to build the dlls
>>
>> Regards
>> Luiz
>
> 


0
Mel
11/6/2016 6:08:57 PM
Hi Luiz:

    I have sent a refreshed set of logs for your perusal to your email.

HTH,

-Mel


0
Mel
11/6/2016 7:10:29 PM
Reply: