From kde-bugs-dist Thu Feb 28 23:18:02 2002 From: owner () bugs ! kde ! org (Stephan Kulow) Date: Thu, 28 Feb 2002 23:18:02 +0000 To: kde-bugs-dist Subject: Bug#35866: marked as done (undefined references mcop kdelibs) by Stefan Westerfeld X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=101493847026291 Your message with subj: undefined references mcop kdelibs This looks like a severly broken build setup to me, where you still have=20 different versions of C++ libraries/compilers around. So it doesn't look = like=20 KDEs fault to me. I'll close your bug report. has caused the attached bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I'm talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Stephan Kulow (administrator, KDE bugs database) Received: (at submit) by bugs.kde.org; 6 Dec 2001 22:39:13 +0000 Received: (qmail 7938 invoked by uid 33); 6 Dec 2001 22:39:13 -0000 Date: 6 Dec 2001 22:39:13 -0000 Message-ID: <20011206223913.7937.qmail@master.kde.org> To: submit@bugs.kde.org Subject: undefined references mcop kdelibs From: best@atoka-software.com Package: kdelibs Version: 2.2.2 (using KDE 2.2.2 ) Severity: normal Installed from: Compiled From Sources Compiler: gnu gcc-2.9.5-3 OS: Linux OS/Compiler notes: Linux jackfork 2.4.12 #35 SMP Wed Nov 7 17:24:21 PST 2001 i586 unknown this bug at first glance looks like #34252, except there is no other compile on the system. i verified this in /usr/bin and /usr/local/bin. moreover, i looked for files in /usr/lib/gcc-lib that would indicate other compiler versions. i removed the compiler and prior libraries, reinstalled gcc-2.96 that comes with rh 7.1 and rebuilt 2.95.3. i have installed the following package before building kdelibs-2.2.2: cdparanoia-III-alpha9.8 lesstif-0.93.15 libxml-1.8.16 libxml-1.8.16-1.i386.rpm libxml-1.8.16.tar.gz libxml2-2.4.9 libxslt-1.0.6 libxslt-1.0.7 libxslt-1.0.8.tar.gz openldap-2.0.18 openssl-0.9.6b pcre-3.7 qt-x11-2.3.1 the last few lines from the kdelibs-2.2.2 compile are: mkdir .libs g++ -fno-exceptions -fno-check-new -o .libs/mcopidl mcopidl.o yacc.o scanner.o namespace.o -DPIC -fPIC -L/usr/X11R6/lib -L/usr/lib/qt-2.3.1/lib -L/usr/lib ../mcop/.libs/libmcop.so -lresolv -ldl -L/usr/lib/qt-2.3.2/lib -L/usr/local/postgres/lib -L/usr/local/lib -L. -L/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.3 /usr/lib/libstdc++.so -L/usr/src/gcc-build/i586-pc-linux-gnu/libstdc++-v3/src -L/usr/src/gcc-build/i586-pc-linux-gnu/libstdc++-v3/src/.libs -lm -lm -lm -L/usr/src/gcc-build/gcc -lgcc_s -lgcc -lc -lgcc_s -lgcc -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc -lm -lc -lgcc mcopidl.o: In function `createDispatchFunction(_IO_FILE *, long, Arts::InterfaceDef const &, Arts::MethodDef const &, basic_string, __default_alloc_template >)': mcopidl.o(.text+0x8185): undefined reference to `endl(ostream &)' mcopidl.o(.text+0x81b6): undefined reference to `cerr' mcopidl.o(.text+0x81bb): undefined reference to `ostream::operator<<(char const *)' mcopidl.o(.text+0x81d1): undefined reference to `ostream::operator<<(char const *)' mcopidl.o(.text+0x81e7): undefined reference to `ostream::operator<<(char const *)' mcopidl.o(.text+0x81f2): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))' mcopidl.o: In function `checkSymbolDefinition(basic_string, __default_alloc_template > const &, basic_string, __default_alloc_template > const &, Arts::InterfaceDef const &, map, __default_alloc_template >, basic_string, __default_alloc_template >, less, __default_alloc_template > >, allocator, __default_alloc_template > > > &)': mcopidl.o(.text+0x8cf5): undefined reference to `endl(ostream &)' mcopidl.o(.text+0x8d20): undefined reference to `cerr' mcopidl.o(.text+0x8d30): undefined reference to `ostream::operator<<(char const *)' mcopidl.o(.text+0x8d46): undefined reference to `ostream::operator<<(char const *)' mcopidl.o(.text+0x8d5c): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))' mcopidl.o: In function `preprocess(vector > &, vector > &)': mcopidl.o(.text+0xe2d4): undefined reference to `endl(ostream &)' mcopidl.o(.text+0xe2e1): undefined reference to `cerr' mcopidl.o(.text+0xe2e6): undefined reference to `ostream::operator<<(char const *)' mcopidl.o(.text+0xe2f1): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))' mcopidl.o: In function `basic_string, __default_alloc_template >::Rep::copy(unsigned int, char const *, unsigned int)': mcopidl.o(.basic_string, __default_alloc_template >::Rep::gnu.linkonce.t.copy(unsigned int, char const *, unsigned int)+0x33): undefined reference to `string_char_traits::copy(char *, char const *, unsigned int)' mcopidl.o: In function `basic_string, __default_alloc_template >::compare(basic_string, __default_alloc_template > const &, unsigned int, unsigned int) const': mcopidl.o(.basic_string, __default_alloc_template >::gnu.linkonce.t.compare(basic_string, __default_alloc_template > const &, unsigned int, unsigned int) const+0xbc): undefined reference to `string_char_traits::compare(char const *, char const *, unsigned int)' mcopidl.o: In function `basic_string, __default_alloc_template >::Rep::move(unsigned int, char const *, unsigned int)': mcopidl.o(.basic_string, __default_alloc_template >::Rep::gnu.linkonce.t.move(unsigned int, char const *, unsigned int)+0x33): undefined reference to `string_char_traits::move(char *, char const *, unsigned int)' mcopidl.o: In function `__malloc_alloc_template<0>::_S_oom_malloc(unsigned int)': mcopidl.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned int)+0x1a): undefined reference to `endl(ostream &)' mcopidl.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned int)+0x27): undefined reference to `cerr' mcopidl.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned int)+0x2c): undefined reference to `ostream::operator<<(char const *)' mcopidl.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned int)+0x37): undefined reference to `ostream::operator<<(ostream &(*)(ostream &))' mcopidl.o: In function `basic_string, __default_alloc_template >::compare(char const *, unsigned int, unsigned int) const': mcopidl.o(.basic_string, __default_alloc_template >::gnu.linkonce.t.compare(char const *, unsigned int, unsigned int) const+0x84): undefined reference to `string_char_traits::compare(char const *, char const *, unsigned int)' mcopidl.o: In function `basic_string, __default_alloc_template >::Rep::set(unsigned int, char, unsigned int)': mcopidl.o(.basic_string, __default_alloc_template >::Rep::gnu.linkonce.t.set(unsigned int, char, unsigned int)+0x38): undefined reference to `string_char_traits::set(char *, char const &, unsigned int)' mcopidl.o: In function `ostream & operator<<, __default_alloc_template >(ostream &, basic_string, __default_alloc_template > const &)': mcopidl.o(.gnu.linkonce.t.__ls__H3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0_R7ostreamRCt12basic_string3ZX01ZX11ZX21_R7ostream+0x32): undefined reference to `ostream::write(char const *, int)' mcopidl.o: In function `basic_string, __default_alloc_template >::assign(char const *)': mcopidl.o(.basic_string, __default_alloc_template >::gnu.linkonce.t.assign(char const *)+0x16): undefined reference to `string_char_traits::length(char const *)' mcopidl.o: In function `basic_string, __default_alloc_template >::compare(char const *, unsigned int) const': mcopidl.o(.basic_string, __default_alloc_template >::gnu.linkonce.t.compare(char const *, unsigned int) const+0x17): undefined reference to `string_char_traits::length(char const *)' mcopidl.o: In function `basic_string, __default_alloc_template >::append(char const *)': mcopidl.o(.basic_string, __default_alloc_template >::gnu.linkonce.t.append(char const *)+0x16): undefined reference to `string_char_traits::length(char const *)' mcopidl.o: In function `basic_string, __default_alloc_template >::terminate(void) const': mcopidl.o(.basic_string, __default_alloc_template >::gnu.linkonce.t.terminate(void) const+0x46): undefined reference to `string_char_traits::assign(char &, char const &)' mcopidl.o: In function `basic_string, __default_alloc_template >::eos(void)': mcopidl.o(.basic_string, __default_alloc_template >::gnu.linkonce.t.eos(void)+0x7): undefined reference to `string_char_traits::eos(void)' ../mcop/.libs/libmcop.so: undefined reference to `ostream::operator<<(long)' ../mcop/.libs/libmcop.so: undefined reference to `ios virtual table' ../mcop/.libs/libmcop.so: undefined reference to `ostream::flush(void)' ../mcop/.libs/libmcop.so: undefined reference to `istream::ios virtual table' ../mcop/.libs/libmcop.so: undefined reference to `streambuf::sungetc(void)' ../mcop/.libs/libmcop.so: undefined reference to `ifstream::~ifstream(void)' ../mcop/.libs/libmcop.so: undefined reference to `istream::_skip_ws(void)' ../mcop/.libs/libmcop.so: undefined reference to `fstreambase::fstreambase(int, char const *, int, int)' ../mcop/.libs/libmcop.so: undefined reference to `ifstream::ios virtual table' collect2: ld returned 1 exit status make[3]: *** [mcopidl] Error 1 make[3]: Leaving directory `/usr/src/kde/kdelibs-2.2.2/arts/mcopidl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/kde/kdelibs-2.2.2/arts' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/kde/kdelibs-2.2.2' make: *** [all-recursive-am] Error 2 thanks in advance: allen wayne best (Submitted via bugs.kde.org)