[bt-devel] Bibletime compile errors

jdc jdc.email at gmail.com
Sat Jun 17 11:03:14 MST 2006


I am getting 3 errors while compiling.  The first two need to be addressed.
I am not very familiar with the hows and whys of makefiles and configure 
scripts.  But this is what I have found.

SUSE 10.1

I appear to be using unsermake.
unsermake 0.4
gcc version 4.1.0
GNU Make 3.80


*********************** 1 ***********************
ERROR:Makefile.am: "$(shell" appears to be a variable, but is none. Assertion hit!
No such target ./test
make: *** [all] Error 1

--------------------------------------------------
Just removing the line in Makefile.am makes it work.
I don't know if my problems here after are caused by removing this line.


*********************** 2 ***********************
bibletime/bibletime/backend/cdisplaytemplatemgr.cpp:199:50: error:
../display-templates/template-init.cpp: No such file or directory
/usr/local/include/sword/swdisp.h:36: warning: ‘class sword::SWDisplay’ has
virtual functions but non-virtual destructor

--------------------------------------------------
running make in bibletime/bibletime/display-templates fixes it.



*********************** 3 ***********************

linking ./bibletime/bibletime
/bin/sh ./libtool --silent --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 -g3
-fno-inline -Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -fexceptions -DQT_THREAD_SUPPORT -D_REENTRANT
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -Wall
-I/home/family/Deveolpment/bibletime/
-I/home/family/Deveolpment/bibletime/bibletime -I./bibletime -L/opt/kde3/lib
-L/usr/lib/qt3/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/lib -R
/opt/kde3/lib -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -o
./bibletime/bibletime ./bibletime/frontend/displaywindow/libdisplaywindow.a
./bibletime/frontend/display/libdisplay.a
./bibletime/frontend/keychooser/libkeychooser.a
./bibletime/frontend/mainindex/libmainindex.a
./bibletime/frontend/searchdialog/libsearchdialog.a
./bibletime/frontend/libfrontend.a ./bibletime/frontend/util/libfrontendutil.a
./bibletime/backend/libbackend.a ./bibletime/util/libutil.a -lXext -lqt-mt -lz
-lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui -lkdeprint
-lkio -lkhtml -lX11 -lsword -lclucene ./bibletime/bibletime_init.o
./bibletime/bibletime_slots.o ./bibletime/bibletime.o ./bibletime/bibletimeapp.o
./bibletime/main.o ./bibletime/bibletime_dcop.o
./bibletime/bibletimeinterface_skel.o ./bibletime/bibletime.moc.o
./bibletime/frontend/searchdialog/libsearchdialog.a(csearchdialog.moc.o): In
function `Search::Options::CModuleChooser::className() const':
./bibletime/frontend/searchdialog/csearchdialog.moc.cpp:116: multiple definition
of `Search::Options::CModuleChooser::className() const'
./bibletime/frontend/searchdialog/libsearchdialog.a(cmodulechooser.moc.o):/usr/lib/qt3/include/qshared.h:49: 

first defined here
./bibletime/frontend/searchdialog/libsearchdialog.a(csearchdialog.moc.o): In
function `Search::Options::CModuleChooser::qt_static_property(QObject*, int,
int, QVariant*)':
./bibletime/frontend/searchdialog/csearchdialog.moc.cpp:196: multiple definition
of `Search::Options::CModuleChooser::qt_static_property(QObject*, int, int,
QVariant*)'
./bibletime/frontend/searchdialog/libsearchdialog.a(cmodulechooser.moc.o):/usr/lib/qt3/include/qrect.h:185: 

first defined here
<snip... many more multiple defines>


Thanks Jim



More information about the bt-devel mailing list