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

Unable to compile #340

Open
Atra99 opened this issue Aug 23, 2024 · 1 comment
Open

Unable to compile #340

Atra99 opened this issue Aug 23, 2024 · 1 comment

Comments

@Atra99
Copy link

Atra99 commented Aug 23, 2024

I'm attempting to compile xorgxrdp in Manjaro Linux. When running make, I get the following error.

rdpClientCon.c: In function 'rdpClientConInit':
rdpClientCon.c:1564:21: error: 'display' undeclared (first use in this function)
1564 |     i = (int)strtol(display, &endptr, 10);
     |                     ^~~~~~~
rdpClientCon.c:1564:21: note: each undeclared identifier is reported only once for each function it app
ears in
make[3]: *** [Makefile:681: rdpClientCon.lo] Error 1

I'm sure I'm doing something wrong, but I can't find any information online about what would be causing this

@matt335672
Copy link
Member

It's a bit obscure.

The variable display is a global X server variable defined in /usr/include/xorg/opaque.h on my (Ubuntu) system. That file is pulled in by #include <xf86_OSproc.h> Maybe there's another opaque.h on your include path(?)

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

2 participants