trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2011

Re: [trinity-devel] ALSA support are requested, but not found on your system

From: Darrell Anderson <humanreadable@...>
Date: Sun, 6 Mar 2011 16:24:35 -0800 (PST)
> > Please show me CMakeError.log, is located in build
> tree, under CMakeFiles
> > directory.
> 
> Also, show me the output for command "pkg-config alsa
> --cflags --libs".

========================================
pkg-config alsa --cflags --libs:

-I/usr/include/alsa  -lasound

========================================
CMakeError.log:

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /dev/shm/arts/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/dev/shm/arts/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /dev/shm/arts/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o
/usr/bin/gcc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-2.6/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc     -DCHECK_FUNCTION_EXISTS=pthread_create  -fPIC CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o  -o cmTryCompileExec -rdynamic -lpthreads 
/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../../i486-slackware-linux/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
gmake[1]: Leaving directory `/dev/shm/arts/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec] Error 1
gmake: *** [cmTryCompileExec/fast] Error 2
========================================

Darrell