screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem Compiling on MacOS 10.12


From: Larry Ploetz
Subject: Problem Compiling on MacOS 10.12
Date: Wed, 15 Feb 2017 16:24:30 -0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]