|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Programming/Scripting Questions about programming, bash scripts, perl, php, cron jobs, ruby, python, etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello; I wonder if anyone can help with this.
I have installed OpenSuse 11.1 so that I can compile my Qt applications in Linux. However, having installed Qt Creator, I find that I cannot even compile the examples supplied by Nokia without getting the error: linux/limits.h: No such file or directory After trawling through many posts in many forums, I have worked out that (a) there is supposed to be a limits.h file in the /usr/lib/gcc/i586-suse-linux/4.3/include directory, but (b) the limits.h file is actually located in /usr/lib/gcc/i586-suse-linux/4.3/include-fixed, along with "syslimits.h" and a "README" file that I can't make head nor tail of. If I try simply to copy the files from 'include-fixed' to 'include', it doesn't let me; it doesn't even ask for an admin password, I just get a dialog saying "Access denied" and a 'Cancel' button. So, how can I fix this? |
|
|||
|
Quote:
It's almost as if Qt is using another installation of gcc somewhere on the hard disk, but if so then I haven't been able to locate it. |
|
|||
|
Thank you. Unfortunately, I don't seem to have a /usr/inlcude/linux directory; maybe that is my problem! Where can I find the means to install it?
|
|
||||
|
Quote:
on my system: neutrino@neutrino:~> rpm -qf /usr/include/linux/limits.h linux-kernel-headers-2.6.27-2.28
__________________
My site: http://microchip.bplaced.net My repo: http://download.opensuse.org/repositories/home:/microchip8 SUSE Unbound Forum: http://suseunbound.lefora.com Do coders dream of sheep() ? |
|
||||
|
Hi and WELCOME
Please make sure that the packages 'linux-kernel-headers' and 'glibc-devel' are installed. The former one will provide /usr/include/linux/limits.h SORRY, did not check that this has already been answered by others. Last edited by vodoo; 07-Nov-2009 at 10:29. Reason: Added SORRY line |
|
|||
|
Quote:
Unfortunately, it's essential that I leave the office in a few minutes and won't be back till Tuesday. I'll have another look at it then. |
|
|||
|
Correction; kernel-headers isn't showing as installed, only as 'available'. First thing on Tuesday morning I'll try to figure out how to install it.
|
|
||||
|
Quote:
__________________
My site: http://microchip.bplaced.net My repo: http://download.opensuse.org/repositories/home:/microchip8 SUSE Unbound Forum: http://suseunbound.lefora.com Do coders dream of sheep() ? |
|
|||
|
YaST2 installed it automatically before shutting down. Now my application compiles
![]() ...and now I'm late ![]() Thank you very much for your help. |
![]() |
| Bookmarks |
| Tags |
| compilation, development, gcc, paths |
| Thread Tools | |
| Display Modes | |
|
|