Hi there,

Well that is something I have not seen before: it looks like it did not 
link correctly to your copy of libpthread.so. To confirm this, could you run

ldd build-directory/lib/libdeal_II.so

(where build-directory is whereever you compiled the library)

and see if it did not find a particular library.

Since it looks like the library is in '/root/': did you compile this as 
root? If so weird things can happen; you should build it as an unprivileged 
user.

Thanks,
David Wells

On Thursday, June 30, 2016 at 2:00:22 AM UTC-4, deal.II newbie wrote:
>
> Hi! I am a newbie to Deal.II. After the installation, I typed the command 
> make test for running the quick tests. But all four tests failed out of 
> four. The reason listed below in the quicktests.log is the same for all 4 
> tests. I would like to ask if anyone could please help indicate what the 
> error is and how to fix it? Any help or hints would be much appreciated! 
> Thank you very much in advance!
>
> The error is the same for all 4 tests as follows,
>
> Scanning dependencies of target tbb.debug
> [100%] Building CXX object 
> tests/quick_tests/CMakeFiles/tbb.debug.dir/tbb.cc.o
> /root/dealii-8.4.1/tests/quick_tests/tbb.cc:49:6: warning: unused 
> parameter ‘scratch’ [-Wunused-parameter]
> Linking CXX executable tbb.debug
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_mutexattr_destroy'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to `pthread_join'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to `pthread_detach'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_barrier_wait'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_mutexattr_settype'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_mutex_trylock'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_barrier_init'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to `sem_wait'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to `sem_init'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_getspecific'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_setspecific'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to `sem_destroy'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to `pthread_create'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_key_delete'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_key_create'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_mutexattr_init'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_attr_getstack'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_barrier_destroy'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to `sem_post'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_getattr_np'
> ../../lib/libdeal_II.g.so.8.4.1: undefined reference to 
> `pthread_attr_setstacksize'
> collect2: error: ld returned 1 exit status
> gmake[7]: *** [tests/quick_tests/tbb.debug] Error 1
> gmake[6]: *** [tests/quick_tests/CMakeFiles/tbb.debug.dir/all] Error 2
> gmake[5]: *** [tests/quick_tests/CMakeFiles/tbb.debug.run.dir/rule] Error 2
> gmake[4]: *** [tbb.debug.run] Error 2
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to