Talk:Installing Scribus from CVS sources on Win32 with QT 3/Windows: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
I installed everything correctly i think, qt-3.3.3 and Scribus 1.2.2cvs and even ./configure worked without problems. But make gives the following output - i ripped off some of the lines as there were too much:
I installed everything correctly i think, qt-3.3.3 and Scribus 1.2.2cvs and even ./configure worked without problems. But make gives the following output - i ripped off some of the lines as there were too much:


(snipped)
Jo-Hanes, can I get you to include all output from the gcc command that compiled about.cpp to the end? Without seeing that it's hard to say what's going on.
Of course, I can:
<pre>
<pre>
.libs/about.o(.text+0xc4b2):about.cpp: undefined reference to `QString::shared_null'
johannes@ntb-jr-001 /opt/scribus-1.2.2cvs
.libs/about.o(.text+0xc4bc):about.cpp: undefined reference to `QStringData::deleteSelf()'
$ make
.libs/about.o(.text+0xc525):about.cpp: undefined reference to `QMetaObjectCleanUp::QMetaObjectCleanUp[in-charge](char const*, QMetaObject* (*)())'
make  all-recursive
.libs/about.o(.text+0x1c4):about.cpp: undefined reference to `QDialog::qt_cast(char const*)'
make[1]: Entering directory `/opt/scribus-1.2.2cvs'
.libs/about.o(.text+0xc507):about.cpp: undefined reference to `QMetaObjectCleanUp::~QMetaObjectCleanUp [in-charge]()'
Making all in scribus
.libs/about.o(.rdata$_ZTV5About[vtable for About]+0x1fc):about.cpp: undefined reference to `QPaintDevice::fontInf(QFont*, int) const'
make[2]: Entering directory `/opt/scribus-1.2.2cvs/scribus'
.libs/about.o(.rdata$_ZTV6QGList[vtable for QGList]+0xc):about.cpp: undefined reference to `QGList::clear()'
Making all in icons
.libs/about.o(.rdata$_ZTV6QGList[vtable for QGList]+0x10):about.cpp: undefined reference to `QGList::~QGList [in-charge]()'
make[3]: Entering directory `/opt/scribus-1.2.2cvs/scribus/icons'
.libs/about.o(.rdata$_ZTV6QGList[vtable for QGList]+0x14):about.cpp: undefined reference to `QGList::~QGList [in-charge deleting]()'
make[3]: Nothing to be done for `all'.
.libs/about.o(.rdata$_ZTV6QGList[vtable for QGList]+0x18):about.cpp: undefined reference to `QPtrCollection::newItem(void*)'
make[3]: Leaving directory `/opt/scribus-1.2.2cvs/scribus/icons'
.libs/about.o(.rdata$_ZTV6QGList[vtable for QGList]+0x20):about.cpp: undefined reference to `QGList::compareItems(void*, void*)'
Making all in libabout
.libs/about.o(.rdata$_ZTV6QGList[vtable for QGList]+0x24):about.cpp: undefined reference to `QGList::read(QDataStream&, void*&)'
make[3]: Entering directory `/opt/scribus-1.2.2cvs/scribus/libabout'
.libs/about.o(.rdata$_ZTV6QGList[vtable for QGList]+0x28):about.cpp: undefined reference to `QGList::write(QDataStream&, void*) const'
/bin/bash ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W
.libs/about.o(.text$_ZN5AboutD1Ev[About::~About [in-charge]()]+0x1a):about.cpp: undefined reference to `QDialog::~QDialog [not-in-charge]()'
  -Wpointer-arith -Wwrite-strings -O2 -fdata-sections -fno-exceptions -fno-check-new -fno-common  -s
.libs/about.o(.text$_ZN5AboutD0Ev[About::~About [in-charge deleting]()]+0x1d):about.cpp: undefined reference to `QDialog::~QDialog [not-in-charge]()'
  -lfreetype -lz -Wl,--enable-runtime-pseudo-reloc,
  --script,/usr/local/lib/qt/mkspecs/cygwin-g++/i386pe.x-no-rdata -o libabout.la
  -rpath /opt/1.2/lib/scribus/libs -version-info 0:0:0 about.lo
Creating library file: .libs/libabout.dll.a
.libs/about.o(.text+0x21):about.cpp: undefined reference to `_qApp'
.libs/about.o(.text+0x4b):about.cpp: undefined reference to `QApplication::translate(char const*,
    char const*, char const*, QApplication::Encoding) const'
.libs/about.o(.text+0x71):about.cpp: undefined reference to `QString::fromLatin1(char const*, int)'
.libs/about.o(.text+0x91):about.cpp: undefined reference to `_qApp'
.libs/about.o(.text+0xbe):about.cpp: undefined reference to `QApplication::translate(char const*,  
    char const*, char const*, QApplication::Encoding) const'
