Qt compile problems and compiling in general

Qt compile problems and compiling in general

Post by Matthew Vanece » Sun, 13 Jul 1997 04:00:00



I am having problems compiling Qt.  The following is the output that
make gives me:

Matthew:/usr/local/qt# make
cd src/moc; make
make[1]: Entering directory `/usr/local/qt/src/moc'
gcc -c -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include
-I/usr/local/qt/include ../tools/qbuffer.cpp -o qbuffer.o
In file included from /usr/include/stdlib.h:42,
                 from ../tools/qbuffer.cpp:21:
/usr/include/errno.h:27: linux/errno.h: No such file or directory
make[1]: *** [qbuffer.o] Error 1
make[1]: Leaving directory `/usr/local/qt/src/moc'
make: *** [moc] Error 2

What do all these errors mean? Are they listed somewhere?  What can I do
to compile programs without having all these errors? Help!  Every time I
try to compile some program it returns an error--usually 1 and 2.  Any
program--not just specific programs.  This is really frustrating.
--
Matthew Vanecek
http://www.mjv.com for professional Web Site hosting.
http://lonestar.texas.net/~vanec for my personal page.

For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...

 
 
 

Qt compile problems and compiling in general

Post by M. Buchenried » Sun, 13 Jul 1997 04:00:00



>I am having problems compiling Qt.  

No, you haven't :)

Quote:>The following is the output that
>make gives me:

[...]

Quote:>/usr/include/errno.h:27: linux/errno.h: No such file or directory

Well, that's pretty clear.

Quote:>What do all these errors mean? Are they listed somewhere?  What can I do
>to compile programs without having all these errors? Help!  Every time I
>try to compile some program it returns an error--usually 1 and 2.  Any
>program--not just specific programs.  This is really frustrating.

[...]

All you need to do is to install the kernel sources. That's where
the include files are located.

Michael
--

**************************************************************************
Satellite Safety Tip #4:
                If you see a bright streak in the sky coming at you, duck.

 
 
 

Qt compile problems and compiling in general

Post by Larr » Tue, 22 Jul 1997 04:00:00


Hey Matthew,

The compiler is complaining that it can't find an include file.  Be sure
you have a directory called /usr/include/linux.  Inside that directory,
there should be a file called "errno.h"   If you're missing this
or any other files, you may need to copy them from a Linux distribution disk/net
site.

        -Larry


>I am having problems compiling Qt.  The following is the output that
>make gives me:

>Matthew:/usr/local/qt# make
>cd src/moc; make
>make[1]: Entering directory `/usr/local/qt/src/moc'
>gcc -c -O2 -fno-strength-reduce -Wall -W -I/usr/X11R6/include
>-I/usr/local/qt/include ../tools/qbuffer.cpp -o qbuffer.o
>In file included from /usr/include/stdlib.h:42,
>                 from ../tools/qbuffer.cpp:21:
>/usr/include/errno.h:27: linux/errno.h: No such file or directory
>make[1]: *** [qbuffer.o] Error 1
>make[1]: Leaving directory `/usr/local/qt/src/moc'
>make: *** [moc] Error 2

>What do all these errors mean? Are they listed somewhere?  What can I do
>to compile programs without having all these errors? Help!  Every time I
>try to compile some program it returns an error--usually 1 and 2.  Any
>program--not just specific programs.  This is really frustrating.
>--
>Matthew Vanecek
>http://www.mjv.com for professional Web Site hosting.
>http://lonestar.texas.net/~vanec for my personal page.

>For 93 million miles, there is nothing between the sun and my shadow
>except me. I'm always getting in the way of something...

 
 
 

1. QT-1.3 vs. QT-1.44 for compiling games

I'm attempting to compile kpacman from source downloaded from rpmfind.net. I
have RedHat 6.2 installed on a Sun SparcStation 20. The configure script is
complaining it can't find qt-1.3 headers and libraries. I have installed
qt-2.1and qt-1.44 (which is described as being for backward compatability.)

I've tried linking, copying and renaming, but I still can't create a make
file. I'm not a c programmer, and I haven't been able to decipher the
configure script. Could some please help me? Thanks, John Zbesko

2. undefined reference to `sem_init'

3. QT-Apps: Most crash when compiling with qt-3.0.4

4. Bsd Firewall vs Linux Firewall

5. Problem compiling sources (Qt problem?)....

6. Vgetty & USR 5605 modem problem

7. general kernel compiling problems on 164SX

8. thank's for answering

9. compiling problems after qt-2.3.2 upgrade

10. general compile problem

11. Qt-2.3.1 compiling problems

12. Qt-2.2.0-beta2 compile problem

13. NoteEdit:Compile Problem:KDE <--> Qt version conflict