|
|
依赖的东西都装了,make时不能通过,我猜想可能是红色字体部分的错误导致的,但不知道怎么解决
我没有装gdm等登陆管理器,每次进X都是用#startx
In file included from auth.c:11:
auth.h:5:23: error: X11/Xauth.h: 没有那个文件或目录
In file included from auth.c:11:
auth.h:9: error: syntax error before ‘*’ token
auth.h:9: warning: type defaults to ‘int’ in declaration of ‘entranced_auth_mit_get’
auth.h:9: warning: data definition has no type or storage class
auth.c: In function ‘_entranced_auth_purge’:
auth.c:64: error: ‘Xauth’ undeclared (first use in this function)
auth.c:64: error: (Each undeclared identifier is reported only once
auth.c:64: error: for each function it appears in.)
auth.c:64: error: ‘auth’ undeclared (first use in this function)
auth.c:75: error: ‘XauDisposeAuth’ undeclared (first use in this function)
auth.c:79: warning: implicit declaration of function ‘XauReadAuth’
auth.c:86: error: ‘disp_auth’ undeclared (first use in this function)
auth.c:86: error: syntax error before ‘)’ token
auth.c:93: warning: implicit declaration of function ‘XauDisposeAuth’
auth.c:107: error: ‘xa’ undeclared (first use in this function)
auth.c:108: error: syntax error before ‘)’ token
auth.c:109: warning: implicit declaration of function ‘XauWriteAuth’
auth.c:109: error: syntax error before ‘)’ token
auth.c: At top level:
auth.c:122: error: syntax error before ‘*’ token
auth.c:124: warning: return type defaults to ‘int’
auth.c: In function ‘entranced_auth_mit_get’:
auth.c:125: error: ‘Xauth’ undeclared (first use in this function)
auth.c:125: error: ‘new’ undeclared (first use in this function)
auth.c:127: error: syntax error before ‘)’ token
auth.c:131: error: ‘FamilyWild’ undeclared (first use in this function)
auth.c: At top level:
auth.c:159: error: syntax error before ‘*’ token
auth.c:161: warning: return type defaults to ‘int’
auth.c: In function ‘_entranced_auth_generate’:
auth.c:162: error: ‘Xauth’ undeclared (first use in this function)
auth.c:162: error: ‘auth’ undeclared (first use in this function)
auth.c: In function ‘_entranced_auth_entry_add’:
auth.c:255: error: ‘Xauth’ undeclared (first use in this function)
auth.c:255: error: ‘auth’ undeclared (first use in this function)
auth.c:265: error: ‘FamilyLocal’ undeclared (first use in this function)
auth.c:298: error: ‘XauDisposeAuth’ undeclared (first use in this function)
auth.c: In function ‘entranced_auth_display_secure’:
auth.c:349: error: ‘Xauth’ undeclared (first use in this function)
auth.c:349: error: ‘tmp’ undeclared (first use in this function)
auth.c:350: error: syntax error before ‘)’ token
auth.c: In function ‘entranced_auth_user_add’:
auth.c:434: warning: implicit declaration of function ‘XauLockAuth’
auth.c:434: error: ‘LOCK_SUCCESS’ undeclared (first use in this function)
auth.c:452: warning: implicit declaration of function ‘XauUnlockAuth’
auth.c:469: error: ‘Xauth’ undeclared (first use in this function)
auth.c:469: error: syntax error before ‘)’ token
auth.c: At top level:
auth.c:477: warning: type defaults to ‘int’ in declaration of ‘fclose’
auth.c:477: warning: parameter names (without types) in function declaration
auth.c:477: warning: data definition has no type or storage class
auth.c:478: error: syntax error before ‘->’ token
auth.c:478: warning: type defaults to ‘int’ in declaration of ‘XauUnlockAuth’
auth.c:478: warning: data definition has no type or storage class
auth.c:482: error: syntax error before string constant
auth.c:482: warning: type defaults to ‘int’ in declaration of ‘entranced_debug’
auth.c:482: error: conflicting types for ‘entranced_debug’
util.h:4: error: previous declaration of ‘entranced_debug’ was here
auth.c:482: warning: data definition has no type or storage class
auth.c:483: error: syntax error before numeric constant
auth.c:483: warning: type defaults to ‘int’ in declaration of ‘seteuid’
auth.c:483: warning: data definition has no type or storage class
auth.c: In function ‘entranced_auth_user_remove’:
auth.c:501: error: ‘LOCK_SUCCESS’ undeclared (first use in this function)
make[3]: *** [auth.o] 错误 1
make[3]: Leaving directory `/root/down/e17/apps/entrance/src/daemon'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/down/e17/apps/entrance/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/root/down/e17/apps/entrance/src'
make: *** [all-recursive] 错误 1 |
|