GitHub user yuchao86 reopened a pull request:
https://github.com/apache/zookeeper/pull/22
Branch 3.4 complied php c extension have error "expanded from macro
'htonll'"??
ââyuchao@localhost ~/Downloads/zookeeper-3.4.6/src/c â¹systemâº
â°â⤠make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./include -I./tests -I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT
zookeeper.lo -MD -MP -MF .deps/zookeeper.Tpo -c -o zookeeper.lo `test -f
'src/zookeeper.c' || echo './'`src/zookeeper.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./tests
-I./generated -Wall -Werror -g -O2 -D_GNU_SOURCE -MT zookeeper.lo -MD -MP -MF
.deps/zookeeper.Tpo -c src/zookeeper.c -fno-common -DPIC -o .libs/zookeeper.o
In file included from src/zookeeper.c:27:
In file included from ./include/zookeeper.h:34:
./include/recordio.h:76:9: error: expected ')'
int64_t htonll(int64_t v);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_endian.h:141:25:
note:
expanded from macro 'htonll'
#define htonll(x) __DARWIN_OSSwapInt64(x)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libkern/_OSByteOrder.h:78:30:
note:
expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) :
_OSSwapInt64(x))
^
./include/recordio.h:76:9: note: to match this '('
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_endian.h:141:25:
note:
expanded from macro 'htonll'
#define htonll(x) __DARWIN_OSSwapInt64(x)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libkern/_OSByteOrder.h:78:5:
note:
expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) :
_OSSwapInt64(x))
^
In file included from src/zookeeper.c:27:
In file included from ./include/zookeeper.h:34:
./include/recordio.h:76:9: error: conflicting types for
'__builtin_constant_p'
int64_t htonll(int64_t v);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_endian.h:141:25:
note:
expanded from macro 'htonll'
#define htonll(x) __DARWIN_OSSwapInt64(x)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libkern/_OSByteOrder.h:78:6:
note:
expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) :
_OSSwapInt64(x))
^
./include/recordio.h:76:9: note: '__builtin_constant_p' is a builtin with
type
'int ()'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_endian.h:141:25:
note:
expanded from macro 'htonll'
#define htonll(x) __DARWIN_OSSwapInt64(x)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libkern/_OSByteOrder.h:78:6:
note:
expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) :
_OSSwapInt64(x))
^
2 errors generated.
make[1]: *** [zookeeper.lo] Error 1
make: *** [all] Error 2
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/zookeeper branch-3.4
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/22.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22
----
commit b1d9177891ec69c21dc4b457f2997c09dc9df13d
Author: Mahadev Konar <[email protected]>
Date: 2011-11-05T06:35:54Z
ZOOKEEPER-1270. testEarlyLeaderAbandonment failing intermittently, quorum
formed, no serving. (Flavio, Camille and Alexander Shraer via mahadev)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1197892
13f79535-47bb-0310-9956-ffa450edef68
commit 2c588ae316c39db314b5cd30ac913be46ecb4cf1
Author: Camille Fournier <[email protected]>
Date: 2011-11-05T20:14:21Z
ZOOKEEPER-1264. FollowerResyncConcurrencyTest failing intermittently.
ZOOKEEPER-1282. Learner.java not following Zab 1.0 protocol -
setCurrentEpoch should be done upon receipt of NEWLEADER (before acking it) and
not upon receipt of UPTODATE.
ZOOKEEPER-1291. AcceptedEpoch not updated at leader before it proposes the
epoch to followers.
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1198043
13f79535-47bb-0310-9956-ffa450edef68
commit be012f31171edd82b8aa2ecd4be5005d92793de3
Author: Mahadev Konar <[email protected]>
Date: 2011-11-05T23:23:51Z
Preparing for release 3.4.0 - take 2
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1198109
13f79535-47bb-0310-9956-ffa450edef68
commit 83f7f8049a0472c182aaefbde863f47628be5d05
Author: Camille Fournier <[email protected]>
Date: 2011-11-14T19:18:02Z
ZOOKEEPER-1208. Ephemeral node not removed after the client session is long
gone. (phunt via camille)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1201830
13f79535-47bb-0310-9956-ffa450edef68
commit bb0816e7aefee437f613fe6cc50ac395f0bbee54
Author: Camille Fournier <[email protected]>
Date: 2011-11-15T18:28:38Z
ZOOKEEPER-1239. add logging/stats to identify fsync stalls. (phunt via
camille)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1202358
13f79535-47bb-0310-9956-ffa450edef68
commit 83b8a32a1bc0d445446bb3587483099e7161594d
Author: Mahadev Konar <[email protected]>
Date: 2011-11-16T01:31:51Z
Preparing for release 3.4.0 take 3
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1202501
13f79535-47bb-0310-9956-ffa450edef68
commit 11e300453a5cd8c53cacec6a9c2f83f500532188
Author: Mahadev Konar <[email protected]>
Date: 2011-11-16T02:08:03Z
Changes to docs
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1202507
13f79535-47bb-0310-9956-ffa450edef68
commit 139216adaa0339cce4d6d0cc5cb2215fa9f54c07
Author: Mahadev Konar <[email protected]>
Date: 2011-11-16T07:15:55Z
ZOOKEEPER-1299. Add winconfig.h file to ignore in release audit. (mahadev)
- Merging r1202557 from trunk
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1202558
13f79535-47bb-0310-9956-ffa450edef68
commit b9eaab87e9adb91d1c4ff01b885dfe555c668cbf
Author: Patrick D. Hunt <[email protected]>
Date: 2011-12-01T07:10:34Z
ZOOKEEPER-1311. ZooKeeper test jar is broken (Ivan Kelly via phunt)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1208977
13f79535-47bb-0310-9956-ffa450edef68
commit 53d9a0ae6ed165330457b61b1f977e2be5ded5fe
Author: Mahadev Konar <[email protected]>
Date: 2011-12-08T22:03:35Z
ZOOKEEPER-1305. zookeeper.c:prepend_string func can dereference null ptr.
(Daniel Lescohier via mahadev) - Merging r1212153 from trunk.
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1212161
13f79535-47bb-0310-9956-ffa450edef68
commit ca1dd5966626e9876a44637eaa2ed1fb3cbfa67a
Author: Mahadev Konar <[email protected]>
Date: 2011-12-08T22:30:28Z
ZOOKEEPER-1316. zookeeper_init leaks memory if chroot is just '/'. (Akira
Kitada via mahadev)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1212173
13f79535-47bb-0310-9956-ffa450edef68
commit 39f0de85503332344414cc20d3f4db6ea18819b0
Author: Mahadev Konar <[email protected]>
Date: 2011-12-09T00:21:27Z
ZOOKEEPER-1315. zookeeper_init always reports sessionPasswd=<hidden>.
(Akira Kitada via mahadev)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1212193
13f79535-47bb-0310-9956-ffa450edef68
commit 5bc53c8c406dbee10c4dfd6043de39a00b400b09
Author: Mahadev Konar <[email protected]>
Date: 2011-12-09T18:37:30Z
ZOOKEEPER-1317. Possible segfault in zookeeper_init. (Akira Kitada via
mahadev)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1212568
13f79535-47bb-0310-9956-ffa450edef68
commit a643355aa21862ce60316ef386a1a9ef84a305d7
Author: Mahadev Konar <[email protected]>
Date: 2011-12-09T19:05:16Z
ZOOKEEPER-1319. Missing data after restarting+expanding a cluster. (Patrick
Hunt and Ben Reed via mahadev)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1212580
13f79535-47bb-0310-9956-ffa450edef68
commit f34b7c0a1d5cb9e0c48190966bc2fa2991878ef3
Author: Mahadev Konar <[email protected]>
Date: 2011-12-09T22:24:41Z
ZOOKEEPER-1269. Multi deserialization issues (Camille Fournier via mahadev)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1212667
13f79535-47bb-0310-9956-ffa450edef68
commit 2b08eac7749db1a221305dc50ca2f44ebb94e1e0
Author: Mahadev Konar <[email protected]>
Date: 2011-12-09T23:58:00Z
Preparing for release 3.4.1
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1212693
13f79535-47bb-0310-9956-ffa450edef68
commit 345cfdc7c04251f94fafc136fe86236575dfd7fb
Author: Mahadev Konar <[email protected]>
Date: 2011-12-12T19:14:03Z
Fixing the rc date for 3.4.1
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1213372
13f79535-47bb-0310-9956-ffa450edef68
commit be70165c071a19dbd8069e2759c31d1b144a654b
Author: Patrick D. Hunt <[email protected]>
Date: 2011-12-14T23:16:46Z
ZOOKEEPER-1323. c client doesn't compile on freebsd (michi mutsuzaki via
phunt)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1214538
13f79535-47bb-0310-9956-ffa450edef68
commit c811136633209b72bc40e1bb2cef67ebc038ae4c
Author: Mahadev Konar <[email protected]>
Date: 2011-12-21T18:39:09Z
ZOOKEEPER-1333. NPE in FileTxnSnapLog when restarting a cluster. (Patrick
Hunt and Andrew Mc Nair via mahadev)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1221837
13f79535-47bb-0310-9956-ffa450edef68
commit 09c2e0a8b975b5bd1499ffa3d0c578a18f229db1
Author: Mahadev Konar <[email protected]>
Date: 2011-12-21T20:17:31Z
ZOOKEEPER-1333. Fixing the logging - Patrick Hunt via mahadev
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1221865
13f79535-47bb-0310-9956-ffa450edef68
commit 9ca08723720ed2e8a5609599ac6a225f0d1ee646
Author: Mahadev Konar <[email protected]>
Date: 2011-12-21T20:43:25Z
Preparing for release 3.4.2
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1221869
13f79535-47bb-0310-9956-ffa450edef68
commit 87fd70cad2b81ca1136e3a72cbaacbc6e108ce49
Author: Patrick D. Hunt <[email protected]>
Date: 2011-12-28T06:06:10Z
ZOOKEEPER-1089. zkServer.sh status does not work due to invalid option of
nc (Roman Shaposhnik via phunt)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1225107
13f79535-47bb-0310-9956-ffa450edef68
commit 7af3b8f724df5829148556ccdd1e63193efabd48
Author: Patrick D. Hunt <[email protected]>
Date: 2011-12-30T21:32:21Z
ZOOKEEPER-1345. Add a .gitignore file with general exclusions and Eclipse
project files excluded (Harsh J via phunt)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1225928
13f79535-47bb-0310-9956-ffa450edef68
commit 3ee0f98a463eb94be3d530e52ef13880bad769cc
Author: Patrick D. Hunt <[email protected]>
Date: 2011-12-30T21:36:07Z
ZOOKEEPER-1345. Add a .gitignore file with general exclusions and Eclipse
project files excluded (Harsh J via phunt)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1225931
13f79535-47bb-0310-9956-ffa450edef68
commit 351a3fe6cfe693201d576cb639884663956647e1
Author: Patrick D. Hunt <[email protected]>
Date: 2011-12-30T21:45:56Z
ZOOKEEPER-1345. Add a .gitignore file with general exclusions and Eclipse
project files excluded (Harsh J via phunt)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1225935
13f79535-47bb-0310-9956-ffa450edef68
commit 94d479285316c44c0c495c256f9ecccd71868a4c
Author: Benjamin Reed <[email protected]>
Date: 2012-01-04T00:27:21Z
ZOOKEEPER-1343. getEpochToPropose should check if lastAcceptedEpoch is
greater or equal than epoch
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1227002
13f79535-47bb-0310-9956-ffa450edef68
commit 242a9e658e7301b0e892ced7fbf5cf3341b15eb8
Author: Camille Fournier <[email protected]>
Date: 2012-01-16T02:24:30Z
ZOOKEEPER-1358. In StaticHostProviderTest.java, testNextDoesNotSleepForZero
tests that hostProvider.next(0) doesn't sleep by checking that the latency of
this call is less than 10sec (Alex Shraer via camille)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1231807
13f79535-47bb-0310-9956-ffa450edef68
commit 337eebaf39e1e37ae8588e126166fcf908a5958a
Author: Camille Fournier <[email protected]>
Date: 2012-01-16T02:34:22Z
ZOOKEEPER-1351. invalid test verification in MultiTransactionTest (phunt
via camille)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1231810
13f79535-47bb-0310-9956-ffa450edef68
commit 58ccd5c472707f29755b4cc94b87b6f279f0e196
Author: Patrick D. Hunt <[email protected]>
Date: 2012-01-23T20:33:28Z
ZOOKEEPER-973. bind() could fail on Leader because it does not
setReuseAddress on its ServerSocket (Harsh J via phunt)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1234975
13f79535-47bb-0310-9956-ffa450edef68
commit 55b03fceb41dc300f56219af0fe4b19e63b6ed7f
Author: Mahadev Konar <[email protected]>
Date: 2012-01-31T06:50:06Z
ZOOKEEPER-1367. Data inconsistencies and unexpired ephemeral nodes after
cluster restart. (Bejamin Reed via mahadev)
git-svn-id:
https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1238177
13f79535-47bb-0310-9956-ffa450edef68
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---