Thanks Martin! -- Best Regards, Edward J. Yoon @eddieyoon
On Oct 2, 2013, at 7:16 PM, Martin Illecker <[email protected]> wrote: > The '-lpthread' option is used for posix threads and semaphores in [1] [2]. > (#include <pthread.h>) > > '-lssl -lcrypto' were used in Hadoop Pipes [3] [4] for authentication. ( > createDigest) > > But in Hama Pipes we don't use authentication and could skip linking > OpenSSL. ('-lssl -lcrypto') > > But '-lpthread' option is necessary for semaphores. [2] > > I will remove OpenSSL dependency and commit it. > > Martin > > [1] > https://github.com/apache/hama/blob/trunk/c%2B%2B/src/main/native/pipes/impl/HamaPipes.cc#L35 > [2] > https://github.com/apache/hama/blob/trunk/c%2B%2B/src/main/native/pipes/impl/HamaPipes.cc#L552 > [3] > https://github.com/apache/hama/blob/trunk/c%2B%2B/src/main/native/pipes/impl/HamaPipes.cc#L39-40 > [4] > http://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-tools/hadoop-pipes/src/main/native/pipes/impl/HadoopPipes.cc > > > > 2013/10/2 Edward J. Yoon <[email protected]> > >> Builds successfully on Jenkins machines. >> >> jenkins@juno:~/jenkins-slave/workspace/Hama-trunk/trunk$ mvn clean >> install -projects c++ >> >> But, jenkins job fails. >> >> BTW, everything seems fine without "-lssl -lcrypto -lpthread" options. >> Why do we need this options? >> >> -- >> Best Regards, Edward J. Yoon >> @eddieyoon >>
