Having a problem compiling screen from git repo:

gcc -c -I/usr/X11/include/xorg -I/usr/X11/include -I/opt/local/include/pixman-1 -iquote. -DSCREENENCODINGS='"/usr/local/share/screen/utf8encodings"' -g -O2 -Wall -Wextra -std=c11 ../comm.c -o comm.o
In file included from ../authentication.c:14:
In file included from /usr/X11/include/xorg/shadow.h:27:
In file included from /usr/X11/include/xorg/scrnintstr.h:50:
In file included from /usr/X11/include/xorg/screenint.h:50:
In file included from /usr/X11/include/xorg/misc.h:77:
/usr/X11/include/X11/X.h:96:13: error: typedef redefinition with different types ('XID' (aka 'unsigned long') vs 'struct Window')
typedef XID Window;
            ^
../window.h:136:23: note: previous definition is here
typedef struct Window Window;
                      ^
../acls.c:412:18: warning: unused variable 'u' [-Wunused-variable]
        struct acluser *u;
                        ^
../acls.c:413:6: warning: unused variable 'sorry' [-Wunused-variable]
        int sorry = 0;
            ^
../acls.c:410:29: warning: unused parameter 'up' [-Wunused-parameter]
char *DoSu(struct acluser **up, char *name, char *pw1, char *pw2)
                            ^
../acls.c:410:39: warning: unused parameter 'name' [-Wunused-parameter]
char *DoSu(struct acluser **up, char *name, char *pw1, char *pw2)
                                      ^
../acls.c:410:51: warning: unused parameter 'pw1' [-Wunused-parameter]
char *DoSu(struct acluser **up, char *name, char *pw1, char *pw2)
                                                  ^
../acls.c:410:62: warning: unused parameter 'pw2' [-Wunused-parameter]
char *DoSu(struct acluser **up, char *name, char *pw1, char *pw2)
                                                             ^

Any suggestions?

Thanks,

- Larry


_______________________________________________
screen-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to