#19 new
Dennis Veatch

ft_interface.o: In function `QOAuth::Ft_Interface::accessResourcesRSA()'

Reported by Dennis Veatch | August 30th, 2011 @ 03:02 PM

While compiling qoauth-1.0.1 I get the make failure;


_LIB -DQT_SHARED -I../../../../share/qt4/mkspecs/linux-g++-64 -I. -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtNetwork -I../../../../include/qt4/QtTest -I../../../../include/qt4 -I../../include -I. -I../../src -I../../../../include/QtCrypto -I. -o moc_ft_interface.o moc_ft_interface.cpp
g++ -m64 -Wl,-O1 -Wl,-rpath,/usr/lib/qt4 -o ft_interface ft_interface.o moc_ft_interface.o    -L/usr/lib/qt4 -L/usr/src/qoauth-1.0.1-src/lib -lqoauth -L/usr/lib/qt4 -L/usr/lib -Wl,-rpath,../../lib:lib -lqca -lQtTest -lQtNetwork -lQtCore -lpthread 
ft_interface.o: In function `QOAuth::Ft_Interface::accessResourcesRSA()':
ft_interface.cpp:(.text+0x604d): undefined reference to `QOAuth::InterfacePrivate::replyToMap(QByteArray const&)'
ft_interface.o: In function `QOAuth::Ft_Interface::accessResources()':
ft_interface.cpp:(.text+0x80d2): undefined reference to `QOAuth::InterfacePrivate::replyToMap(QByteArray const&)'
collect2: ld returned 1 exit status
make[2]: *** [ft_interface] Error 1
make[2]: Leaving directory `/usr/src/qoauth-1.0.1-src/tests/ft_interface'
make[1]: *** [sub-ft_interface-make_default] Error 2
make[1]: Leaving directory `/usr/src/qoauth-1.0.1-src/tests'
make: *** [sub-tests-make_default-ordered] Error 2

Using qca2-2.0.3 and openssl-1.0.0d

Comments and changes to this ticket

  • Dennis Veatch

    Dennis Veatch December 19th, 2011 @ 01:14 PM

    I have looked at this some more but can't figure it out. If it helps any, I have these version installed;

    openssl-5.9p1
    qt4-4.7.4
    qca2-2.0.3
    qca2-2.0.0-beta3

    And cloning your current git gives the same errors.

    Here is the full make stage;

    cd src/ && /usr/bin/qmake /home/dveatch/qoauth/src/src.pro -o Makefile
    cd src/ && make -f Makefile
    make[1]: Entering directory /home/dveatch/qoauth/src' make -f Makefile.Shared make[2]: Entering directory/home/dveatch/qoauth/src'
    /usr/bin/moc -DQOAUTH -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I. -I/usr/include/QtCrypto -Itmp interface.h -o tmp/moc_interface.cpp g++ -c -m64 -pipe -O2 -march=native -pipe -fvisibility=hidden -O2 -march=native -pipe -Wall -W -D_REENTRANT -fPIC -DQOAUTH -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I. -I/usr/include/QtCrypto -Itmp -o tmp/interface.o interface.cpp
    rm -f libqoauth.so.1.0.1 libqoauth.so libqoauth.so.1 libqoauth.so.1.0
    g++ -m64 -Wl,-O1 -Wl,-rpath,/usr/lib/qt4 -shared -Wl,-soname,libqoauth.so.1 -o libqoauth.so.1.0.1 tmp/interface.o -L/usr/lib/qt4 -L/usr/lib -lqca -lQtNetwork -lQtCore -lpthread
    ln -s libqoauth.so.1.0.1 libqoauth.so
    ln -s libqoauth.so.1.0.1 libqoauth.so.1
    ln -s libqoauth.so.1.0.1 libqoauth.so.1.0
    rm -f ../lib/libqoauth.so.1.0.1
    rm -f ../lib/libqoauth.so
    rm -f ../lib/libqoauth.so.1
    rm -f ../lib/libqoauth.so.1.0
    mv -f libqoauth.so.1.0.1 libqoauth.so libqoauth.so.1 libqoauth.so.1.0 ../lib/
    make[2]: Leaving directory /home/dveatch/qoauth/src' make[1]: Leaving directory/home/dveatch/qoauth/src'
    cd tests/ && /usr/bin/qmake /home/dveatch/qoauth/tests/tests.pro -o Makefile
    cd tests/ && make -f Makefile
    make[1]: Entering directory /home/dveatch/qoauth/tests' cd ut_interface/ && /usr/bin/qmake /home/dveatch/qoauth/tests/ut_interface/ut_interface.pro -o Makefile cd ut_interface/ && make -f Makefile make[2]: Entering directory/home/dveatch/qoauth/tests/ut_interface'
    g++ -c -m64 -pipe -O2 -march=native -pipe -fvisibility=hidden -O2 -march=native -pipe -Wall -W -D_REENTRANT -DUNIT_TEST -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtTest -I/usr/include/qt4 -I../../include -I. -I../../src -I/usr/include/QtCrypto -I. -o ut_interface.o ut_interface.cpp
    /usr/bin/moc -DUNIT_TEST -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtTest -I/usr/include/qt4 -I../../include -I. -I../../src -I/usr/include/QtCrypto -I. ut_interface.h -o moc_ut_interface.cpp g++ -c -m64 -pipe -O2 -march=native -pipe -fvisibility=hidden -O2 -march=native -pipe -Wall -W -D_REENTRANT -DUNIT_TEST -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtTest -I/usr/include/qt4 -I../../include -I. -I../../src -I/usr/include/QtCrypto -I. -o moc_ut_interface.o moc_ut_interface.cpp
    g++ -m64 -Wl,-O1 -Wl,-rpath,/usr/lib/qt4 -o ut_interface ut_interface.o moc_ut_interface.o -L/usr/lib/qt4 -L/home/dveatch/qoauth/lib -lqoauth -L/usr/lib/qt4 -L/usr/lib -Wl,-rpath,../../lib:lib -lqca -lQtTest -lQtNetwork -lQtCore -lpthread
    make[2]: Leaving directory /home/dveatch/qoauth/tests/ut_interface' cd ft_interface/ && /usr/bin/qmake /home/dveatch/qoauth/tests/ft_interface/ft_interface.pro -o Makefile cd ft_interface/ && make -f Makefile make[2]: Entering directory/home/dveatch/qoauth/tests/ft_interface'
    g++ -c -m64 -pipe -O2 -march=native -pipe -fvisibility=hidden -O2 -march=native -pipe -Wall -W -D_REENTRANT -DUNIT_TEST -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtTest -I/usr/include/qt4 -I../../include -I. -I../../src -I/usr/include/QtCrypto -I. -o ft_interface.o ft_interface.cpp
    /usr/bin/moc -DUNIT_TEST -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtTest -I/usr/include/qt4 -I../../include -I. -I../../src -I/usr/include/QtCrypto -I. ft_interface.h -o moc_ft_interface.cpp g++ -c -m64 -pipe -O2 -march=native -pipe -fvisibility=hidden -O2 -march=native -pipe -Wall -W -D_REENTRANT -DUNIT_TEST -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtTest -I/usr/include/qt4 -I../../include -I. -I../../src -I/usr/include/QtCrypto -I. -o moc_ft_interface.o moc_ft_interface.cpp
    g++ -m64 -Wl,-O1 -Wl,-rpath,/usr/lib/qt4 -o ft_interface ft_interface.o moc_ft_interface.o -L/usr/lib/qt4 -L/home/dveatch/qoauth/lib -lqoauth -L/usr/lib/qt4 -L/usr/lib -Wl,-rpath,../../lib:lib -lqca -lQtTest -lQtNetwork -lQtCore -lpthread
    ft_interface.o: In function QOAuth::Ft_Interface::accessResourcesRSA()': ft_interface.cpp:(.text+0x586e): undefined reference toQOAuth::InterfacePrivate::replyToMap(QByteArray const&)'
    ft_interface.o: In function QOAuth::Ft_Interface::accessResources()': ft_interface.cpp:(.text+0x7096): undefined reference toQOAuth::InterfacePrivate::replyToMap(QByteArray const&)'
    collect2: ld returned 1 exit status
    make[2]: [ft_interface] Error 1
    make[2]: Leaving directory /home/dveatch/qoauth/tests/ft_interface' make[1]: *** [sub-ft_interface-make_default] Error 2 make[1]: Leaving directory/home/dveatch/qoauth/tests'
    make:
    [sub-tests-make_default-ordered] Error 2

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

QOAuth is a Qt-based C++ library providing means for communicating with services supporting OAuth authorization scheme.

Shared Ticket Bins

People watching this ticket

Pages