In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Mingw error crtbegin

Xailer professional forum in English
DC
Posts: 59
Joined: Mon May 16, 2011 6:06 pm

Mingw error crtbegin

Postby DC » Sat Jul 06, 2019 5:42 pm

Hi,

I just recently installed 6.2, and harbour in \xailer6\hb32.

The setup program installed mingw in c:\xailer6\hb32\comp\mingw.

The library crtbegin.o is in c:\xailer6\hb32\comp\mingw\lib\gcc\mingw32\4.9.2.

But the Xailer linker seems to be looking for these libraries in c:/xailer6/hb32/comp/mingw/Lib/gcc/i686-w64-mingw32/7.3.0.

So my error while linking is

c:\xailer6\hb32\comp\mingw\Bin\ld: cannot find c:/xailer6/hb32/comp/mingw/Lib/gcc/i686-w64-mingw32/7.3.0/crtbegin.o: No such file or directory

I'm able to compile and link with BC5.
User avatar
ignacio
Site Admin
Posts: 8545
Joined: Mon Apr 06, 2015 8:00 pm
Location: Madrid, Spain
Contact:

Re: Mingw error crtbegin

Postby ignacio » Mon Jul 08, 2019 7:53 pm

Hi,

Download our Harbour binaries from this link:

http://www2.xailer.com/download/?en&file=2

Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
DC
Posts: 59
Joined: Mon May 16, 2011 6:06 pm

Re: Mingw error crtbegin

Postby DC » Fri Jul 12, 2019 2:23 am

Thanks,

But now I'm getting errors like these:

Compiling: YTVideos.prg...
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:123:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:138:9: error: unknown type name '__time64_t'
Compiling: frm_GetYT.prg...
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:123:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:138:9: error: unknown type name '__time64_t'
Compiling: functional.prg...
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:123:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
c:/xailer6/hb32/comp/mingw/i686-w64-mingw32/include/crtdefs.h:138:9: error: unknown type name '__time64_t'
3 Files, 0 Warnings, 6 Errors
Compile time: 7.73s Link time: 0s Total time: 7.77s


, from the line in crtdefs.h

#ifndef _TIME64_T_DEFINED
#define _TIME64_T_DEFINED
__MINGW_EXTENSION typedef __int64 __time64_t;
#endif /* _TIME64_T_DEFINED */


Anyway, I'll just continue using BC5 for the time being.

Regards,




ignacio wrote:Hi,

Download our Harbour binaries from this link:

http://www2.xailer.com/download/?en&file=2

Regards,
User avatar
jfgimenez
Site Admin
Posts: 5620
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

Re: Mingw error crtbegin

Postby jfgimenez » Fri Jul 12, 2019 11:08 am

Hi,

you've surely mixed two versions of mingw. Please, reinstall our Harbour+MinGW binaries in a new EMPTY directory
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
DC
Posts: 59
Joined: Mon May 16, 2011 6:06 pm

Re: Mingw error crtbegin

Postby DC » Sat Jul 13, 2019 3:01 pm

Ok, I understand. Completely uninstall and remove the hb32 folder, then reinstall.

Got it, thanks.


jfgimenez wrote:Hi,

you've surely mixed two versions of mingw. Please, reinstall our Harbour+MinGW binaries in a new EMPTY directory

Return to “English”