PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler beim Compilieren von Bookcase



Coolzero
07.02.04, 20:56
/usr/lib/qt3/include/qintdict.h: In member function `void
QIntDict<type>::deleteItem(void*) [with type = KComboBox]':
/usr/lib/qt3/include/qintdict.h:56: instantiated from here
/usr/lib/qt3/include/qintdict.h:94: Warnung: invalid use of undefined type `
struct KComboBox'
configdialog.h:19: Warnung: forward declaration of `struct KComboBox'



fi
../strings.h:25: Warnung: `const char*writeError' defined but not used
../strings.h:26: Warnung: `const char*uploadError' defined but not used


Wo liegt der Fehler?
Danke

Kentar
08.02.04, 10:59
mir scheint, daß der Fehler noch etwas weiter oben im Text liegt

Coolzero
08.02.04, 17:11
Also ./configure gibt folgendes aus:

./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking whether g++ supports -Wl,--no-undefined... yes
checking whether g++ supports -Wl,--allow-shlib-undefined... yes
not using lib directory suffix
checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... libraries /usr/lib/qt3/lib, headers /usr/lib/qt3/include using -mt
checking for moc... /usr/lib/qt3/bin/moc
checking for uic... /usr/lib/qt3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /opt/kde3/lib, headers /opt/kde3/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /opt/kde3/bin/dcopidl
checking for dcopidl2cpp... /opt/kde3/bin/dcopidl2cpp
checking for mcopidl... /opt/kde3/bin/mcopidl
checking for artsc-config... /opt/kde3/bin/artsc-config
checking for kde-config... /opt/kde3/bin/kde-config
checking for meinproc... /opt/kde3/bin/meinproc
checking for xml2-config... /usr/bin/xml2-config
checking for xslt-config... /usr/bin/xslt-config
checking for ushort in <sys/types.h>... yes
checking for boolean in <sys/types.h>... no
checking for strdup declaration in <string.h>... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strlwr... no
checking for strupr... no
checking for unsigned long... (cached) yes
checking size of unsigned long... (cached) 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned char... yes
checking size of unsigned char... 1
checking for char... yes
checking size of char... 1
checking if admin should be compiled... no
checking if doc should be compiled... yes
checking if icons should be compiled... yes
checking if po should be compiled... yes
checking if src should be compiled... yes
checking if xslt should be compiled... yes
configure: creating ./config.status
fast creating Makefile
fast creating admin/Makefile
fast creating doc/Makefile
fast creating doc/en/Makefile
fast creating icons/Makefile
fast creating po/Makefile
fast creating src/Makefile
fast creating src/collections/Makefile
fast creating src/translators/Makefile
fast creating src/translators/btparse/Makefile
fast creating src/translators/pilotdb/Makefile
fast creating src/translators/pilotdb/libflatfile/Makefile
fast creating src/translators/pilotdb/libpalm/Makefile
fast creating xslt/Makefile
fast creating xslt/entry-templates/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Good - your configure finished. Start make now

Coolzero
08.02.04, 17:16
Und das gibt make mir dann aus:

make
make all-recursive
make[1]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase'
Making all in src
make[2]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase/src'
Making all in collections
make[3]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/coll
ections'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/colle
ctions'
Making all in translators
make[3]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/tran
slators'
Making all in btparse
make[4]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/tran
slators/btparse'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/trans
lators/btparse'
Making all in pilotdb
make[4]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/tran
slators/pilotdb'
Making all in libflatfile
make[5]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/tran
slators/pilotdb/libflatfile'
make[5]: Für das Ziel »all« ist nichts zu tun.
make[5]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/trans
lators/pilotdb/libflatfile'
Making all in libpalm
make[5]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/tran
slators/pilotdb/libpalm'
make[5]: Für das Ziel »all« ist nichts zu tun.
make[5]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/trans
lators/pilotdb/libpalm'
make[5]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/tran
slators/pilotdb'
make[5]: Für das Ziel »all-am« ist nichts zu tun.
make[5]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/trans
lators/pilotdb'
make[4]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/trans
lators/pilotdb'
make[4]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/tran
slators'
make[4]: Für das Ziel »all-am« ist nichts zu tun.
make[4]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/trans
lators'
make[3]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase/src/trans
lators'
make[3]: Entering directory `/home/Coolzero/Downloads/Bookcase/bookcase/src'
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-l ong-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE= 500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-secur ity -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o bookcase -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib -R /opt/kde3/lib - R /usr/lib/qt3/lib -R /usr/X11R6/lib -R/usr/lib -R/usr/lib entryview.o collecti on.o mainwindow.o controller.o kwidgetlister.o isbnvalidator.o finddialog.o conf igdialog.o main.o image.o collectionfactory.o collectionfieldsdialog.o detailedl istview.o document.o entry.o entryitem.o exportdialog.o field.o fieldwidget.o fi lehandler.o filter.o filterdialog.o groupview.o importdialog.o labelaction.o tab control.o imagewidget.o fieldcompletion.o imagefactory.o stringmapdialog.o entry editdialog.o tabcontrol.moc.o controller.moc.o filterdialog.moc.o entryview.moc. o exportdialog.moc.o collection.moc.o labelaction.moc.o fieldwidget.moc.o detail edlistview.moc.o entryeditdialog.moc.o document.moc.o mainwindow.moc.o importdia log.moc.o finddialog.moc.o configdialog.moc.o fieldcompletion.moc.o stringmapdia log.moc.o imagewidget.moc.o groupview.moc.o collectionfieldsdialog.moc.o ./coll ections/libcollections.a ./translators/libtranslators.a ./translators/btparse/li bbtparse.a ./translators/pilotdb/libpilotdb.a ./translators/pilotdb/libflatfile/ liblibflatfile.a ./translators/pilotdb/libpalm/liblibpalm.a -lkdeprint -lexslt - lkio -lkhtml -lkdeui -lkdecore -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lI CE -lpthread
libtool: link: `/usr/lib/libGL.la' is not a valid libtool archive
make[3]: *** [bookcase] Fehler 1
make[3]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/Coolzero/Downloads/Bookcase/bookcase'
make: *** [all] Fehler 2

Kentar
12.02.04, 09:46
so wie es aussieht, mag er die libGL.la nicht. Welche Grafikkarte hast du? Welche Distri? Hast du mesa-devel (oder ähnlich) installiert?

Coolzero
12.02.04, 10:33
Also ich hebe eine Nvidia Geforce 4Ti4200 und benutze Suse9.0!
Ich habe nur mesaglut-devel instaliert