Problem making distribution.

Andreas Guelzow aguelzow at math.concordia.ab.ca
Wed Aug 18 20:59:58 BST 1999


I have written a small application version epsilon in kdevelop. I think
I am ready to "make a distribution".

To be safe I first 

CLean/Rebuild All

This is successful. Then I select 

Make distribution -> Source_tgz

This is also successful. In /home/aguelzow/programming/kisetl/ I find a
newly created
tarball kisetl-0.1.tar.gz
which I copy to /misc/i/
In misc/i I try to build it:
-------------------------------
aguelzow at steiner:~$ cd /misc/i
aguelzow at steiner:/misc/i$ gtar -xzvf kisetl-0.1.tar.gz
kisetl-0.1/
kisetl-0.1/Makefile.in
kisetl-0.1/README
kisetl-0.1/stamp-h.in
kisetl-0.1/AUTHORS
kisetl-0.1/COPYING
kisetl-0.1/ChangeLog
kisetl-0.1/INSTALL
kisetl-0.1/Makefile.am
kisetl-0.1/TODO
kisetl-0.1/acconfig.h
kisetl-0.1/acinclude.m4
kisetl-0.1/aclocal.m4
kisetl-0.1/config.guess
kisetl-0.1/config.h.bot
kisetl-0.1/config.h.in
kisetl-0.1/config.sub
kisetl-0.1/configure
kisetl-0.1/configure.in
kisetl-0.1/install-sh
kisetl-0.1/ltconfig
kisetl-0.1/ltmain.sh
kisetl-0.1/missing
kisetl-0.1/mkinstalldirs
kisetl-0.1/kisetl.kdevprj
kisetl-0.1/kisetl.lsm
kisetl-0.1/kisetl/
kisetl-0.1/kisetl/Makefile.in
kisetl-0.1/kisetl/Makefile.am
kisetl-0.1/kisetl/kisetloutput.cpp
kisetl-0.1/kisetl/kisetlkernel.cpp
kisetl-0.1/kisetl/kisetlview.cpp
kisetl-0.1/kisetl/kisetldoc.cpp
kisetl-0.1/kisetl/kisetl.cpp
kisetl-0.1/kisetl/main.cpp
kisetl-0.1/kisetl/kisetl.h
kisetl-0.1/kisetl/kisetldoc.h
kisetl-0.1/kisetl/kisetlview.h
kisetl-0.1/kisetl/resource.h
kisetl-0.1/kisetl/kisetl.kdelnk
kisetl-0.1/kisetl/kisetl.xpm
kisetl-0.1/kisetl/kisetlkernel.h
kisetl-0.1/kisetl/kisetloutput.h
kisetl-0.1/kisetl/docs/
kisetl-0.1/kisetl/docs/Makefile.in
kisetl-0.1/kisetl/docs/Makefile.am
kisetl-0.1/kisetl/docs/en/
kisetl-0.1/kisetl/docs/en/Makefile.in
kisetl-0.1/kisetl/docs/en/Makefile.am
kisetl-0.1/kisetl/docs/en/index-1.html
kisetl-0.1/kisetl/docs/en/index-2.html
kisetl-0.1/kisetl/docs/en/index-3.html
kisetl-0.1/kisetl/docs/en/index-4.html
kisetl-0.1/kisetl/docs/en/index-5.html
kisetl-0.1/kisetl/docs/en/index-6.html
kisetl-0.1/kisetl/docs/en/index.html
kisetl-0.1/po/
kisetl-0.1/po/Makefile.in
kisetl-0.1/po/Makefile.am
kisetl-0.1/po/kisetl.pot
aguelzow at steiner:/misc/i$ cd kisetl-0.1
aguelzow at steiner:/misc/i/kisetl-0.1$ ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for ld used by GCC... /usr/i486-linux/bin/ld
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for main in -lcompat... no
checking for main in -lcrypt... yes
checking for the third argument of getsockname... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for killpg in -lucb... no
checking for Qt... libraries /usr/lib/qt/lib, headers
/usr/lib/qt/include
checking if Qt compiles without flags... yes
checking for moc... /usr/lib/qt/bin/moc
checking for rpath... yes
checking for bool... yes
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a C-Compiler... gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for a C++-Compiler...
checking for g++... g++
checking whether the C++ compiler (g++  -s) works... yes
checking whether the C++ compiler (g++  -s) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... -static
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-linux/bin/ld) supports shared
libraries..
. yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking whether NLS is requested... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for KDE... (cached) libraries /opt/kde/lib, headers
/opt/kde/include
checking for extra includes... no
checking for extra libs... no
(cached) creating ./config.status
creating Makefile
creating kisetl/Makefile
creating kisetl/docs/Makefile
creating kisetl/docs/en/Makefile
creating po/Makefile
creating config.h
aguelzow at steiner:/misc/i/kisetl-0.1$
-------------------------------------
        up to here everything seems to be working fine. But then:
