Using ritschmaster's setup for setting up telega on Windows, when I build telega server using LIBS_PREFIX=/mingw64 make install, I get the following errors:
$ LIBS_PREFIX=/mingw64 make install
make -C server install
make[1]: Entering directory '/home/raghav/.emacs.d/manually/telega.el/server'
cc -I/mingw64/include -Wall -g -pthread -o telega-server telega-server.c telega-dat.c telega-pngext.c -L/mingw64/lib -Wl,-rpath,/mingw64/lib -ltdjson
In file included from /mingw64/include/_cygwin.h:14,
from /mingw64/include/_mingw.h:15,
from /mingw64/include/corecrt.h:10,
from /mingw64/include/crtdefs.h:10,
from /mingw64/include/stddef.h:7,
from /mingw64/include/pthread.h:62,
from telega-server.c:22:
/mingw64/include/stddef.h:18:10: error: expected ‘;’ before ‘extern’
18 | _CRTIMP extern int *__cdecl _errno(void);
| ^~~~~~~
| ;
/mingw64/include/stddef.h:20:3: warning: data definition has no type or storage class
20 | errno_t __cdecl _set_errno(int _Value);
| ^~~~~~~
After a thousand lines of more c errors that I do not understand
Telega Setup
OS: Windows11 Emacs: 29.1 Telega: release-0.8.0
git
Current Behavior
Using ritschmaster's setup for setting up telega on Windows, when I build telega server using
LIBS_PREFIX=/mingw64 make install
, I get the following errors:After a thousand lines of more c errors that I do not understand
Steps to Reproduce
Following all the steps in the guide: https://ritschmaster.github.io/2021/06/13/Using-telga-in-Windows-10.html Using Windows 11, GNU Emacs installed with Msys2 MinGW 64-bit Terminal