I hacked the Makefile to manually include the new QT paths and link against QT, and it compiled just dandy. Hmm... I guess I only thought I specified QTDIR. Additionally, in my last e-mail, I forgot the include the operation that produced the errors: /bin/sh ../../../libtool --silent --mode=link g++ -O2 -Wall -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib -rpath /usr/local/lib -rpath /usr/X11R6/lib -o pyidl2 main.o -lmico2.2.3 -lcrypt -ldl ../../../kdecore/libkdecore.la Thanks, John Mark ---------- Forwarded Message ---------- Subject: Linking Errors Date: Wed, 21 Apr 1999 11:05:43 -0700 From: John Mark Walker I've had problems with the last 3 snapshots of kdelibs ( 4/19, 4/20, 4/21 ). I have a strong feeling that it's something to do with my environment. Changes I've made to Red Hat 5.2: 1. upgraded compiler to egcs 1.1.2 2. compiled python 1.5.2 - with shared modules Now, when I run configure, I get - "checking if Python application links... no" before it tests with -lm and -lpthread - which passes Then when running make in the corba/pykde directory, it says I don't have a shared version of libpython. Finally when make goes to corba/python, it spits out a slew of undefined references: ../../../kdecore/.libs/libkdecore.so: undefined reference to `QWidget::setMicroFocusHint(int, int, int, int)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QWidget::customEvent(QCustomEvent *)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QWidget::customWhatsThis(void) const' ../../../kdecore/.libs/libkdecore.so: undefined reference to `Qt::darkCyan' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QString::QString(QArray const &)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QWidget::dragEnterEvent(QDragEnterEvent *)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QGDict::look(QString const &, void *, int)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QPaintDevice::x_appdisplay' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QString::operator+=(QString const &)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QRegExp::QRegExp(QString const &, bool, bool)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QCString::sprintf(char const *,...)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QFont::QFont(QString const &, int, int, bool)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QString::shared_null' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QDir::QDir(QString const &, QString const &, int, int)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QDir::cleanDirPath(QString const &)' ../../../kdecore/.libs/libkdecore.so: undefined reference to `QString::replace(unsigned int, unsigned int, QString const &)' ... etc. My QTDIR is set to /opt/qt, where I compiled the 4/19 snapshot. Incidentally, I was getting the above errors with Python 1.5.1 Are there any other environment variables or compile-time parameters I'm missing? Your help is appreciated. -John Mark