[
https://issues.apache.org/jira/browse/ACCUMULO-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser resolved ACCUMULO-1845.
----------------------------------
Resolution: Duplicate
Fixed in ACCUMULO-1852
> Can't test nativeMap code
> -------------------------
>
> Key: ACCUMULO-1845
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1845
> Project: Accumulo
> Issue Type: Bug
> Components: tserver
> Reporter: Josh Elser
> Fix For: 1.6.0
>
> Attachments: ACCUMULO-1845.diff
>
>
> `make test` is still broken on OSX
> {noformat}
> % make clean test
> rm -f libNativeMap-Mac_OS_X-x86_64-64.dylib runTests
> g++ -m64 -dynamiclib -undefined dynamic_lookup -O3
> -I/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/include
> -I/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/include/darwin
> -I/usr/include/c++/4.2.1 -Ijavah -o libNativeMap-Mac_OS_X-x86_64-64.dylib
> nativeMap/org_apache_accumulo_tserver_NativeMap.cc
> JAVA_HOME is /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home
> g++ -g -Wall -undefined dynamic_lookup
> -I/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/include
> -I/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/include/linux
>
> -I/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/include/darwin
> -I/usr/include/c++/4.2.1 -InativeMap -o runTests testNativeMap/test.cc
> testNativeMap/util.cc libNativeMap-Mac_OS_X-x86_64-64.dylib
> LD_LIBRARY_PATH=./ ./runTests 20 20 20 20 20 20 20 20 true
> dyld: Symbol not found: __ZNSt8ios_base4InitD1Ev
> Referenced from: libNativeMap-Mac_OS_X-x86_64-64.dylib
> Expected in: flat namespace
> in libNativeMap-Mac_OS_X-x86_64-64.dylib
> make: *** [runTests] Trace/BPT trap: 5
> make: *** Deleting file `runTests'
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1#6144)