[kde-linux] kdelibs 4.1.0 compilation issue
Jim Philips
philips_jim at bellsouth.net
Wed Jul 30 09:34:17 UTC 2008
Do you have all of the development libraries for Soprano installed? I have the
following:
libsoprano-dev
libsoprano4
soprano-daemon
These are Kubuntu packages.
On Wednesday 30 July 2008 02:27:08 Dâniel Fraga wrote:
> Linux 2.6.26
> gcc 4.3.1
> Soprano 2.1
>
> I configured with:
>
> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/kde4 ..
> -DSOPRANO_LIBRARIES=/usr/local/kde4/lib
> -DSOPRANO_INCLUDE_DIR=/usr/local/kde4/include/
>
> it founds Soprano, but gives the following error:
>
> [ 97%] Built target kcertpart
> Linking CXX executable ../../bin/nepomuk-rcgen
> CMakeFiles/nepomuk-rcgen.dir/ontologyparser.o: In function
> `OntologyParser::parse(QString
> const&)':
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:122:
> undefined reference to
> `Soprano::PluginManager::instance()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:122:
> undefined reference to
> `Soprano::PluginManager::discoverParserForSerialization(Soprano::RdfSeriali
>zation, QString
> const&)'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:151:
> undefined reference to `Soprano::Statement::predicate()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:151:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:151:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:152:
> undefined reference to `Soprano::Statement::subject()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:152:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:152:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:153:
> undefined reference to `Soprano::Statement::object()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:153:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:153:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:154:
> undefined reference to `Soprano::Statement::object()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:154:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:154:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:148:
> undefined reference to
> `Soprano::Statement::~Statement()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:157:
> undefined reference to `Soprano::Statement::predicate()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:157:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:157:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:158:
> undefined reference to `Soprano::Statement::object()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:158:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:158:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:159:
> undefined reference to `Soprano::Statement::subject()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:159:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:159:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:161:
> undefined reference to `Soprano::Statement::predicate()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:161:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:161:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:162:
> undefined reference to `Soprano::Statement::object()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:162:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:162:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:163:
> undefined reference to `Soprano::Statement::subject()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:163:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:163:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:169:
> undefined reference to `Soprano::Statement::predicate()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:169:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:169:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:170:
> undefined reference to `Soprano::Statement::object()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:170:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:170:
> undefined reference to `Soprano::Statement::subject()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:170:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:235:
> undefined reference to
> `Soprano::StatementIterator::~StatementIterator()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:172:
> undefined reference to `Soprano::Statement::predicate()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:172:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:172:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:174:
> undefined reference to `Soprano::Statement::subject()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:174:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:174:
> undefined reference to `Soprano::Statement::object()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:174:
> undefined reference to `Soprano::Node::literal()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:174:
> undefined reference to `Soprano::LiteralValue::toInt()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:174:
> undefined reference to
> `Soprano::LiteralValue::~LiteralValue()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:174:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:174:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:176:
> undefined reference to `Soprano::Statement::predicate()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:176:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:176:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:179:
> undefined reference to `Soprano::Statement::predicate()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:179:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:179:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:180:
> undefined reference to `Soprano::Statement::subject()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:180:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:180:
> undefined reference to `Soprano::Statement::object()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:180:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:180:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:180:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:181:
> undefined reference to `Soprano::Statement::object()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:181:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:181:
> undefined reference to `Soprano::Statement::subject()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:181:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:181:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:181:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:170:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:170:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:172:
> undefined reference to `Soprano::Statement::predicate()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:172:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:172:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:177:
> undefined reference to `Soprano::Statement::object()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:177:
> undefined reference to `Soprano::Node::literal()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:177:
> undefined reference to `Soprano::LiteralValue::toString()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:177:
> undefined reference to `Soprano::Statement::subject()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:177:
> undefined reference to `Soprano::Node::uri()
> const' /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:177:
> undefined reference to
> `Soprano::Node::~Node()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:177:
> undefined reference to
> `Soprano::LiteralValue::~LiteralValue()'
> /home/fraga/src/kdelibs-4.1.0/nepomuk/rcgen/ontologyparser.cpp:177:
> undefined reference to `Soprano::Node::~Node()'
> CMakeFiles/nepomuk-rcgen.dir/ontologyparser.o: In function
> `Soprano::Iterator<Soprano::Statement>::current()
> const': /usr/local/kde4/include/soprano/iterator.h:257: undefined
> reference to
> `Soprano::Error::ErrorCache::setError(Soprano::Error::Error const&)
> const' /usr/local/kde4/include/soprano/iterator.h:257: undefined
> reference to
> `Soprano::Error::Error::~Error()'
> /usr/local/kde4/include/soprano/iterator.h:258: undefined reference to
> `Soprano::Statement::Statement(Soprano::Statement
> const&)' /usr/local/kde4/include/soprano/iterator.h:258: undefined
> reference to
> `Soprano::Statement::~Statement()'
> /usr/local/kde4/include/soprano/iterator.h:261: undefined reference to
> `Soprano::Error::ErrorCache::setError(QString const&, int) const'
> /usr/local/kde4/include/soprano/iterator.h:262: undefined reference to
> `Soprano::Statement::Statement()'
> CMakeFiles/nepomuk-rcgen.dir/ontologyparser.o: In function
> `Soprano::Iterator<Soprano::Statement>::next()':
> /usr/local/kde4/include/soprano/iterator.h:241: undefined reference to
> `Soprano::Error::ErrorCache::setError(Soprano::Error::Error const&)
> const' /usr/local/kde4/include/soprano/iterator.h:241: undefined
> reference to
> `Soprano::Error::Error::~Error()'
> /usr/local/kde4/include/soprano/iterator.h:248: undefined reference to
> `Soprano::Error::ErrorCache::setError(QString const&, int) const' collect2:
> ld returned 1 exit status make[2]: *** [bin/nepomuk-rcgen] Error 1 make[1]:
> ***
> [nepomuk/rcgen/CMakeFiles/nepomuk-rcgen.dir/all] Error 2 make: ***
> [all] Error 2
>
> Any hints? Thanks!
More information about the kde-linux
mailing list