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
On Wednesday 27 June 2012 22:44:22 Darrell Anderson wrote:
Slackware Current 64-bit
The failure:
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-li nux/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-li nux/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
Add "pthead" to linker.
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?
Add "pthead" to linker.
Thank you.
How do I do that?
Second, why is that needed for 64-bit and not 32-bit?
Darrell
On Wednesday 27 June 2012 23:21:06 Darrell Anderson wrote: [...]
How to fix?
Add "pthead" to linker.
Thank you.
How do I do that?
I don't know, show me the CMakeLists.txt
Second, why is that needed for 64-bit and not 32-bit?
Not sure. Maybe you have another gcc version on 32 bit machine?
Darrell
How do I do that?
I don't know, show me the CMakeLists.txt
I'm not sure, but perhaps this one?
rosegarden/src/CMakeLists.txt
Second, why is that needed for 64-bit and not 32-bit?
Not sure. Maybe you have another gcc version on 32 bit machine?
Should not be. Everything recently was updated.
Darrell
On Thursday 28 June 2012 00:25:52 Darrell Anderson wrote:
How do I do that?
I don't know, show me the CMakeLists.txt
I'm not sure, but perhaps this one?
rosegarden/src/CMakeLists.txt
I think there:
tde_add_executable( rosegardensequencer AUTOMOC SOURCES ${seq_dcop_SRCS} ${snd_SRCS} ${sequencer_SRCS} LINK dl tdecore-shared ${ALSA_LIBS} ${JACK_LIBS} ${LIBLO_LIBS} ${LRDF_LIBS} ${FFTW3F_LIBS} tdeui-shared RosegardenCommon pthread DESTINATION ${BIN_INSTALL_DIR} )
[...]
I'm not sure, but perhaps this one?
rosegarden/src/CMakeLists.txt
I think there:
tde_add_executable( rosegardensequencer AUTOMOC SOURCES ${seq_dcop_SRCS} ${snd_SRCS} ${sequencer_SRCS} LINK dl tdecore-shared ${ALSA_LIBS} ${JACK_LIBS} ${LIBLO_LIBS} ${LRDF_LIBS} ${FFTW3F_LIBS} tdeui-shared RosegardenCommon pthread DESTINATION ${BIN_INSTALL_DIR} )
Thanks much, but that did not work. :-( I'll file a bug report.
Darrell
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
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:
fpermissive only instructs the compiler to be more permissive when parsing the code; it does nothing to the linker, which is where Darrell is experiencing the problem.
I suspect a problem with 64 bit Slackware 14 at this point, not something in TDE.
Tim
Rosegarden build here without error -- but I'm cheating with --fpermissive:
fpermissive only instructs the compiler to be more permissive when parsing the code; it does nothing to the linker, which is where Darrell is experiencing the problem.
I suspect a problem with 64 bit Slackware 14 at this point, not something in TDE.
I added similar comments to the bug report. :-)
Slackware 14 is not yet official and likely at least a few weeks away from release candidate status. cmake 2.8.8 is being used, although the same version is in the 32-bit version. Which package provides the linker? gcc?
Darrell