views:

136

answers:

2
+1  Q: 

mqueue.h not found

Hi all

In one of my application, I am using "mqueue.h". I was able to compile and execute it. But one of our customer to whom I released the code, is complaining something like

* mqueue.h is not found *

He has not attached the exact error message though. In my linux PC, it is available in /usr/include. Can anyone guess any reason why the customer is not able to find the file?

Apologies for asking such trivial question.

+4  A: 

Maybe he doesn't have the libc6-dev package installed?

Stobor
+1 thank you ...
Alphaneo
+2  A: 

What @Stobor did not tell you is that '<mqueue.h>' is a standard header in POSIX (or, at least, the Single Unix Specification), and therefore most Unix-like platforms would be expected to provide it if the development system is installed. If the development system is not installed, then the headers are usually missing.

Once upon a long time ago, the development system was always released with Unix. Then it was made optional (originally, a paid-for optional part). Then the Open Source movement made it optional but free. The ability to develop software for a system significantly influences the uptake of a system. That's why companies go to such lengths to make the SDK for their systems widely available.

Jonathan Leffler
+1 Indeed - that's worth knowing...
Stobor
+1 nice comment, thank you ...
Alphaneo