ryanvolz / radioconda

Software radio distribution and installer for conda
Other
342 stars 39 forks source link

pagesize :error: no info; setting pagesize = 4096 #47

Closed yourarchipelago closed 1 year ago

yourarchipelago commented 1 year ago

Hi, This instruction always bumps up when running a grc or *.py file. It only appears on windows.

Just wanna know why and how to deal with it.

Thanks!

ryanvolz commented 1 year ago

It's coming from here. From the looks of it, there's currently no way to avoid this on Windows since both getpagesize and sysconf are only defined for Unix-like systems. This should probably be fixed in upstream GNU Radio to get the page size from a Windows-specific method. Evidently 4096 is a good enough default that is hasn't caused problems thus far, other than this overzealous error message.

ryanvolz commented 1 year ago

I reported this upstream to determine the best course of action.

yourarchipelago commented 1 year ago

The issue really hasn't caused any problem till now, hope that gnuradio could be more compatible with Windows in this year. Thanks!