PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

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

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
stormlab



Joined: 23 Jul 2005
Posts: 28

PostPosted: Mon Jul 25, 2005 4:12 pm    Post subject: missing sys/ioctl.h, sys/uio.h Reply with quote

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


Last edited by stormlab on Sun Sep 11, 2005 6:22 am; edited 1 time in total
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6125
Location: The Portland Group Inc.

PostPosted: Tue Jul 26, 2005 11:00 am    Post subject: Reply with quote

Hi Angel,

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

Sorry,
Mat
Back to top
View user's profile
stormlab



Joined: 23 Jul 2005
Posts: 28

PostPosted: Mon Aug 01, 2005 2:05 pm    Post subject: ioctl.h Reply with quote

Hi Mat,

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

Angel
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6125
Location: The Portland Group Inc.

PostPosted: Tue Aug 02, 2005 11:58 am    Post subject: Reply with quote

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
Back to top
View user's profile
stormlab



Joined: 23 Jul 2005
Posts: 28

PostPosted: Sat Sep 10, 2005 11:56 am    Post subject: Thanks! Reply with quote

Thanks Mat!

Angel
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group