-----
SNIP hundreds more lines of undefined reference errors
-----
.libs/about.o(.text$_ZN5AboutD1Ev[About::~About [in-charge]()]+0x1a):about.cpp:  
    undefined reference to `QDialog::~QDialog [not-in-charge]()'
.libs/about.o(.text$_ZN5AboutD0Ev[About::~About [in-charge deleting]()]+0x1d):about.cpp:  
    undefined reference to `QDialog::~QDialog [not-in-charge]()'
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
make[3]: *** [libabout.la] Error 1
make[3]: *** [libabout.la] Error 1
Line 26: Line 48:
make: *** [all] Error 2
make: *** [all] Error 2
</pre>
</pre>
Jo-Hanes, can I get you to include all output from the gcc command that compiled about.cpp to the end? Without seeing that it's hard to say what's going on.

Latest revision as of 10:17, 2 March 2005

I installed everything correctly i think, qt-3.3.3 and Scribus 1.2.2cvs and even ./configure worked without problems. But make gives the following output - i ripped off some of the lines as there were too much:

(snipped)

Jo-Hanes, can I get you to include all output from the gcc command that compiled about.cpp to the end? Without seeing that it's hard to say what's going on.

Of course, I can:

johannes@ntb-jr-001 /opt/scribus-1.2.2cvs
$ make
make  all-recursive
make[1]: Entering directory `/opt/scribus-1.2.2cvs'
Making all in scribus
make[2]: Entering directory `/opt/scribus-1.2.2cvs/scribus'
Making all in icons
make[3]: Entering directory `/opt/scribus-1.2.2cvs/scribus/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/scribus-1.2.2cvs/scribus/icons'
Making all in libabout
make[3]: Entering directory `/opt/scribus-1.2.2cvs/scribus/libabout'
/bin/bash ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W
  -Wpointer-arith -Wwrite-strings -O2 -fdata-sections -fno-exceptions -fno-check-new -fno-common  -s 
  -lfreetype -lz -Wl,--enable-runtime-pseudo-reloc,
  --script,/usr/local/lib/qt/mkspecs/cygwin-g++/i386pe.x-no-rdata -o libabout.la 
  -rpath /opt/1.2/lib/scribus/libs -version-info 0:0:0 about.lo
Creating library file: .libs/libabout.dll.a
.libs/about.o(.text+0x21):about.cpp: undefined reference to `_qApp'
.libs/about.o(.text+0x4b):about.cpp: undefined reference to `QApplication::translate(char const*, 
    char const*, char const*, QApplication::Encoding) const'
.libs/about.o(.text+0x71):about.cpp: undefined reference to `QString::fromLatin1(char const*, int)'
.libs/about.o(.text+0x91):about.cpp: undefined reference to `_qApp'
.libs/about.o(.text+0xbe):about.cpp: undefined reference to `QApplication::translate(char const*, 
    char const*, char const*, QApplication::Encoding) const'
-----
SNIP hundreds more lines of undefined reference errors
-----
.libs/about.o(.text$_ZN5AboutD1Ev[About::~About [in-charge]()]+0x1a):about.cpp: 
    undefined reference to `QDialog::~QDialog [not-in-charge]()'
.libs/about.o(.text$_ZN5AboutD0Ev[About::~About [in-charge deleting]()]+0x1d):about.cpp: 
    undefined reference to `QDialog::~QDialog [not-in-charge]()'
collect2: ld returned 1 exit status
make[3]: *** [libabout.la] Error 1
make[3]: Leaving directory `/opt/scribus-1.2.2cvs/scribus/libabout'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/scribus-1.2.2cvs/scribus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/scribus-1.2.2cvs'
make: *** [all] Error 2