ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have freshly installed SuSE 9.3, with QT developmental files and tools. Its a very fresh installation, and I installed it only because I had to develop for this specific version of QT which comes as default with SuSE 9.3.
Now the problem is when I try to compile even the "hello world" code given in QT documentation (tutorial# 1, example 1 - hello world), it gives huge amounts of compile errors!
I followed the standard method of qmake -project, qmake, make. Below are the initial few lines of compiler errors after running make (I captured these by running make 2>&1 | less):
gcc -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g -Wall -W -O2
-march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g -DQT_NO_DEBUG -DQT_SHARED -
DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I. -I
/usr/include -I/usr/lib/qt3/include -o hello.o hello.c
In file included from /usr/lib/qt3/include/qwindowdefs.h:43,
/usr/lib/qt3/include/qobjectdefs.h:152: error: syntax error before "QObject"
/usr/lib/qt3/include/qobjectdefs.h:152: warning: type defaults to `int' in decla
ration of `QObject'
/usr/lib/qt3/include/qobjectdefs.h:152: warning: data definition has no type or
/usr/lib/qt3/include/qobjectdefs.h:153: error: syntax error before "QMetaObject"
/usr/lib/qt3/include/qobjectdefs.h:153: warning: type defaults to `int' in decla
ration of `QMetaObject'
/usr/lib/qt3/include/qobjectdefs.h:153: warning: data definition has no type or
/usr/lib/qt3/include/qobjectdefs.h:154: error: syntax error before "QSignal"
/usr/lib/qt3/include/qobjectdefs.h:154: warning: type defaults to `int' in decla
ration of `QSignal'
The total lines of errors printed were like almost 3500!!!
I'm clueless about what's wrong... is it not able to find some header file or something?
I'm clearly missing something basic here, because same I tried on SuSE 10 as well as SuSE 10.1, and same result, same errors...