Text archives Help
- From: harsha sri-narayana <h.sri-narayana@cs.ucl.ac.uk>
- To: manta@sci.utah.edu
- Subject: [Manta] pthread
- Date: Wed, 05 Dec 2007 18:42:45 +0000
Does anyone else get this output? To get rid of it I change
tests/CMakeLists.txt to not include atomic_counter as an executable and
it compiles ok. In doing so, build/bin/manta works fine so I've left it
like that for quite a few builds now. Interestingly on my home computer
I don't get these errors. I only get this on my work pc. Both are
ubuntu 7.10, both have the same compiler.
Work=dual xeon
Home=core2duo
I can live without it because I can just remove atomic_counter.
-Harsha
Linking CXX executable ../bin/atomic_counter
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_mutexattr_destroy'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_create'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_key_create'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`sem_wait'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`sem_init'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_getspecific'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`sem_destroy'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_mutex_trylock'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_attr_setstacksize'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`sem_getvalue'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_kill'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`sem_post'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`sem_trywait'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_mutexattr_settype'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_join'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_setspecific'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_detach'
/home/harsha/Manta/build/lib/libManta_Core.so: undefined reference to
`pthread_mutexattr_init'
collect2: ld returned 1 exit status
make[2]: *** [bin/atomic_counter] Error 1
make[1]: *** [tests/CMakeFiles/atomic_counter.dir/all] Error 2
make: *** [all] Error 2
- [Manta] pthread, harsha sri-narayana, 12/05/2007
Archive powered by MHonArc 2.6.16.