QT compile - strange problem

QT compile - strange problem

Post by vi » Thu, 06 May 1999 04:00:00

Anyone have any clues as to why I might be getting this error mid way thru
QT compile?

In file included from /usr/include/local_lim.h:21,
                 from /usr/include/posix1_lim.h:92,
                 from /usr/include/dirent.h:153,
                 from tools/qfiledefs.h:36,
                 from tools/qfile.cpp:25:
/usr/include/linux/limits.h:52: No include path in which to find limits.h
tools/qfile.cpp: In method `bool QFile::open(int)':
tools/qfile.cpp:377: `EMFILE' undeclared (first use this function)
tools/qfile.cpp:377: (Each undeclared identifier is reported only once
tools/qfile.cpp:377: for each function it appears in.)
tools/qfile.cpp: In method `int QFile::writeBlock(const char *, unsigned
tools/qfile.cpp:688: `ENOSPC' undeclared (first use this function)
make[1]: *** [tools/qfile.o] Error 1
make: *** [src] Error 2

I am running stampede linux, and i did the linux-g++-shared compile for QT.
I checked the paths, and all the .h and .cpp files are there, it beats me
why make cant find them.


1. Qt compile problems and compiling in general

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...

2. Help --> ld:: parse error

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

4. FreeBSD on Alpha

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

6. SUN answerbook on linux openwin????

7. Koffice install problem (qt 1.44 - qt 2.0 problem)

8. Please help with repartitioning issue

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

10. qt zlib problem (I know this is not a QT group)

11. compiling problems after qt-2.3.2 upgrade

12. Qt-2.3.1 compiling problems

13. Qt-2.2.0-beta2 compile problem