On 06/27/2012 02:44 PM, Darrell Anderson wrote:
Slackware Current 64-bit
The failure:
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld:
CMakeFiles/rosegardensequencer.dir/sequencer/main.cpp.o: undefined reference to symbol
'pthread_sigmask@@GLIBC_2.2.5'
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld:
note: 'pthread_sigmask@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so
try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
rosegarden builds without that error in 32-bit.
How to fix?
Darrell
Rosegarden build here without error -- but I'm cheating with --fpermissive:
# create out of source build directory
msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
mkdir -p build
cd build
## cmake call
msg "Starting cmake..."
cmake ${srcdir}/${pkgname#*-} \
-DCMAKE_C_FLAGS="-fpermissive" \
-DCMAKE_CXX_FLAGS="-fpermissive" \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DSYSCONF_INSTALL_DIR=/etc \
-DBUILD_ALL=ON
msg "Building - ${pkgname}..."
make
--
David C. Rankin, J.D.,P.E.