[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Problems building kdepim-3.3.2 on RHEL 2.1/3.0
From:       Albert Chin <kde-devel () mlists ! thewrittenword ! com>
Date:       2005-02-24 19:08:48
Message-ID: 20050224190848.GA66502 () mail1 ! thewrittenword ! com
[Download RAW message or body]

I've run into the following build problem on RHEL 2.1/3.0 for
kdepim-3.3.2 with gcc-3.4.3:
  /bin/sh ../../libtool --mode=link --tag=CXX g++  -Wnon-virtual-dtor
  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
  -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
  -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -finline-functions
  -Wformat-security -Wmissing-format-attribute -fno-exceptions
  -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
  -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
  -L/opt/TWWfsw/gcc343r/lib
  -Wl,-rpath,/opt/TWWfsw/kde33/lib:/opt/TWWfsw/libqt33/lib/gcc34:/opt/TWWfsw/gcc343r/lib
  -L/opt/TWWfsw/fcpackage22/lib -o kfile_vcf.la -rpath
  /opt/TWWfsw/kde33/lib/kde3 -L/opt/TWWfsw/jpeg/lib
  -L/opt/TWWfsw/libpng12/lib -L/opt/TWWfsw/libtiff35/lib
  -L/opt/TWWfsw/libmng10/lib -L/opt/TWWfsw/zlib11/lib
  -L/opt/TWWfsw/fcpackage22/lib -L/opt/TWWfsw/kde33/lib
  -L/opt/TWWfsw/libqt33/lib/gcc34 -L/usr/X11R6/lib64 -module
  -avoid-version -module -no-undefined -Wl,--no-undefined
  -Wl,--allow-shlib-undefined -R /opt/TWWfsw/kde33/lib -R
  /opt/TWWfsw/libqt33/lib/gcc34 -R /usr/X11R6/lib64 -R
  /opt/TWWfsw/jpeg/lib -R /opt/TWWfsw/libpng12/lib -R
  /opt/TWWfsw/libtiff35/lib -R /opt/TWWfsw/libmng10/lib -R
  /opt/TWWfsw/zlib11/lib -R /opt/TWWfsw/fcpackage22/lib  kfile_vcf.lo
  -lkio
  .libs/kfile_vcf.o(.text+0x30): In function
  `KVcfPlugin::KVcfPlugin(QObject*, char const*, QStringList const&)':
  : undefined reference to `QString::QString(char const*)'
  .libs/kfile_vcf.o(.text+0x54): In function
  `KVcfPlugin::KVcfPlugin(QObject*, char const*, QStringList const&)':
  : undefined reference to `QString::shared_null'
  .libs/kfile_vcf.o(.text+0x5e): In function
  `KVcfPlugin::KVcfPlugin(QObject*, char const*, QStringList const&)':
  : undefined reference to `QStringData::deleteSelf()'
  .libs/kfile_vcf.o(.text+0x70): In function
  `KVcfPlugin::KVcfPlugin(QObject*, char const*, QStringList const&)':
  : undefined reference to `i18n(char const*)'
  .libs/kfile_vcf.o(.text+0x7f): In function
  `KVcfPlugin::KVcfPlugin(QObject*, char const*, QStringList const&)':
  : undefined reference to `QString::QString(char const*)'
  .libs/kfile_vcf.o(.text+0xa8): In function
  `KVcfPlugin::KVcfPlugin(QObject*, char const*, QStringList const&)':
  : undefined reference to `QString::shared_null'
  .libs/kfile_vcf.o(.text+0xb2): In function
  `KVcfPlugin::KVcfPlugin(QObject*, char const*, QStringList const&)':
  ...

Even though -Wl,--no-undefined is specified, I'd expect
-Wl,--allow-shlib-undefined to work around the problems above. On the
RHEL 3.0/x86 machine, we have:
  $ ld --version
  GNU ld version 2.14.90.0.4 20030523
  ...

Building with --enable-closure is hopeless as this causes other
problems.

-- 
albert chin (china@thewrittenword.com)
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic