FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Build with Visual Studio 2015 errors
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Build with Visual Studio 2015 errors
Posted: Thu Apr 09, 2015 09:37 AM
Solved with these changes in c:\openssl\crypto\rand\rand_win.c line 544:

Code (fw): Select all Collapse
                // m.dwSize = sizeof(MODULEENTRY32);
                if (good)
                    starttime = GetTickCount();
                if (module_first(handle, ( LPMODULEENTRY32 ) &m))
                    do
                        RAND_add(&m, sizeof(MODULEENTRY32), 9);
                    while (module_next(handle, ( LPMODULEENTRY32 ) &m)
                           && (!good
                               || (GetTickCount() - starttime) < MAXDELAY));
                if (close_snap)
                    close_snap(handle);
                else
                    CloseHandle(handle);
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Build with Visual Studio 2015 errors
Posted: Thu Apr 09, 2015 09:41 AM
Next error:

link /nologo /subsystem:console /opt:ref /out:out32\constant_time_test.exe @C:\Users\ADMINI~1\AppData\Local\Temp\nmF6
D2.tmp
constant_time_test.obj : error LNK2019: unresolved external symbol ___iob_func referenced in function _main
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\OLDNAMES.lib : warning LNK4272: library machine type 'UNKNOWN' con
flicts with target machine type 'X86'
out32\constant_time_test.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.EXE"' : return code '0x460'
Stop.


iob_func again...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Build with Visual Studio 2015 errors
Posted: Thu Apr 09, 2015 09:45 AM

These libs have been already built:

c:\openssl\out32\libeay32.lib

c:\openssl\out32\ssleay32.lib

Not sure what else we need now...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Build with Visual Studio 2015 errors
Posted: Thu Apr 09, 2015 10:51 AM

According to hbssl.hbp we need these DLLs:

-depimplibs=openssl:../out32dll/libeay32.dll
-depimplibs=openssl:../out32dll/ssleay32.dll
-depimplibs=openssl:../dll/libeay32.dll
-depimplibs=openssl:../dll/ssleay32.dll
-depimplibs=openssl:../libeay32.dll
-depimplibs=openssl:../ssleay32.dll

We may try to solve the iob_func error and see if the DLLs get built.

Not sure yet why the iob_func error is happening this time

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion