Ticket #99 (defect)
Opened 2 years ago
Last modified 2 years ago
Errors building gnuradio-3.0.2 using MinGW/MSYS
Status: closed (fixed)
| Reported by: | guest | Assigned to: | jcorgan |
|---|---|---|---|
| Priority: | normal | Milestone: | release-3.0.3 |
| Component: | build | Version: | 3.0.2 |
| Keywords: | Cc: | ||
When building the gnuradio-3.0.2 tarball in WinXP using MinGW/MSYS, the following errors occur:
1) An error occurs during "make", when building gr-video-sdl. In gnuradio-3.0.2/gr-video-sdl/src, there are 2 files that have the following line:
#include <sys/ioctl.h>
These files are video_sdl_sink_s.cc and video_sdl_sink_uc.cc. It does not appear that MinGW/MSYS provides ioctl.h, and these files do not use ioctl calls anyway. I had to comment these lines out to compile the package.
2) When there are no tools to create HTML documentation files from XML files, “make install” fails for 2 of the gnuradio packages:
a) In the Makefile for gnuradio-3.0.2/usrp/doc, an error occurs in the install-data-local rule (approx. line 755). Since DOCBOOK_HTML_FILES is blank, the “for i in $(DOCBOOK_HTML_FILES)” statement causes a fatal error during “make install”.
b) In the Makefile for gnuradio-3.0.2/gr-trellis/doc, an error occurs in the install-data-local rule (approx. line 588). Since HTML_FILES is blank, the “for i in $(HTML_FILES)” statement causes a fatal error during “make install”.
Patrick Murphy (added per Greg Troxel request)
Change History
11/15/06 13:38:21: Modified by jcorgan
- owner set to jcorgan.
- status changed from new to assigned.
- version changed from 3.0.1 to 3.0.2.
- component changed from unknown to build.
11/26/06 20:14:13: Modified by jcorgan
- status changed from assigned to new.
- milestone changed from to-be-decided to release-3.0.3.
11/26/06 21:31:09: Modified by jcorgan
- status changed from new to assigned.
11/26/06 21:39:29: Modified by jcorgan
- status changed from assigned to closed.
- resolution set to fixed.
Per Don Ward:
http://lists.gnu.org/archive/html/discuss-gnuradio/2006-11/msg00246.html
The second issue is a bug in an older version of the MSYS port of bash; current versions do not have problem, so no fix on this one.

Partial fix (problem #1) in trunk r4031.