missing sys/ioctl.h, sys/uio.h

Hi,

I try to compile the MM5’s FORTRAN codes. There is one C file which is UNIX/Linux specific (cio.c, part of REGRID/pregrid/util/cio.c).

Do you know how to compile PREGRID under Windowz? Do you know if CYGIWIN_NT-5.0/Mingw have this include files? I can’t find them in the current PGI_Win32 installation.

Angel

Hi Angel,

While I’m not sure, I doubt support for this is available through MinGW. Perhaps another user knows for sure?

Sorry,
Mat

Hi Mat,

May be io.h replace uio.h? I found winioctl.h.

Angel

Hi Angel,

I spent some time looking at this and was able to get the utils to compile by commenting out ioctl.h and uio.h and adding “-Munix” flag. pregridder seemed to link ok, but I have not tested it. I’m only guessing that this is the correctly work-around, but hopefully it will get you started. Let us know how it goes.

  • Mat

Thanks Mat!

Angel