Giter VIP home page Giter VIP logo

Comments (8)

chobie avatar chobie commented on August 18, 2024

Is this function branch?

from php-git.

gwijayas avatar gwijayas commented on August 18, 2024

well, the error messages from functions branch. But I got the same error on develop branch too, before...

from php-git.

gwijayas avatar gwijayas commented on August 18, 2024

Try to my other machine, Xubuntu 13.10, PHP 5.3.27(build my self), got the same error messages. These are what I've done:

$ git clone https://github.com/libgit2/php-git.git php-git-functions
$ cd php-git-functions
$ git checkout functions
$ git submodule init && git submodule update
$ mkdir libgit2/build && cd libgit2/build
$ cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF ..
$ cmake --build .
-- The C compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.1e") 
http-parser was not found or is too old; using bundled 3rd-party sources.
-- Found zlib: /usr/lib/x86_64-linux-gnu/libz.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jaya/src/gitrepo/php-git-functions/libgit2/build
$ cd ../../
$ phpize
$ ./configure
$ make

where as on develop branch, the error messages are (PHP 5.3.27):

/opt/apache22/php/5.3/include/php/Zend/zend_API.h:420:14: note: expected ‘char *’ but argument is of type ‘const char *’
 ZEND_API int add_property_string_ex(zval *arg, const char *key, uint key_len, char *str, int duplicate TSRMLS_DC);
              ^
