Gentle People:
Considering that I am attempting to build a cross compiler on a
CentOS Machine targeting Windows:
What windows.h is it looking for?
And what directory is it looking in?
Thomas Dineen
make[2]: Entering directory
`/home/tdineen/Mingw_Build_X86_11_2019/mingw-w64-v2.0.7/mingw-w64-crt'
gcc -DHAVE_CONFIG_H -I. -m32 -pipe -std=gnu99 -Wall -Wextra -Wformat
-Wstrict-aliasing -Wshadow -Wpacked -Winline
-Wimplicit-function-declaration -Wmissing-noreturn -Wmissing-prototypes
-g -O2 -MT profile/lib32_libgmon_a-profil.o -MD -MP -MF
profile/.deps/lib32_libgmon_a-profil.Tpo -c -o
profile/lib32_libgmon_a-profil.o `test -f 'profile/profil.c' || echo
'./'`profile/profil.c
profile/profil.c:19:21: error: windows.h: No such file or directory
profile/profil.c:34: error: expected ‘)’ before ‘thr’
profile/profil.c:71: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘profthr_func’
profile/profil.c:74: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘profthr_func’
profile/profil.c: In function ‘profile_off’:
profile/profil.c:103: warning: implicit declaration of function
‘SignalObjectAndWait’
profile/profil.c:103: error: ‘INFINITE’ undeclared (first use in
this function)
profile/profil.c:103: error: (Each undeclared identifier is reported
only once
profile/profil.c:103: error: for each function it appears in.)
profile/profil.c:103: error: ‘FALSE’ undeclared (first use in this
function)
profile/profil.c:104: warning: implicit declaration of function
‘CloseHandle’
profile/profil.c: In function ‘profile_on’:
profile/profil.c:117: error: ‘DWORD’ undeclared (first use in this
function)
profile/profil.c:117: error: expected ‘;’ before ‘thrid’
profile/profil.c:120: warning: implicit declaration of function
‘DuplicateHandle’
profile/profil.c:120: warning: implicit declaration of function
‘GetCurrentProcess’
profile/profil.c:120: warning: implicit declaration of function
‘GetCurrentThread’
profile/profil.c:121: error: ‘FALSE’ undeclared (first use in this
function)
profile/profil.c:122: error: ‘DUPLICATE_SAME_ACCESS’ undeclared
(first use in this function)
profile/profil.c:128: warning: implicit declaration of function
‘CreateEvent’
profile/profil.c:128: error: ‘TRUE’ undeclared (first use in this
function)
profile/profil.c:138: warning: implicit declaration of function
‘CreateThread’
profile/profil.c:138: warning: implicit declaration of function ‘DWORD’
profile/profil.c:138: error: ‘WINAPI’ undeclared (first use in this
function)
profile/profil.c:138: error: expected expression before ‘)’ token
profile/profil.c:138: error: ‘LPVOID’ undeclared (first use in this
function)
profile/profil.c:154: warning: implicit declaration of function
‘SetThreadPriority’
profile/profil.c:154: error: ‘THREAD_PRIORITY_TIME_CRITICAL’
undeclared (first use in this function)
profile/profil.c: In function ‘profile_ctl’:
profile/profil.c:186: warning: implicit declaration of function ‘memset’
profile/profil.c:186: warning: incompatible implicit declaration of
built-in function ‘memset’
make[2]: *** [profile/lib32_libgmon_a-profil.o] Error 1
make[2]: Leaving directory
`/home/tdineen/Mingw_Build_X86_11_2019/mingw-w64-v2.0.7/mingw-w64-crt'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/home/tdineen/Mingw_Build_X86_11_2019/mingw-w64-v2.0.7/mingw-w64-crt'
make: *** [install-recursive] Error 1
Linux3% pwd
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public