-------------------------------------
       aguelzow at steiner:/misc/i/kisetl-0.1$ make
make  all-recursive
make[1]: Entering directory `/misc/i/kisetl-0.1'
Making all in kisetl
make[2]: Entering directory `/misc/i/kisetl-0.1/kisetl'
Making all in docs
make[3]: Entering directory `/misc/i/kisetl-0.1/kisetl/docs'
Making all in en
make[4]: Entering directory `/misc/i/kisetl-0.1/kisetl/docs/en'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/misc/i/kisetl-0.1/kisetl/docs/en'
make[4]: Entering directory `/misc/i/kisetl-0.1/kisetl/docs'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/misc/i/kisetl-0.1/kisetl/docs'
make[3]: Leaving directory `/misc/i/kisetl-0.1/kisetl/docs'
make[3]: Entering directory `/misc/i/kisetl-0.1/kisetl'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include
-I/usr/lib/qt/include  -I/us
r/X11R6/include    -O2 -Wall -c kisetloutput.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include
-I/usr/lib/qt/include  -I/us
r/X11R6/include    -O2 -Wall -c kisetlkernel.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include
-I/usr/lib/qt/include  -I/us
r/X11R6/include    -O2 -Wall -c kisetlview.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include
-I/usr/lib/qt/include  -I/usr/X11R6/incl
ude    -O2 -Wall -c kisetldoc.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include
-I/usr/lib/qt/include  -I/usr/X11R6/incl
ude    -O2 -Wall -c kisetl.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include
-I/usr/lib/qt/include  -I/usr/X11R6/incl
ude    -O2 -Wall -c main.cpp
/bin/sh ../libtool --silent --mode=link g++  -O2 -Wall -s -o kisetl
-L/opt/kde/lib  -L/usr/X
11R6/lib -rpath /opt/kde/lib -rpath /usr/X11R6/lib kisetloutput.o
kisetlkernel.o kisetlview.
o kisetldoc.o kisetl.o main.o -lkfile -lkfm -lkhtmlw -lkimgio -ljpeg
-ltiff -lpng -lm -ljscr
ipt -lkdeui -lkdecore -lqt -lXext -lX11
kisetldoc.o: warning: multiple common of `QArrayT<char> type_info node'
kisetlkernel.o: warning: previous common is here
kisetl.o: warning: multiple common of `QListT<char> type_info node'
kisetlkernel.o: warning: previous common is here
kisetl.o: warning: multiple common of `QString type_info node'
kisetldoc.o: warning: previous common is here
kisetl.o: warning: multiple common of `QArrayT<char> type_info node'
kisetlkernel.o: warning: previous common is here
main.o: warning: multiple common of `QArrayT<char> type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkfile.so: warning: multiple common of `QString type_info
node'
kisetldoc.o: warning: previous common is here
/opt/kde/lib/libkfile.so: warning: multiple common of `QArrayT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkfile.so: warning: multiple common of `QStrList
type_info node'
kisetl.o: warning: previous common is here
/opt/kde/lib/libkfile.so: warning: multiple common of `QListT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkfm.so: warning: multiple common of `QStrList type_info
node'
kisetl.o: warning: previous common is here
/opt/kde/lib/libkfm.so: warning: multiple common of `QListT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkfm.so: warning: multiple common of `QString type_info
node'
kisetldoc.o: warning: previous common is here
/opt/kde/lib/libkfm.so: warning: multiple common of `QArrayT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkhtmlw.so: warning: multiple common of `QString
type_info node'
kisetldoc.o: warning: previous common is here
/opt/kde/lib/libkhtmlw.so: warning: multiple common of `QArrayT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkhtmlw.so: warning: multiple common of `QStrList
type_info node'
kisetl.o: warning: previous common is here
/opt/kde/lib/libkhtmlw.so: warning: multiple common of `QListT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkimgio.so: warning: multiple common of `QString
type_info node'
kisetldoc.o: warning: previous common is here
/opt/kde/lib/libkimgio.so: warning: multiple common of `QArrayT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libjscript.so: warning: multiple common of `QString
type_info node'
kisetldoc.o: warning: previous common is here
/opt/kde/lib/libjscript.so: warning: multiple common of `QArrayT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkdeui.so: warning: multiple common of `QString type_info
node'
kisetldoc.o: warning: previous common is here
/opt/kde/lib/libkdeui.so: warning: multiple common of `QArrayT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkdeui.so: warning: multiple common of `QStrList
type_info node'
kisetl.o: warning: previous common is here
/opt/kde/lib/libkdeui.so: warning: multiple common of `QListT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkdecore.so: warning: multiple common of `QString
type_info node'
kisetldoc.o: warning: previous common is here
/opt/kde/lib/libkdecore.so: warning: multiple common of `QArrayT<char>
type_info node'
kisetlkernel.o: warning: previous common is here
/opt/kde/lib/libkdecore.so: warning: multiple common of `QStrList
type_info node'
kisetlkernel.o: warning: previous common is here
kisetlkernel.o: In function `KISETLkernel::KISETLkernel(KISETLOutput *,
KEdit *, KISETLDoc *)':
kisetlkernel.o(.text+0x15): undefined reference to `KISETLkernel virtual
table'
kisetlkernel.o: In function `KISETLkernel::~KISETLkernel(void)':
kisetlkernel.o(.text+0x17f): undefined reference to `KISETLkernel
virtual table'
kisetlview.o: In function `KISETLView::KISETLView(KApplication *,
QWidget *, char const *)':kisetlview.o(.text+0x1e): undefined reference
to `KISETLView::QPaintDevice virtual table'
kisetlview.o(.text+0x28): undefined reference to `KISETLView virtual
table'
kisetlview.o: In function `KISETLView::~KISETLView(void)':
kisetlview.o(.text+0x9c): undefined reference to
`KISETLView::QPaintDevice virtual table'
kisetlview.o(.text+0xa3): undefined reference to `KISETLView virtual
table'
kisetlview.o: In function `KISETLView::keyPressEvent(QKeyEvent *)':
kisetlview.o(.text+0xe3): undefined reference to
`KISETLView::pleaseExecute(void)'
kisetldoc.o: In function `KISETLDoc::KISETLDoc(QWidget *, char const
*)':
kisetldoc.o(.text+0x1d): undefined reference to `KISETLDoc virtual
table'
kisetldoc.o: In function `KISETLDoc::~KISETLDoc(void)':
kisetldoc.o(.text+0x16e): undefined reference to `KISETLDoc virtual
table'
kisetl.o: In function `KISETLApp::KISETLApp(void)':
kisetl.o(.text+0x14): undefined reference to `KISETLApp::QPaintDevice
virtual table'
kisetl.o(.text+0x1b): undefined reference to `KISETLApp virtual table'
kisetl.o: In function `KISETLApp::~KISETLApp(void)':
kisetl.o(.text+0x15b): undefined reference to `KISETLApp::QPaintDevice
virtual table'
kisetl.o(.text+0x162): undefined reference to `KISETLApp virtual table'
collect2: ld returned 1 exit status
make[3]: *** [kisetl] Error 1
make[3]: Leaving directory `/misc/i/kisetl-0.1/kisetl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/misc/i/kisetl-0.1/kisetl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/misc/i/kisetl-0.1'
make: *** [all-recursive-am] Error 2
aguelzow at steiner:/misc/i/kisetl-0.1$                                
--------------------------------------------
THe warnings also appeared when conpiling under KDevelop (but at least
they are not deadly). 
But then it looks like the moc files are not included...?

Any suggestions??

Andreas


-- 
Prof. Dr. Andreas J. Guelzow                    
Chair of Science
Concordia University College of Alberta
aguelzow at math.concordia.ab.ca
http://www.math.concordia.ab.ca/aguelzow



More information about the KDevelop mailing list