找回密码
 加入
搜索
查看: 2809|回复: 3

[系统综合] 今天编译脚本报错,SecurityConstants.au3出错,请高手看看

[复制链接]
发表于 2011-11-12 17:40:50 | 显示全部楼层 |阅读模式
E:\greensoft\autoit3\Include\SecurityConstants.au3(14,75) : ERROR: $SE_ASSIGNPRIMARYTOKEN_NAME previously declared as a 'Const'
Global Const $SE_ASSIGNPRIMARYTOKEN_NAME        = "SeAssignPrimaryTokenPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(15,53) : ERROR: $SE_AUDIT_NAME previously declared as a 'Const'
Global Const $SE_AUDIT_NAME                                        = "SeAuditPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~                                        ~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(16,54) : ERROR: $SE_BACKUP_NAME previously declared as a 'Const'
Global Const $SE_BACKUP_NAME                                = "SeBackupPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                ~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(17,66) : ERROR: $SE_CHANGE_NOTIFY_NAME previously declared as a 'Const'
Global Const $SE_CHANGE_NOTIFY_NAME                        = "SeChangeNotifyPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(19,69) : ERROR: $SE_CREATE_PAGEFILE_NAME previously declared as a 'Const'
Global Const $SE_CREATE_PAGEFILE_NAME                = "SeCreatePagefilePrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(20,71) : ERROR: $SE_CREATE_PERMANENT_NAME previously declared as a 'Const'
Global Const $SE_CREATE_PERMANENT_NAME                = "SeCreatePermanentPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(21,64) : ERROR: $SE_CREATE_TOKEN_NAME previously declared as a 'Const'
Global Const $SE_CREATE_TOKEN_NAME                        = "SeCreateTokenPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(22,53) : ERROR: $SE_DEBUG_NAME previously declared as a 'Const'
Global Const $SE_DEBUG_NAME                                        = "SeDebugPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~                                        ~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(25,77) : ERROR: $SE_INC_BASE_PRIORITY_NAME previously declared as a 'Const'
Global Const $SE_INC_BASE_PRIORITY_NAME                = "SeIncreaseBasePriorityPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(26,67) : ERROR: $SE_INCREASE_QUOTA_NAME previously declared as a 'Const'
Global Const $SE_INCREASE_QUOTA_NAME                = "SeIncreaseQuotaPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(27,62) : ERROR: $SE_LOAD_DRIVER_NAME previously declared as a 'Const'
Global Const $SE_LOAD_DRIVER_NAME                        = "SeLoadDriverPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(28,62) : ERROR: $SE_LOCK_MEMORY_NAME previously declared as a 'Const'
Global Const $SE_LOCK_MEMORY_NAME                        = "SeLockMemoryPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(29,69) : ERROR: $SE_MACHINE_ACCOUNT_NAME previously declared as a 'Const'
Global Const $SE_MACHINE_ACCOUNT_NAME                = "SeMachineAccountPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(31,78) : ERROR: $SE_PROF_SINGLE_PROCESS_NAME previously declared as a 'Const'
Global Const $SE_PROF_SINGLE_PROCESS_NAME        = "SeProfileSingleProcessPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(32,69) : ERROR: $SE_REMOTE_SHUTDOWN_NAME previously declared as a 'Const'
Global Const $SE_REMOTE_SHUTDOWN_NAME                = "SeRemoteShutdownPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(33,56) : ERROR: $SE_RESTORE_NAME previously declared as a 'Const'
Global Const $SE_RESTORE_NAME                                = "SeRestorePrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                ~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(34,58) : ERROR: $SE_SECURITY_NAME previously declared as a 'Const'
Global Const $SE_SECURITY_NAME                                = "SeSecurityPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                ~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(35,58) : ERROR: $SE_SHUTDOWN_NAME previously declared as a 'Const'
Global Const $SE_SHUTDOWN_NAME                                = "SeShutdownPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                ~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(37,74) : ERROR: $SE_SYSTEM_ENVIRONMENT_NAME previously declared as a 'Const'
Global Const $SE_SYSTEM_ENVIRONMENT_NAME        = "SeSystemEnvironmentPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(38,67) : ERROR: $SE_SYSTEM_PROFILE_NAME previously declared as a 'Const'
Global Const $SE_SYSTEM_PROFILE_NAME                = "SeSystemProfilePrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(39,61) : ERROR: $SE_SYSTEMTIME_NAME previously declared as a 'Const'
Global Const $SE_SYSTEMTIME_NAME                        = "SeSystemtimePrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(40,67) : ERROR: $SE_TAKE_OWNERSHIP_NAME previously declared as a 'Const'
Global Const $SE_TAKE_OWNERSHIP_NAME                = "SeTakeOwnershipPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(41,49) : ERROR: $SE_TCB_NAME previously declared as a 'Const'
Global Const $SE_TCB_NAME                                        = "SeTcbPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~                                        ~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(42,73) : ERROR: $SE_UNSOLICITED_INPUT_NAME previously declared as a 'Const'
Global Const $SE_UNSOLICITED_INPUT_NAME                = "SeUnsolicitedInputPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(43,54) : ERROR: $SE_UNDOCK_NAME previously declared as a 'Const'
Global Const $SE_UNDOCK_NAME                                = "SeUndockPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                ~~~~~~~~~~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(79,49) : ERROR: $TOKEN_ASSIGN_PRIMARY previously declared as a 'Const'
Global Const $TOKEN_ASSIGN_PRIMARY                = 0x00000001
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(80,45) : ERROR: $TOKEN_DUPLICATE previously declared as a 'Const'
Global Const $TOKEN_DUPLICATE                        = 0x00000002
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(81,47) : ERROR: $TOKEN_IMPERSONATE previously declared as a 'Const'
Global Const $TOKEN_IMPERSONATE                        = 0x00000004
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(82,42) : ERROR: $TOKEN_QUERY previously declared as a 'Const'
Global Const $TOKEN_QUERY                                = 0x00000008
~~~~~~~~~~~~~~~~~~~~~~~~~                                ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(83,47) : ERROR: $TOKEN_QUERY_SOURCE previously declared as a 'Const'
Global Const $TOKEN_QUERY_SOURCE                = 0x00000010
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(84,51) : ERROR: $TOKEN_ADJUST_PRIVILEGES previously declared as a 'Const'
Global Const $TOKEN_ADJUST_PRIVILEGES        = 0x00000020
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(85,48) : ERROR: $TOKEN_ADJUST_GROUPS previously declared as a 'Const'
Global Const $TOKEN_ADJUST_GROUPS                = 0x00000040
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(86,49) : ERROR: $TOKEN_ADJUST_DEFAULT previously declared as a 'Const'
Global Const $TOKEN_ADJUST_DEFAULT                = 0x00000080
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\SecurityConstants.au3(87,50) : ERROR: $TOKEN_ADJUST_SESSIONID previously declared as a 'Const'
Global Const $TOKEN_ADJUST_SESSIONID        = 0x00000100
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\FileConstants.au3(74,40) : ERROR: $GENERIC_ALL previously declared as a 'Const'
Global Const $GENERIC_ALL                = 0x10000000
~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\FileConstants.au3(75,43) : ERROR: $GENERIC_EXECUTE previously declared as a 'Const'
Global Const $GENERIC_EXECUTE        = 0x20000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\FileConstants.au3(76,42) : ERROR: $GENERIC_WRITE previously declared as a 'Const'
Global Const $GENERIC_WRITE                = 0x40000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~^
E:\greensoft\autoit3\Include\FileConstants.au3(77,41) : ERROR: $GENERIC_READ previously declared as a 'Const'
Global Const $GENERIC_READ                = 0x80000000
~~~~~~~~~~~~~~~~~~~~~~~~~~                ~~~~~~~~~~~~^
E:\IT\网络实战项目\163.WINDOWS用户密码管理\ChangPassword-client.au3 - 38 error(s), 0 warning(s)
发表于 2011-11-14 12:36:29 | 显示全部楼层
看什么,常量重复定义了
发表于 2011-11-14 12:48:43 | 显示全部楼层
注释掉就OK啦
 楼主| 发表于 2011-11-17 21:09:18 | 显示全部楼层

以解决RE: 今天编译脚本报错,SecurityConstants.au3出错,请高手看看

修改了变量名问题已经解决了。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-15 16:41 , Processed in 0.074177 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表