Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in telega server using Msys2 on windows 11 #456

Open
RAraghavarora opened this issue Jan 3, 2024 · 0 comments
Open

Errors in telega server using Msys2 on windows 11 #456

RAraghavarora opened this issue Jan 3, 2024 · 0 comments

Comments

@RAraghavarora
Copy link

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:

$ 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

make[1]: *** [Makefile:35: telega-server] Error 1
make[1]: Leaving directory '/home/raghav/.emacs.d/manually/telega.el/server'
make: *** [Makefile:8: install] Error 2

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant