LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Building LSB compatible application with LSB SDK - lsbappchk fails (http://www.linuxquestions.org/questions/programming-9/building-lsb-compatible-application-with-lsb-sdk-lsbappchk-fails-518607/)

gkiagia 01-12-2007 05:00 AM

Building LSB compatible application with LSB SDK - lsbappchk fails
 
Hi,
I am trying to build a qt4 application with the LSB SDK and I have a problem.
I follow these steps:
Code:

export PATH=/opt/lsb/bin:$PATH
LSB_MODULES=Qt4
qmake
make

The build process finishes normally and I can see that the application is built with lsbc++ and linked with the LSB stub libraries (I know that because I tried to remove the actual Qt4 libraries from the system and the application was linked without errors).

However, when I try to test it for lsb compatibility with lsbappchk, I get hundreds of messages like these:

Code:

Symbol _ZN8QProcess8readDataEPcx used, but not part of LSB_Modules
Symbol _ZN9QLineEditC1EP7QWidget used, but not part of LSB_Modules
Symbol _ZN7QString6appendERKS_ used, but not part of LSB_Modules
Symbol _ZNK7QStringeqERK13QLatin1String used, but not part of LSB_Modules
Symbol _ZN9QSettings8setValueERK7QStringRK8QVariant used, but not part of LSB_Modules
Symbol _ZN13QItemDelegate11qt_metacallEN11QMetaObject4CallEiPPv used, but not part of LSB_Modules
Symbol _ZN18QAbstractItemModel13insertColumnsEiiRK11QModelIndex used, but not part of LSB_Modules
Symbol _ZN7QWidgetC1EPS_6QFlagsIN2Qt10WindowTypeEE used, but not part of LSB_Modules
Symbol _ZN9QGroupBoxC1EP7QWidget used, but not part of LSB_Modules
Symbol _ZNK17QAbstractItemView14selectionModelEv used, but not part of LSB_Modules
Symbol _ZNK18QAbstractItemModel5buddyERK11QModelIndex used, but not part of LSB_Modules
Symbol _ZN8QProcess11qt_metacastEPKc used, but not part of LSB_Modules
Symbol _ZN7QWidget14setWindowTitleERK7QString used, but not part of LSB_Modules

What am I doing wrong?


All times are GMT -5. The time now is 04:19 PM.