PDA

View Full Version : Function ioperm() is included into Qt4



rud_1023
25th October 2006, 12:39
I run Qt4.1.4 on Linux SuSE 10.1
I want to use ioperm(), so I add #include <unistd.h>.
The error message: ‘ioperm’ was not declared in this scope.
What is the include path and/or library path I have to export?

If Qt4.1.4 is not used, ‘ioperm’ can pass the gcc compiler!

Thank you for your help.

Rüd

jpn
25th October 2006, 12:46
Try:


#include <sys/io.h>

rud_1023
26th October 2006, 11:41
Great!
I replace <asm/io.h> with <sys/io.h>, then ioperm() can be included.
Thank you again.

Rüd
:)