libflite with x86_64

Any other issues that don't fit into the other problem categorizes.

libflite with x86_64

Postby rogerdpack » Mon Sep 17, 2012 4:09 pm

Hello all.
I'm getting this problem when compiling libflite with x86_64.

Any ideas on this one?
Thanks!
-roger-


/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32-gcc -g -O2 -Wall -DCST_NO_SOCKETS -DUNDER_WINDOWS -DWIN32 -shared -I../include -c -o find_sts_main.o find_sts_main.c
In file included from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/winnt.h:1472:0,
from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/windef.h:139,
from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/windows.h:69,
from ../include/cst_file.h:63,
from ../include/cst_wave.h:43,
from find_sts_main.c:47:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/intrin.h:401:5: error: conflicting types for 'memcmp'
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/intrin.h:402:5: error: conflicting types for 'memcpy'
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/intrin.h:462:5: error: conflicting types for 'strcat'
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/intrin.h:463:5: error: conflicting types for 'strcmp'
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/intrin.h:464:5: error: conflicting types for 'strcpy'
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/intrin.h:465:5: error: conflicting types for 'strlen'
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/intrin.h:1054:5: error: conflicting types for 'wcscat'
In file included from find_sts_main.c:42:0:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/string.h:118:20: note: previous declaration of 'wcscat' was here
In file included from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/winnt.h:1472:0,
from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/windef.h:139,
from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/windows.h:69,
from ../include/cst_file.h:63,
from ../include/cst_wave.h:43,
from find_sts_main.c:47:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/intrin.h:1055:5: error: conflicting types for 'wcscmp'
In file included from find_sts_main.c:42:0:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/string.h:120:15: note: previous declaration of 'wcscmp' was here
In file included from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/winnt.h:1472:0,
from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/windef.h:139,
from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/windows.h:69,
from ../include/cst_file.h:63,
from ../include/cst_wave.h:43,
from find_sts_main.c:47:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/intrin.h:1056:5: error: conflicting types for 'wcscpy'
In file included from find_sts_main.c:42:0:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/string.h:121:20: note: previous declaration of 'wcscpy' was here
In file included from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/winnt.h:1472:0,
from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/windef.h:139,
from /home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/windows.h:69,
from ../include/cst_file.h:63,
from ../include/cst_wave.h:43,
from find_sts_main.c:47:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/intrin.h:1057:5: error: conflicting types for 'wcslen'
In file included from find_sts_main.c:42:0:
/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/string.h:123:18: note: previous declaration of 'wcslen' was here
rogerdpack
 
Posts: 1454
Joined: Fri Aug 05, 2011 9:56 pm

Re: libflite with x86_64

Postby rogerdpack » Mon Nov 05, 2012 9:59 am

I fixed it by moving a #include <windows.h>
to before an odd
#define const

in the code...
rogerdpack
 
Posts: 1454
Joined: Fri Aug 05, 2011 9:56 pm


Return to Other Issues

Who is online

Users browsing this forum: No registered users and 2 guests