/home/jaya/src/gitrepo/php-git/repository.c: In function ‘zim_git2_repository_headOrphan’:
/home/jaya/src/gitrepo/php-git/repository.c:290:3: warning: implicit declaration of function ‘git_repository_head_orphan’ [-Wimplicit-function-declaration]
   if (git_repository_head_orphan(m_repository->repository) == 1) {
   ^
/home/jaya/src/gitrepo/php-git/repository.c: In function ‘zim_git2_repository_write’:
/home/jaya/src/gitrepo/php-git/repository.c:464:2: warning: passing argument 1 of ‘stream->finalize_write’ from incompatible pointer type [enabled by default]
  error = stream->finalize_write(&oid, stream);
  ^
/home/jaya/src/gitrepo/php-git/repository.c:464:2: note: expected ‘struct git_odb_stream *’ but argument is of type ‘struct git_oid *’
/home/jaya/src/gitrepo/php-git/repository.c:464:2: warning: passing argument 2 of ‘stream->finalize_write’ from incompatible pointer type [enabled by default]
/home/jaya/src/gitrepo/php-git/repository.c:464:2: note: expected ‘const struct git_oid *’ but argument is of type ‘struct git_odb_stream *’
/home/jaya/src/gitrepo/php-git/repository.c: At top level:
/home/jaya/src/gitrepo/php-git/repository.c:534:2: error: unknown type name ‘git_diff_range’
  const git_diff_range *range,
  ^
/home/jaya/src/gitrepo/php-git/repository.c: In function ‘zim_git2_repository_diff’:
/home/jaya/src/gitrepo/php-git/repository.c:554:2: error: unknown type name ‘git_diff_list’
  git_diff_list *list;
  ^
/home/jaya/src/gitrepo/php-git/repository.c:566:2: warning: passing argument 1 of ‘git_diff_tree_to_tree’ from incompatible pointer type [enabled by default]
  git_diff_tree_to_tree(m_repository->repository, NULL, m_old->tree, m_new->tree, &list);
  ^
In file included from /home/jaya/src/gitrepo/php-git/libgit2/include/git2/checkout.h:12:0,
                 from /home/jaya/src/gitrepo/php-git/libgit2/include/git2.h:16,
                 from /home/jaya/src/gitrepo/php-git/php_git2.h:41,
                 from /home/jaya/src/gitrepo/php-git/repository.c:25:
/home/jaya/src/gitrepo/php-git/libgit2/include/git2/diff.h:600:17: note: expected ‘struct git_diff **’ but argument is of type ‘struct git_repository *’
 GIT_EXTERN(int) git_diff_tree_to_tree(
                 ^
/home/jaya/src/gitrepo/php-git/repository.c:566:2: warning: passing argument 5 of ‘git_diff_tree_to_tree’ from incompatible pointer type [enabled by default]
  git_diff_tree_to_tree(m_repository->repository, NULL, m_old->tree, m_new->tree, &list);
  ^
In file included from /home/jaya/src/gitrepo/php-git/libgit2/include/git2/checkout.h:12:0,
                 from /home/jaya/src/gitrepo/php-git/libgit2/include/git2.h:16,
                 from /home/jaya/src/gitrepo/php-git/php_git2.h:41,
                 from /home/jaya/src/gitrepo/php-git/repository.c:25:
/home/jaya/src/gitrepo/php-git/libgit2/include/git2/diff.h:600:17: note: expected ‘const struct git_diff_options *’ but argument is of type ‘int **’
 GIT_EXTERN(int) git_diff_tree_to_tree(
                 ^
/home/jaya/src/gitrepo/php-git/repository.c:568:2: warning: implicit declaration of function ‘git_diff_print_compact’ [-Wimplicit-function-declaration]
  git_diff_print_compact(list, &string, printer);
  ^
/home/jaya/src/gitrepo/php-git/repository.c:570:2: warning: implicit declaration of function ‘git_diff_list_free’ [-Wimplicit-function-declaration]
  git_diff_list_free(list);
  ^
/home/jaya/src/gitrepo/php-git/repository.c: At top level:
/home/jaya/src/gitrepo/php-git/repository.c:598:0: warning: macro "lookup" is not used [-Wunused-macros]
 #define lookup php_lookup
 ^
make: *** [repository.lo] Error 1

Test to other machine, Ubuntu 12.04, GCC 4.6.3, have error on repository.lo on develop branch, and reference.lo on functions branch

from php-git.

chobie avatar chobie commented on August 18, 2024

thanks reporting it. I didn't notice that compile error as I've developed with osx.

probably you will need to pass -fPIC flag when compile this with 64bit box.

from php-git.

gwijayas avatar gwijayas commented on August 18, 2024

my .bashrc entry like these:

export CFLAGS="-fPIC -Os -s -march=native -mtune=native"
export CXXFLAGS="${CFLAGS}"

But I still got the same error messages

from php-git.

gwijayas avatar gwijayas commented on August 18, 2024

Ups, sorry, I didn't see that you have commited the update ...

Yes, finally I can make and install the module from functions branch.

from php-git.

skylei avatar skylei commented on August 18, 2024

/bin/sh /usr/local/src/php-git/libtool --mode=compile cc -I. -I/usr/local/src/php-git -DPHP_ATOM_INC -I/usr/local/src/php-git/include -I/usr/local/src/php-git/main -I/usr/local/src/php-git -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/src/php-git/libgit2/include -DHAVE_CONFIG_H -g -O2 -Wunused-variable -Wpointer-sign -Wimplicit-function-declaration -Winline -Wunused-macros -Wredundant-decls -Wstrict-aliasing=2 -Wswitch-enum -Wdeclaration-after-statement -Wl,libgit2/build/libgit2.a -c /usr/local/src/php-git/php_git2.c -o php_git2.lo cc -I. -I/usr/local/src/php-git -DPHP_ATOM_INC -I/usr/local/src/php-git/include -I/usr/local/src/php-git/main -I/usr/local/src/php-git -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/src/php-git/libgit2/include -DHAVE_CONFIG_H -g -O2 -Wunused-variable -Wpointer-sign -Wimplicit-function-declaration -Winline -Wunused-macros -Wredundant-decls -Wstrict-aliasing=2 -Wswitch-enum -Wdeclaration-after-statement -Wl,libgit2/build/libgit2.a -c /usr/local/src/php-git/php_git2.c -fPIC -DPIC -o .libs/php_git2.o In file included from /usr/local/src/php-git/php_git2.h:36, from /usr/local/src/php-git/php_git2.c:26: /usr/local/php/include/php/main/php.h:270: 警告:对‘environ’冗余的重声明 /usr/include/unistd.h:542: 附注:‘environ’的上一个声明在此 In file included from /usr/local/php/include/php/ext/standard/basic_functions.h:31, from /usr/local/php/include/php/ext/standard/php_var.h:24, from /usr/local/src/php-git/php_git2.h:43, from /usr/local/src/php-git/php_git2.c:26: /usr/local/php/include/php/ext/standard/php_filestat.h:62: 警告:对‘zif_clearstatcache’冗余的重声明 /usr/local/php/include/php/ext/standard/php_filestat.h:29: 附注:‘zif_clearstatcache’的上一个声明在此 在包含自 /usr/local/src/php-git/php_git2.c:26 的文件中: /usr/local/src/php-git/php_git2.h:50:18: 错误:git2.h:没有那个文件或目录 /usr/local/src/php-git/php_git2.h:51:22: 错误:git2/odb.h:没有那个文件或目录 /usr/local/src/php-git/php_git2.h:52:30: 错误:git2/odb_backend.h:没有那个文件或目录 /usr/local/src/php-git/php_git2.h:53:24: 错误:git2/trace.h:没有那个文件或目录 /usr/local/src/php-git/php_git2.h:54:29: 错误:git2/sys/filter.h:没有那个文件或目录 /usr/local/src/php-git/php_git2.h:55:34: 错误:git2/sys/odb_backend.h:没有那个文件或目录 In file included from /usr/local/php/include/php/ext/date/php_date.h:24, from /usr/local/src/php-git/php_git2.h:57, from /usr/local/src/php-git/php_git2.c:26: /usr/local/php/include/php/ext/date/lib/timelib.h:153: 警告:对‘timelib_parse_tz_cor’冗余的重声明 /usr/local/php/include/php/ext/date/lib/timelib.h:92: 附注:‘timelib_parse_tz_cor’的上一个声明在此 In file included from /usr/local/src/php-git/php_git2.c:26: /usr/local/src/php-git/php_git2.h:147: 错误:expected specifier-qualifier-list before ‘git_repository’ /usr/local/src/php-git/php_git2.h:223: 错误:expected specifier-qualifier-list before ‘git_filter’ /usr/local/src/php-git/php_git2.h:228: 错误:expected specifier-qualifier-list before ‘git_odb_backend’ /usr/local/src/php-git/php_git2.h:234: 错误:expected specifier-qualifier-list before ‘git_odb_foreach_cb’ In file included from /usr/local/src/php-git/php_git2_priv.h:96, from /usr/local/src/php-git/php_git2.c:27: /usr/local/src/php-git/helper.h:41: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:43: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:45: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:54: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:56: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:58: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:60: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:62: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:68: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:70: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:72: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:74: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:76: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:78: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:80: 错误:expected ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:83: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:88: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:92: 错误:expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /usr/local/src/php-git/helper.h:97: 错误:expected ‘)’ before ‘*’ token In file included from /usr/local/src/php-git/php_git2.c:29: /usr/local/src/php-git/commit.h:172: 警告:对‘zif_git_commit_tree’冗余的重声明 /usr/local/src/php-git/commit.h:128: 附注:‘zif_git_commit_tree’的上一个声明在此 /usr/local/src/php-git/php_git2.c: 在函数‘destruct_git2’中: /usr/local/src/php-git/php_git2.c:81: 警告:隐式声明函数‘git_repository_free’ /usr/local/src/php-git/php_git2.c:81: 错误:‘union <anonymous>’没有名为‘repository’的成员 /usr/local/src/php-git/php_git2.c:84: 警告:隐式声明函数‘git_commit_free’ /usr/local/src/php-git/php_git2.c:84: 错误:‘union <anonymous>’没有名为‘commit’的成员 /usr/local/src/php-git/php_git2.c:87: 警告:隐式声明函数‘git_tree_free’ /usr/local/src/php-git/php_git2.c:87: 错误:‘union <anonymous>’没有名为‘tree’的成员 /usr/local/src/php-git/php_git2.c:90: 警告:隐式声明函数‘git_tree_entry_free’ /usr/local/src/php-git/php_git2.c:90: 错误:‘union <anonymous>’没有名为‘tree_entry’的成员 /usr/local/src/php-git/php_git2.c:93: 警告:隐式声明函数‘git_blob_free’ /usr/local/src/php-git/php_git2.c:93: 错误:‘union <anonymous>’没有名为‘blob’的成员 /usr/local/src/php-git/php_git2.c:96: 警告:隐式声明函数‘git_revwalk_free’ /usr/local/src/php-git/php_git2.c:96: 错误:‘union <anonymous>’没有名为‘revwalk’的成员 /usr/local/src/php-git/php_git2.c:99: 警告:隐式声明函数‘git_treebuilder_free’ /usr/local/src/php-git/php_git2.c:99: 错误:‘union <anonymous>’没有名为‘treebuilder’的成员 /usr/local/src/php-git/php_git2.c:102: 警告:隐式声明函数‘git_reference_free’ /usr/local/src/php-git/php_git2.c:102: 错误:‘union <anonymous>’没有名为‘reference’的成员 /usr/local/src/php-git/php_git2.c:105: 警告:隐式声明函数‘git_config_free’ /usr/local/src/php-git/php_git2.c:105: 错误:‘union <anonymous>’没有名为‘config’的成员 /usr/local/src/php-git/php_git2.c:108: 警告:隐式声明函数‘git_object_free’ /usr/local/src/php-git/php_git2.c:108: 错误:‘union <anonymous>’没有名为‘object’的成员 /usr/local/src/php-git/php_git2.c:112: 错误:‘union <anonymous>’没有名为‘filter’的成员 /usr/local/src/php-git/php_git2.c:113: 错误:‘php_git2_filter’没有名为‘multi’的成员 /usr/local/src/php-git/php_git2.c:114: 错误:‘php_git2_filter’没有名为‘multi’的成员 /usr/local/src/php-git/php_git2.c:119: 警告:隐式声明函数‘git_filter_list_free’ /usr/local/src/php-git/php_git2.c:119: 错误:‘union <anonymous>’没有名为‘filter_list’的成员 /usr/local/src/php-git/php_git2.c:123: 错误:‘union <anonymous>’没有名为‘odb_backend’的成员 /usr/local/src/php-git/php_git2.c:124: 错误:‘php_git2_odb_backend’没有名为‘multi’的成员 /usr/local/src/php-git/php_git2.c:125: 错误:‘php_git2_odb_backend’没有名为‘multi’的成员 /usr/local/src/php-git/php_git2.c:126: 错误:‘union <anonymous>’没有名为‘odb_backend’的成员 /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_REFERENCE_ITERATOR’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_CONFIG_ITERATOR’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_INDEX’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_ODB’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_REFDB’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_STATUS_LIST’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_BRANCH_ITERATOR’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_TAG’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_CRED’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_TRANSPORT’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_REMOTE’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_DIFF’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_MERGE_RESULT’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_MERGE_HEAD’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_PATHSPEC’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_PATHSPEC_MATCH_LIST’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_PATCH’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_DIFF_HUNK’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_BUF’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_FILTER_SOURCE’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_DIFF_LINE’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_INDEX_CONFLICT_ITERATOR’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_SMART_SUBTRANSPORT’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_NOTE’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_NOTE_ITERATOR’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_ODB_STREAM’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_ODB_OBJECT’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_ODB_WRITEPACK’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_REFLOG’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_REFLOG_ENTRY’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_BLAME’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_PACKBUILDER’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_SUBMODULE’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_PUSH’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_REFSPEC’ /usr/local/src/php-git/php_git2.c:79: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_INDEXER’ /usr/local/src/php-git/php_git2.c: 在函数‘php_git2_make_resource’中: /usr/local/src/php-git/php_git2.c:157: 错误:‘union <anonymous>’没有名为‘repository’的成员 /usr/local/src/php-git/php_git2.c:157: 错误:‘git_repository’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:157: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其 /usr/local/src/php-git/php_git2.c:157: 错误:所在的函数内也只报告一次。) /usr/local/src/php-git/php_git2.c:157: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:160: 错误:‘union <anonymous>’没有名为‘commit’的成员 /usr/local/src/php-git/php_git2.c:160: 错误:‘git_commit’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:160: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:163: 错误:‘union <anonymous>’没有名为‘tree’的成员 /usr/local/src/php-git/php_git2.c:163: 错误:‘git_tree’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:163: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:166: 错误:‘union <anonymous>’没有名为‘tree_entry’的成员 /usr/local/src/php-git/php_git2.c:166: 错误:‘git_tree_entry’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:166: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:169: 错误:‘union <anonymous>’没有名为‘blob’的成员 /usr/local/src/php-git/php_git2.c:169: 错误:‘git_blob’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:169: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:172: 错误:‘union <anonymous>’没有名为‘revwalk’的成员 /usr/local/src/php-git/php_git2.c:172: 错误:‘git_revwalk’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:172: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:175: 错误:‘union <anonymous>’没有名为‘treebuilder’的成员 /usr/local/src/php-git/php_git2.c:175: 错误:‘git_treebuilder’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:175: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:178: 错误:‘union <anonymous>’没有名为‘reference’的成员 /usr/local/src/php-git/php_git2.c:178: 错误:‘git_reference’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:178: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:181: 错误:‘union <anonymous>’没有名为‘reference_iterator’的成员 /usr/local/src/php-git/php_git2.c:181: 错误:‘git_reference_iterator’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:181: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:184: 错误:‘union <anonymous>’没有名为‘config’的成员 /usr/local/src/php-git/php_git2.c:184: 错误:‘git_config’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:184: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:187: 错误:‘union <anonymous>’没有名为‘config_iterator’的成员 /usr/local/src/php-git/php_git2.c:187: 错误:‘git_config_iterator’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:187: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:190: 错误:‘union <anonymous>’没有名为‘object’的成员 /usr/local/src/php-git/php_git2.c:190: 错误:‘git_object’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:190: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:193: 错误:‘union <anonymous>’没有名为‘index’的成员 /usr/local/src/php-git/php_git2.c:193: 错误:‘git_index’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:193: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:196: 错误:‘union <anonymous>’没有名为‘odb’的成员 /usr/local/src/php-git/php_git2.c:196: 错误:‘git_odb’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:196: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:199: 错误:‘union <anonymous>’没有名为‘refdb’的成员 /usr/local/src/php-git/php_git2.c:199: 错误:‘git_refdb’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:199: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:202: 错误:‘union <anonymous>’没有名为‘status_list’的成员 /usr/local/src/php-git/php_git2.c:202: 错误:‘git_status_list’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:202: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:205: 错误:‘union <anonymous>’没有名为‘branch_iterator’的成员 /usr/local/src/php-git/php_git2.c:205: 错误:‘git_branch_iterator’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:205: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:208: 错误:‘union <anonymous>’没有名为‘tag’的成员 /usr/local/src/php-git/php_git2.c:208: 错误:‘git_tag’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:208: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:211: 错误:‘union <anonymous>’没有名为‘cred’的成员 /usr/local/src/php-git/php_git2.c:211: 错误:‘git_cred’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:211: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:214: 错误:‘union <anonymous>’没有名为‘transport’的成员 /usr/local/src/php-git/php_git2.c:214: 错误:‘git_transport’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:214: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:217: 错误:‘union <anonymous>’没有名为‘remote’的成员 /usr/local/src/php-git/php_git2.c:217: 错误:‘git_remote’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:217: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:220: 错误:‘union <anonymous>’没有名为‘diff’的成员 /usr/local/src/php-git/php_git2.c:220: 错误:‘git_diff’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:220: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:223: 错误:‘union <anonymous>’没有名为‘merge_result’的成员 /usr/local/src/php-git/php_git2.c:223: 错误:‘git_merge_result’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:223: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:226: 错误:‘union <anonymous>’没有名为‘merge_head’的成员 /usr/local/src/php-git/php_git2.c:226: 错误:‘git_merge_head’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:226: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:229: 错误:‘union <anonymous>’没有名为‘pathspec’的成员 /usr/local/src/php-git/php_git2.c:229: 错误:‘git_pathspec’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:229: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:232: 错误:‘union <anonymous>’没有名为‘pathspec_match_list’的成员 /usr/local/src/php-git/php_git2.c:232: 错误:‘git_pathspec_match_list’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:232: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:235: 错误:‘union <anonymous>’没有名为‘patch’的成员 /usr/local/src/php-git/php_git2.c:235: 错误:‘git_patch’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:235: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:238: 错误:‘union <anonymous>’没有名为‘diff_hunk’的成员 /usr/local/src/php-git/php_git2.c:238: 错误:‘git_diff_hunk’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:238: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:241: 错误:‘union <anonymous>’没有名为‘buf’的成员 /usr/local/src/php-git/php_git2.c:241: 错误:‘git_buf’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:241: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:244: 错误:‘union <anonymous>’没有名为‘filter_list’的成员 /usr/local/src/php-git/php_git2.c:244: 错误:‘git_filter_list’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:244: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:247: 错误:‘union <anonymous>’没有名为‘filter_source’的成员 /usr/local/src/php-git/php_git2.c:247: 错误:‘git_filter_source’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:247: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:250: 错误:‘union <anonymous>’没有名为‘diff_line’的成员 /usr/local/src/php-git/php_git2.c:250: 错误:‘git_diff_line’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:250: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:253: 错误:‘union <anonymous>’没有名为‘index_conflict_iterator’的成员 /usr/local/src/php-git/php_git2.c:253: 错误:‘git_index_conflict_iterator’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:253: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:256: 错误:‘union <anonymous>’没有名为‘smart_subtransport’的成员 /usr/local/src/php-git/php_git2.c:256: 错误:‘git_smart_subtransport’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:256: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:259: 错误:‘union <anonymous>’没有名为‘note’的成员 /usr/local/src/php-git/php_git2.c:259: 错误:‘git_note’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:259: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:262: 错误:‘union <anonymous>’没有名为‘note_iterator’的成员 /usr/local/src/php-git/php_git2.c:262: 错误:‘git_note_iterator’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:262: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:265: 错误:‘union <anonymous>’没有名为‘odb_stream’的成员 /usr/local/src/php-git/php_git2.c:265: 错误:‘git_odb_stream’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:265: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:268: 错误:‘union <anonymous>’没有名为‘odb_object’的成员 /usr/local/src/php-git/php_git2.c:268: 错误:‘git_odb_object’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:268: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:271: 错误:‘union <anonymous>’没有名为‘odb_writepack’的成员 /usr/local/src/php-git/php_git2.c:271: 错误:‘git_odb_writepack’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:271: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:274: 错误:‘union <anonymous>’没有名为‘odb_backend’的成员 /usr/local/src/php-git/php_git2.c:274: 错误:‘git_odb_backend’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:274: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:277: 错误:‘union <anonymous>’没有名为‘reflog’的成员 /usr/local/src/php-git/php_git2.c:277: 错误:‘git_reflog’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:277: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:280: 错误:‘union <anonymous>’没有名为‘reflog_entry’的成员 /usr/local/src/php-git/php_git2.c:280: 错误:‘git_reflog_entry’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:280: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:283: 错误:‘union <anonymous>’没有名为‘blame’的成员 /usr/local/src/php-git/php_git2.c:283: 错误:‘git_blame’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:283: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:286: 错误:‘union <anonymous>’没有名为‘packbuilder’的成员 /usr/local/src/php-git/php_git2.c:286: 错误:‘git_packbuilder’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:286: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:289: 错误:‘union <anonymous>’没有名为‘submodule’的成员 /usr/local/src/php-git/php_git2.c:289: 错误:‘git_submodule’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:289: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:292: 错误:‘union <anonymous>’没有名为‘push’的成员 /usr/local/src/php-git/php_git2.c:292: 错误:‘git_push’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:292: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:295: 错误:‘union <anonymous>’没有名为‘filter’的成员 /usr/local/src/php-git/php_git2.c:295: 错误:‘git_filter’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:295: 错误:expected expression before ‘)’ token /usr/local/src/php-git/php_git2.c:155: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_REFSPEC’ /usr/local/src/php-git/php_git2.c:155: 警告:switch 没有处理枚举值‘PHP_GIT2_TYPE_INDEXER’ /usr/local/src/php-git/php_git2.c: 在函数‘zif_git_checkout_opts_new’中: /usr/local/src/php-git/php_git2.c:333: 错误:‘git_checkout_opts’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:333: 错误:expected ‘;’ before ‘opt’ /usr/local/src/php-git/php_git2.c:335: 警告:隐式声明函数‘php_git2_git_checkout_opts_to_array’ /usr/local/src/php-git/php_git2.c:335: 错误:‘opt’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c: 在函数‘zif_git_libgit2_capabilities’中: /usr/local/src/php-git/php_git2.c:341: 警告:隐式声明函数‘git_libgit2_capabilities’ /usr/local/src/php-git/php_git2.c: 在函数‘zif_git_libgit2_version’中: /usr/local/src/php-git/php_git2.c:350: 警告:隐式声明函数‘git_libgit2_version’ /usr/local/src/php-git/php_git2.c: 在函数‘zm_startup_git2’中: /usr/local/src/php-git/php_git2.c:1079: 错误:‘GIT_REF_INVALID’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1080: 错误:‘GIT_REF_OID’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1081: 错误:‘GIT_REF_SYMBOLIC’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1082: 错误:‘GIT_REF_LISTALL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1084: 错误:‘GIT_BRANCH_LOCAL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1085: 错误:‘GIT_BRANCH_REMOTE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1087: 错误:‘GIT_FILEMODE_NEW’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1088: 错误:‘GIT_FILEMODE_TREE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1089: 错误:‘GIT_FILEMODE_BLOB’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1090: 错误:‘GIT_FILEMODE_BLOB_EXECUTABLE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1091: 错误:‘GIT_FILEMODE_LINK’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1092: 错误:‘GIT_FILEMODE_COMMIT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1094: 错误:‘GIT_SUBMODULE_UPDATE_RESET’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1095: 错误:‘GIT_SUBMODULE_UPDATE_CHECKOUT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1096: 错误:‘GIT_SUBMODULE_UPDATE_REBASE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1097: 错误:‘GIT_SUBMODULE_UPDATE_MERGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1098: 错误:‘GIT_SUBMODULE_UPDATE_NONE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1099: 错误:‘GIT_SUBMODULE_UPDATE_DEFAULT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1101: 错误:‘GIT_SUBMODULE_IGNORE_RESET’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1102: 错误:‘GIT_SUBMODULE_IGNORE_NONE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1103: 错误:‘GIT_SUBMODULE_IGNORE_UNTRACKED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1104: 错误:‘GIT_SUBMODULE_IGNORE_DIRTY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1105: 错误:‘GIT_SUBMODULE_IGNORE_ALL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1106: 错误:‘GIT_SUBMODULE_IGNORE_DEFAULT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1109: 错误:‘GIT_ATTR_UNSPECIFIED_T’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1110: 错误:‘GIT_ATTR_TRUE_T’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1111: 错误:‘GIT_ATTR_FALSE_T’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1112: 错误:‘GIT_ATTR_VALUE_T’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1115: 错误:‘GIT_BLAME_NORMAL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1116: 错误:‘GIT_BLAME_TRACK_COPIES_SAME_FILE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1117: 错误:‘GIT_BLAME_TRACK_COPIES_SAME_COMMIT_MOVES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1118: 错误:‘GIT_BLAME_TRACK_COPIES_SAME_COMMIT_COPIES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1119: 错误:‘GIT_BLAME_TRACK_COPIES_ANY_COMMIT_COPIES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1122: 错误:‘GIT_CHECKOUT_NONE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1123: 错误:‘GIT_CHECKOUT_SAFE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1124: 错误:‘GIT_CHECKOUT_SAFE_CREATE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1125: 错误:‘GIT_CHECKOUT_FORCE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1126: 错误:‘GIT_CHECKOUT_ALLOW_CONFLICTS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1127: 错误:‘GIT_CHECKOUT_REMOVE_UNTRACKED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1128: 错误:‘GIT_CHECKOUT_REMOVE_IGNORED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1129: 错误:‘GIT_CHECKOUT_UPDATE_ONLY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1130: 错误:‘GIT_CHECKOUT_DONT_UPDATE_INDEX’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1131: 错误:‘GIT_CHECKOUT_NO_REFRESH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1132: 错误:‘GIT_CHECKOUT_SKIP_UNMERGED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1133: 错误:‘GIT_CHECKOUT_USE_OURS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1134: 错误:‘GIT_CHECKOUT_USE_THEIRS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1135: 错误:‘GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1136: 错误:‘GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1137: 错误:‘GIT_CHECKOUT_UPDATE_SUBMODULES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1138: 错误:‘GIT_CHECKOUT_UPDATE_SUBMODULES_IF_CHANGED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1141: 错误:‘GIT_CHECKOUT_NOTIFY_NONE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1142: 错误:‘GIT_CHECKOUT_NOTIFY_CONFLICT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1143: 错误:‘GIT_CHECKOUT_NOTIFY_DIRTY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1144: 错误:‘GIT_CHECKOUT_NOTIFY_UPDATED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1145: 错误:‘GIT_CHECKOUT_NOTIFY_UNTRACKED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1146: 错误:‘GIT_CHECKOUT_NOTIFY_IGNORED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1147: 错误:‘GIT_CHECKOUT_NOTIFY_ALL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1150: 错误:‘GIT_CAP_THREADS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1151: 错误:‘GIT_CAP_HTTPS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1152: 错误:‘GIT_CAP_SSH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1155: 错误:‘GIT_OPT_GET_MWINDOW_SIZE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1156: 错误:‘GIT_OPT_SET_MWINDOW_SIZE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1157: 错误:‘GIT_OPT_GET_MWINDOW_MAPPED_LIMIT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1158: 错误:‘GIT_OPT_SET_MWINDOW_MAPPED_LIMIT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1159: 错误:‘GIT_OPT_GET_SEARCH_PATH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1160: 错误:‘GIT_OPT_SET_SEARCH_PATH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1161: 错误:‘GIT_OPT_SET_CACHE_OBJECT_LIMIT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1162: 错误:‘GIT_OPT_SET_CACHE_MAX_SIZE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1163: 错误:‘GIT_OPT_ENABLE_CACHING’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1164: 错误:‘GIT_OPT_GET_CACHED_MEMORY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1165: 错误:‘GIT_OPT_GET_TEMPLATE_PATH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1166: 错误:‘GIT_OPT_SET_TEMPLATE_PATH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1169: 错误:‘GIT_CONFIG_LEVEL_SYSTEM’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1170: 错误:‘GIT_CONFIG_LEVEL_XDG’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1171: 错误:‘GIT_CONFIG_LEVEL_GLOBAL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1172: 错误:‘GIT_CONFIG_LEVEL_LOCAL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1173: 错误:‘GIT_CONFIG_LEVEL_APP’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1174: 错误:‘GIT_CONFIG_HIGHEST_LEVEL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1177: 错误:‘GIT_CVAR_FALSE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1178: 错误:‘GIT_CVAR_TRUE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1179: 错误:‘GIT_CVAR_INT32’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1180: 错误:‘GIT_CVAR_STRING’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1183: 错误:‘GIT_DIFF_NORMAL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1184: 错误:‘GIT_DIFF_REVERSE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1185: 错误:‘GIT_DIFF_INCLUDE_IGNORED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1186: 错误:‘GIT_DIFF_RECURSE_IGNORED_DIRS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1187: 错误:‘GIT_DIFF_INCLUDE_UNTRACKED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1188: 错误:‘GIT_DIFF_RECURSE_UNTRACKED_DIRS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1189: 错误:‘GIT_DIFF_INCLUDE_UNMODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1190: 错误:‘GIT_DIFF_INCLUDE_TYPECHANGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1191: 错误:‘GIT_DIFF_INCLUDE_TYPECHANGE_TREES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1192: 错误:‘GIT_DIFF_IGNORE_FILEMODE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1193: 错误:‘GIT_DIFF_IGNORE_SUBMODULES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1194: 错误:‘GIT_DIFF_IGNORE_CASE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1195: 错误:‘GIT_DIFF_DISABLE_PATHSPEC_MATCH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1196: 错误:‘GIT_DIFF_SKIP_BINARY_CHECK’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1197: 错误:‘GIT_DIFF_ENABLE_FAST_UNTRACKED_DIRS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1198: 错误:‘GIT_DIFF_FORCE_TEXT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1199: 错误:‘GIT_DIFF_FORCE_BINARY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1200: 错误:‘GIT_DIFF_IGNORE_WHITESPACE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1201: 错误:‘GIT_DIFF_IGNORE_WHITESPACE_CHANGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1202: 错误:‘GIT_DIFF_IGNORE_WHITESPACE_EOL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1203: 错误:‘GIT_DIFF_SHOW_UNTRACKED_CONTENT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1204: 错误:‘GIT_DIFF_SHOW_UNMODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1205: 错误:‘GIT_DIFF_PATIENCE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1206: 错误:‘GIT_DIFF_MINIMAL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1208: 错误:‘GIT_DIFF_FLAG_BINARY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1209: 错误:‘GIT_DIFF_FLAG_NOT_BINARY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1210: 错误:‘GIT_DIFF_FLAG_VALID_OID’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1212: 错误:‘GIT_DELTA_UNMODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1213: 错误:‘GIT_DELTA_ADDED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1214: 错误:‘GIT_DELTA_DELETED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1215: 错误:‘GIT_DELTA_MODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1216: 错误:‘GIT_DELTA_RENAMED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1217: 错误:‘GIT_DELTA_COPIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1218: 错误:‘GIT_DELTA_IGNORED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1219: 错误:‘GIT_DELTA_UNTRACKED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1220: 错误:‘GIT_DELTA_TYPECHANGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1222: 错误:‘GIT_DIFF_LINE_CONTEXT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1223: 错误:‘GIT_DIFF_LINE_ADDITION’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1224: 错误:‘GIT_DIFF_LINE_DELETION’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1225: 错误:‘GIT_DIFF_LINE_CONTEXT_EOFNL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1226: 错误:‘GIT_DIFF_LINE_ADD_EOFNL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1227: 错误:‘GIT_DIFF_LINE_DEL_EOFNL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1228: 错误:‘GIT_DIFF_LINE_FILE_HDR’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1229: 错误:‘GIT_DIFF_LINE_HUNK_HDR’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1230: 错误:‘GIT_DIFF_LINE_BINARY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1232: 错误:‘GIT_DIFF_FIND_RENAMES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1233: 错误:‘GIT_DIFF_FIND_RENAMES_FROM_REWRITES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1234: 错误:‘GIT_DIFF_FIND_COPIES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1235: 错误:‘GIT_DIFF_FIND_COPIES_FROM_UNMODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1236: 错误:‘GIT_DIFF_FIND_REWRITES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1237: 错误:‘GIT_DIFF_BREAK_REWRITES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1238: 错误:‘GIT_DIFF_FIND_AND_BREAK_REWRITES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1240: 错误:‘GIT_DIFF_FIND_FOR_UNTRACKED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1241: 错误:‘GIT_DIFF_FIND_ALL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1242: 错误:‘GIT_DIFF_FIND_IGNORE_LEADING_WHITESPACE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1243: 错误:‘GIT_DIFF_FIND_IGNORE_WHITESPACE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1244: 错误:‘GIT_DIFF_FIND_DONT_IGNORE_WHITESPACE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1245: 错误:‘GIT_DIFF_FIND_EXACT_MATCH_ONLY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1246: 错误:‘GIT_DIFF_BREAK_REWRITES_FOR_RENAMES_ONLY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1248: 错误:‘GIT_DIFF_FORMAT_PATCH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1249: 错误:‘GIT_DIFF_FORMAT_PATCH_HEADER’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1250: 错误:‘GIT_DIFF_FORMAT_RAW’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1251: 错误:‘GIT_DIFF_FORMAT_NAME_ONLY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1252: 错误:‘GIT_DIFF_FORMAT_NAME_STATUS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1255: 错误:‘GIT_OK’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1256: 错误:‘GIT_ERROR’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1257: 错误:‘GIT_ENOTFOUND’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1258: 错误:‘GIT_EEXISTS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1259: 错误:‘GIT_EAMBIGUOUS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1260: 错误:‘GIT_EBUFS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1261: 错误:‘GIT_EUSER’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1262: 错误:‘GIT_EBAREREPO’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1263: 错误:‘GIT_EUNBORNBRANCH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1264: 错误:‘GIT_EUNMERGED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1265: 错误:‘GIT_ENONFASTFORWARD’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1266: 错误:‘GIT_EINVALIDSPEC’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1267: 错误:‘GIT_EMERGECONFLICT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1268: 错误:‘GIT_ELOCKED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1269: 错误:‘GIT_PASSTHROUGH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1270: 错误:‘GIT_ITEROVER’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1273: 错误:‘GITERR_NONE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1274: 错误:‘GITERR_NOMEMORY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1275: 错误:‘GITERR_OS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1276: 错误:‘GITERR_INVALID’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1277: 错误:‘GITERR_REFERENCE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1278: 错误:‘GITERR_ZLIB’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1279: 错误:‘GITERR_REPOSITORY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1280: 错误:‘GITERR_CONFIG’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1281: 错误:‘GITERR_REGEX’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1282: 错误:‘GITERR_ODB’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1283: 错误:‘GITERR_INDEX’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1284: 错误:‘GITERR_OBJECT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1285: 错误:‘GITERR_NET’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1286: 错误:‘GITERR_TAG’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1287: 错误:‘GITERR_TREE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1288: 错误:‘GITERR_INDEXER’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1289: 错误:‘GITERR_SSL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1290: 错误:‘GITERR_SUBMODULE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1291: 错误:‘GITERR_THREAD’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1292: 错误:‘GITERR_STASH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1293: 错误:‘GITERR_CHECKOUT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1294: 错误:‘GITERR_FETCHHEAD’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1295: 错误:‘GITERR_MERGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1296: 错误:‘GITERR_SSH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1297: 错误:‘GITERR_FILTER’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1300: 错误:‘GIT_FILTER_TO_WORKTREE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1301: 错误:‘GIT_FILTER_SMUDGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1302: 错误:‘GIT_FILTER_TO_ODB’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1303: 错误:‘GIT_FILTER_CLEAN’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1306: 错误:‘GIT_INDEXCAP_IGNORE_CASE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1307: 错误:‘GIT_INDEXCAP_NO_FILEMODE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1308: 错误:‘GIT_INDEXCAP_NO_SYMLINKS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1309: 错误:‘GIT_INDEXCAP_FROM_OWNER’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1311: 错误:‘GIT_INDEX_ADD_DEFAULT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1312: 错误:‘GIT_INDEX_ADD_FORCE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1313: 错误:‘GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1314: 错误:‘GIT_INDEX_ADD_CHECK_PATHSPEC’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1317: 错误:‘GIT_MERGE_TREE_FIND_RENAMES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1319: 错误:‘GIT_MERGE_AUTOMERGE_NORMAL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1320: 错误:‘GIT_MERGE_AUTOMERGE_NONE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1321: 错误:‘GIT_MERGE_AUTOMERGE_FAVOR_OURS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1322: 错误:‘GIT_MERGE_AUTOMERGE_FAVOR_THEIRS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1324: 错误:‘GIT_MERGE_NO_FASTFORWARD’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1325: 错误:‘GIT_MERGE_FASTFORWARD_ONLY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1328: 错误:‘GIT_DIRECTION_FETCH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1329: 错误:‘GIT_DIRECTION_PUSH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1332: 错误:‘GIT_STREAM_RDONLY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1333: 错误:‘GIT_STREAM_WRONLY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1334: 错误:‘GIT_STREAM_RW’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1337: 错误:‘GIT_PACKBUILDER_ADDING_OBJECTS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1338: 错误:‘GIT_PACKBUILDER_DELTAFICATION’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1341: 错误:‘GIT_PATHSPEC_DEFAULT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1342: 错误:‘GIT_PATHSPEC_IGNORE_CASE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1343: 错误:‘GIT_PATHSPEC_USE_CASE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1344: 错误:‘GIT_PATHSPEC_NO_GLOB’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1345: 错误:‘GIT_PATHSPEC_NO_MATCH_ERROR’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1346: 错误:‘GIT_PATHSPEC_FIND_FAILURES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1347: 错误:‘GIT_PATHSPEC_FAILURES_ONLY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1350: 错误:‘GIT_REF_FORMAT_NORMAL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1351: 错误:‘GIT_REF_FORMAT_ALLOW_ONELEVEL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1352: 错误:‘GIT_REF_FORMAT_REFSPEC_PATTERN’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1353: 错误:‘GIT_REF_FORMAT_REFSPEC_SHORTHAND’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1356: 错误:‘GIT_REMOTE_DOWNLOAD_TAGS_AUTO’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1357: 错误:‘GIT_REMOTE_DOWNLOAD_TAGS_NONE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1358: 错误:‘GIT_REMOTE_DOWNLOAD_TAGS_ALL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1361: 错误:‘GIT_REPOSITORY_OPEN_NO_SEARCH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1362: 错误:‘GIT_REPOSITORY_OPEN_CROSS_FS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1363: 错误:‘GIT_REPOSITORY_OPEN_BARE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1365: 错误:‘GIT_REPOSITORY_INIT_BARE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1366: 错误:‘GIT_REPOSITORY_INIT_NO_REINIT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1367: 错误:‘GIT_REPOSITORY_INIT_NO_DOTGIT_DIR’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1368: 错误:‘GIT_REPOSITORY_INIT_MKDIR’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1369: 错误:‘GIT_REPOSITORY_INIT_MKPATH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1370: 错误:‘GIT_REPOSITORY_INIT_EXTERNAL_TEMPLATE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1372: 错误:‘GIT_REPOSITORY_INIT_SHARED_UMASK’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1373: 错误:‘GIT_REPOSITORY_INIT_SHARED_GROUP’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1374: 错误:‘GIT_REPOSITORY_INIT_SHARED_ALL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1376: 错误:‘GIT_REPOSITORY_STATE_NONE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1377: 错误:‘GIT_REPOSITORY_STATE_MERGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1378: 错误:‘GIT_REPOSITORY_STATE_REVERT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1379: 错误:‘GIT_REPOSITORY_STATE_CHERRY_PICK’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1380: 错误:‘GIT_REPOSITORY_STATE_BISECT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1381: 错误:‘GIT_REPOSITORY_STATE_REBASE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1382: 错误:‘GIT_REPOSITORY_STATE_REBASE_INTERACTIVE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1383: 错误:‘GIT_REPOSITORY_STATE_REBASE_MERGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1384: 错误:‘GIT_REPOSITORY_STATE_APPLY_MAILBOX’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1385: 错误:‘GIT_REPOSITORY_STATE_APPLY_MAILBOX_OR_REBASE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1388: 错误:‘GIT_RESET_SOFT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1389: 错误:‘GIT_RESET_MIXED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1390: 错误:‘GIT_RESET_HARD’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1393: 错误:‘GIT_REVPARSE_SINGLE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1394: 错误:‘GIT_REVPARSE_RANGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1395: 错误:‘GIT_REVPARSE_MERGE_BASE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1398: 错误:‘GIT_STASH_DEFAULT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1399: 错误:‘GIT_STASH_KEEP_INDEX’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1400: 错误:‘GIT_STASH_INCLUDE_UNTRACKED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1401: 错误:‘GIT_STASH_INCLUDE_IGNORED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1404: 错误:‘GIT_STATUS_CURRENT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1405: 错误:‘GIT_STATUS_INDEX_NEW’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1406: 错误:‘GIT_STATUS_INDEX_MODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1407: 错误:‘GIT_STATUS_INDEX_DELETED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1408: 错误:‘GIT_STATUS_INDEX_RENAMED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1409: 错误:‘GIT_STATUS_INDEX_TYPECHANGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1410: 错误:‘GIT_STATUS_WT_NEW’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1411: 错误:‘GIT_STATUS_WT_MODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1412: 错误:‘GIT_STATUS_WT_DELETED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1413: 错误:‘GIT_STATUS_WT_TYPECHANGE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1414: 错误:‘GIT_STATUS_WT_RENAMED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1415: 错误:‘GIT_STATUS_IGNORED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1417: 错误:‘GIT_STATUS_SHOW_INDEX_AND_WORKDIR’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1418: 错误:‘GIT_STATUS_SHOW_INDEX_ONLY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1419: 错误:‘GIT_STATUS_SHOW_WORKDIR_ONLY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1421: 错误:‘GIT_STATUS_OPT_INCLUDE_UNTRACKED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1422: 错误:‘GIT_STATUS_OPT_INCLUDE_IGNORED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1423: 错误:‘GIT_STATUS_OPT_INCLUDE_UNMODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1424: 错误:‘GIT_STATUS_OPT_EXCLUDE_SUBMODULES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1425: 错误:‘GIT_STATUS_OPT_RECURSE_UNTRACKED_DIRS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1426: 错误:‘GIT_STATUS_OPT_DISABLE_PATHSPEC_MATCH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1427: 错误:‘GIT_STATUS_OPT_RECURSE_IGNORED_DIRS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1428: 错误:‘GIT_STATUS_OPT_RENAMES_HEAD_TO_INDEX’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1429: 错误:‘GIT_STATUS_OPT_RENAMES_INDEX_TO_WORKDIR’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1430: 错误:‘GIT_STATUS_OPT_SORT_CASE_SENSITIVELY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1431: 错误:‘GIT_STATUS_OPT_SORT_CASE_INSENSITIVELY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1432: 错误:‘GIT_STATUS_OPT_RENAMES_FROM_REWRITES’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1433: 错误:‘GIT_STATUS_OPT_NO_REFRESH’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1436: 错误:‘GIT_SUBMODULE_STATUS_IN_HEAD’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1437: 错误:‘GIT_SUBMODULE_STATUS_IN_INDEX’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1438: 错误:‘GIT_SUBMODULE_STATUS_IN_CONFIG’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1439: 错误:‘GIT_SUBMODULE_STATUS_IN_WD’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1440: 错误:‘GIT_SUBMODULE_STATUS_INDEX_ADDED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1441: 错误:‘GIT_SUBMODULE_STATUS_INDEX_DELETED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1442: 错误:‘GIT_SUBMODULE_STATUS_INDEX_MODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1443: 错误:‘GIT_SUBMODULE_STATUS_WD_UNINITIALIZED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1444: 错误:‘GIT_SUBMODULE_STATUS_WD_ADDED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1445: 错误:‘GIT_SUBMODULE_STATUS_WD_DELETED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1446: 错误:‘GIT_SUBMODULE_STATUS_WD_MODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1447: 错误:‘GIT_SUBMODULE_STATUS_WD_INDEX_MODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1448: 错误:‘GIT_SUBMODULE_STATUS_WD_WD_MODIFIED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1449: 错误:‘GIT_SUBMODULE_STATUS_WD_UNTRACKED’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1452: 错误:‘GIT_TRACE_NONE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1453: 错误:‘GIT_TRACE_FATAL’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1454: 错误:‘GIT_TRACE_ERROR’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1455: 错误:‘GIT_TRACE_WARN’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1456: 错误:‘GIT_TRACE_INFO’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1457: 错误:‘GIT_TRACE_DEBUG’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1458: 错误:‘GIT_TRACE_TRACE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1461: 错误:‘GIT_CREDTYPE_USERPASS_PLAINTEXT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1462: 错误:‘GIT_CREDTYPE_SSH_KEY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1463: 错误:‘GIT_CREDTYPE_SSH_CUSTOM’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1464: 错误:‘GIT_CREDTYPE_DEFAULT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1466: 错误:‘GIT_TRANSPORTFLAGS_NONE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1467: 错误:‘GIT_TRANSPORTFLAGS_NO_CHECK_CERT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1469: 错误:‘GIT_SERVICE_UPLOADPACK_LS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1470: 错误:‘GIT_SERVICE_UPLOADPACK’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1471: 错误:‘GIT_SERVICE_RECEIVEPACK_LS’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1472: 错误:‘GIT_SERVICE_RECEIVEPACK’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1475: 错误:‘GIT_TREEWALK_PRE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1476: 错误:‘GIT_TREEWALK_POST’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1479: 错误:‘GIT_OBJ_ANY’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1480: 错误:‘GIT_OBJ_BAD’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1481: 错误:‘GIT_OBJ__EXT1’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1482: 错误:‘GIT_OBJ_COMMIT’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1483: 错误:‘GIT_OBJ_TREE’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1484: 错误:‘GIT_OBJ_BLOB’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1485: 错误:‘GIT_OBJ_TAG’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1486: 错误:‘GIT_OBJ__EXT2’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1487: 错误:‘GIT_OBJ_OFS_DELTA’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c:1488: 错误:‘GIT_OBJ_REF_DELTA’未声明(在此函数内第一次使用) /usr/local/src/php-git/php_git2.c: 在函数‘zm_activate_git2’中: /usr/local/src/php-git/php_git2.c:1495: 警告:隐式声明函数‘git_threads_init’ /usr/local/src/php-git/php_git2.c: 在函数‘zm_deactivate_git2’中: /usr/local/src/php-git/php_git2.c:1507: 警告:隐式声明函数‘git_threads_shutdown’ make: *** [php_git2.lo] 错误 1

from php-git.

jamaltan avatar jamaltan commented on August 18, 2024

I get some message on Fedora 25

from php-git.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.