Re: Compiling Mesa on Mingw/MSYS (Windows)

"Joe Sutton" <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <81D9BDE81F674FFC86C3883062FF84B6@yourd56bbefa01>
> On 10/27/2012 04:57 AM, Joe Sutton wrote:
>> Not familiar with mailing lists, sorry if I'm doing this wrong...
>> I'm trying to compile Mesa3d 9.0 on MinGW/MSYS on Windows XP. GCC
>> version is
>> 4.7.0. I've installed Python 2.7 and Scons 2.2.0. I go to
>> C:/Mesa-9.0/build
>> and type scons, and it starts to compile, but the compilation stops 
>> midway
>> through. The last few lines:
>>
>> Compiling src\egl\main\eglscreen.c ...
>> Archiving build\windows-x86-debug\gallium\auxillary\libgallium.a ...
>> scons: *** [build\windows-x86-debug\gallium\auxillary\libgallium.a]
>> Error 1
>> Compiling src\egl\main\eglstring.c ...
>> scons: building terminated because of errors.
>>
>> I've tried Mesa3d 8.0.4 as well, and it did exactly the same thing.
>> Can anyone explain what I'm doing wrong? Thanks!
>
> Can't tell from the few lines above.  Can you post the complete output?
>
> -Brian
>

Hi Brian,

Sorry for the delay replying. I've attached the complete output. In the 
Mesa-9.0 folder, the compile line I used was: scons.py &>c:/coutput.txt

- Joe.

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
coutput.txt (text/plain, 16.8 KB)
scons: Reading SConscript files ...
Mkdir("build\windows-x86-debug")
Checking for X11 (x11 xext xdamage xfixes)... no
Checking for XCB (x11-xcb xcb-glx >= 1.8.1)... no
Checking for XF86VIDMODE (xxf86vm)... no
Checking for DRM (libdrm >= 2.4.24)... no
Checking for DRM_INTEL (libdrm_intel >= 2.4.30)... no
Checking for DRM_RADEON (libdrm_radeon >= 2.4.31)... no
Checking for XORG (xorg-server >= 1.6.0)... no
Checking for KMS (libkms >= 2.4.24)... no
Checking for UDEV (libudev > 150)... no
warning: LLVM disabled: not building llvmpipe
scons: done reading SConscript files.
scons: Building targets ...
  Compiling src\gallium\targets\egl-static\egl.c ...
  Compiling src\gallium\targets\egl-static\egl_pipe.c ...
  Compiling src\gallium\targets\egl-static\egl_st.c ...
  Generating src\mapi\vgapi\vgapi_tmp.h ...
  Compiling src\gallium\winsys\sw\gdi\gdi_sw_winsys.c ...
  Compiling src\mapi\mapi\u_current.c ...
  Compiling src\mapi\mapi\table.c ...
  Archiving build\windows-x86-debug\gallium\winsys\sw\gdi\libws_gdi.a ...
  Indexing build\windows-x86-debug\gallium\winsys\sw\gdi\libws_gdi.a ...
  Compiling src\mapi\mapi\stub.c ...
  Compiling src\mapi\mapi\mapi.c ...
  Compiling src\mapi\mapi\u_execmem.c ...
  Compiling src\mapi\mapi\entry.c ...
  Generating src\gallium\state_trackers\vega\api_tmp.h ...
g++ -m32 -static-libgcc -shared -Wl,-Bsymbolic -Wl,--enable-stdcall-fixup -o build\windows-x86-debug\mapi\vgapi\libOpenVG.dll build\windows-x86-debug\mapi\vgapi\entry.o build\windows-x86-debug\mapi\vgapi\mapi.o build\windows-x86-debug\mapi\vgapi\stub.o build\windows-x86-debug\mapi\vgapi\table.o build\windows-x86-debug\mapi\vgapi\u_current.o build\windows-x86-debug\mapi\vgapi\u_execmem.o -Wl,--start-group -Wl,--end-group -Wl,--out-implib,build\windows-x86-debug\mapi\vgapi\libOpenVG.a
  Compiling src\gallium\state_trackers\vega\bezier.c ...
Creating library file: build\windows-x86-debug\mapi\vgapi\libOpenVG.a
  Compiling src\gallium\state_trackers\vega\vg_state.c ...
  Compiling src\gallium\state_trackers\vega\arc.c ...
  Compiling src\gallium\state_trackers\vega\vg_context.c ...
  Compiling src\gallium\state_trackers\vega\api_transform.c ...
  Compiling src\gallium\state_trackers\vega\text.c ...
  Compiling src\gallium\state_trackers\vega\api_text.c ...
  Compiling src\gallium\state_trackers\vega\vg_manager.c ...
  Compiling src\gallium\state_trackers\vega\stroker.c ...
  Compiling src\gallium\state_trackers\vega\shaders_cache.c ...
  Compiling src\gallium\state_trackers\vega\api_params.c ...
  Compiling src\gallium\state_trackers\vega\shader.c ...
  Compiling src\gallium\state_trackers\vega\api_paint.c ...
  Compiling src\gallium\state_trackers\vega\renderer.c ...
  Compiling src\gallium\state_trackers\vega\api_misc.c ...
  Compiling src\gallium\state_trackers\vega\polygon.c ...
  Compiling src\gallium\state_trackers\vega\api_masks.c ...
  Compiling src\gallium\state_trackers\vega\path.c ...
src\gallium\state_trackers\vega\path.c: In function 'normalize_coords':
src\gallium\state_trackers\vega\path.c:1088:19: warning: variable 'y0' set but not used [-Wunused-but-set-variable]
src\gallium\state_trackers\vega\path.c:1088:15: warning: variable 'x0' set but not used [-Wunused-but-set-variable]
  Compiling src\gallium\state_trackers\vega\api_images.c ...
  Compiling src\gallium\state_trackers\vega\api_filters.c ...
  Compiling src\gallium\state_trackers\vega\paint.c ...
  Compiling src\gallium\state_trackers\vega\api_context.c ...
  Compiling src\gallium\state_trackers\vega\api.c ...
  Compiling src\gallium\state_trackers\vega\image.c ...
  Compiling src\gallium\state_trackers\vega\mask.c ...
  Compiling src\gallium\state_trackers\vega\api_path.c ...
  Compiling src\gallium\state_trackers\vega\vgu.c ...
  Compiling src\gallium\state_trackers\vega\handle.c ...
  Compiling src\gallium\state_trackers\vega\vg_translate.c ...
  Compiling src\gallium\drivers\softpipe\sp_fs_exec.c ...
  Compiling src\gallium\drivers\softpipe\sp_clear.c ...
  Archiving build\windows-x86-debug\gallium\state_trackers\vega\libst_vega.a ...
  Compiling src\gallium\drivers\softpipe\sp_context.c ...
  Indexing build\windows-x86-debug\gallium\state_trackers\vega\libst_vega.a ...
  Compiling src\gallium\drivers\softpipe\sp_draw_arrays.c ...
  Compiling src\gallium\drivers\softpipe\sp_fence.c ...
  Compiling src\gallium\drivers\softpipe\sp_flush.c ...
  Compiling src\gallium\drivers\softpipe\sp_prim_vbuf.c ...
  Compiling src\gallium\drivers\softpipe\sp_setup.c ...
  Compiling src\gallium\drivers\softpipe\sp_quad_blend.c ...
  Compiling src\gallium\drivers\softpipe\sp_quad_pipe.c ...
  Compiling src\gallium\drivers\softpipe\sp_quad_depth_test.c ...
  Compiling src\gallium\drivers\softpipe\sp_quad_fs.c ...
  Compiling src\gallium\drivers\softpipe\sp_quad_stipple.c ...
  Compiling src\gallium\drivers\softpipe\sp_query.c ...
  Compiling src\gallium\drivers\softpipe\sp_screen.c ...
  Compiling src\gallium\drivers\softpipe\sp_state_blend.c ...
  Compiling src\gallium\drivers\softpipe\sp_state_clip.c ...
  Compiling src\gallium\drivers\softpipe\sp_state_derived.c ...
  Compiling src\gallium\drivers\softpipe\sp_state_rasterizer.c ...
  Compiling src\gallium\drivers\softpipe\sp_state_sampler.c ...
  Compiling src\gallium\drivers\softpipe\sp_state_shader.c ...
  Compiling src\gallium\drivers\softpipe\sp_state_so.c ...
  Compiling src\gallium\drivers\softpipe\sp_state_surface.c ...
  Compiling src\gallium\drivers\softpipe\sp_state_vertex.c ...
  Compiling src\gallium\drivers\softpipe\sp_surface.c ...
  Compiling src\gallium\drivers\softpipe\sp_tex_sample.c ...
  Compiling src\gallium\drivers\softpipe\sp_tex_tile_cache.c ...
  Compiling src\gallium\drivers\softpipe\sp_texture.c ...
  Compiling src\gallium\drivers\softpipe\sp_tile_cache.c ...
  Compiling src\gallium\drivers\rbug\rbug_context.c ...
  Archiving build\windows-x86-debug\gallium\drivers\softpipe\libsoftpipe.a ...
  Indexing build\windows-x86-debug\gallium\drivers\softpipe\libsoftpipe.a ...
  Compiling src\gallium\drivers\rbug\rbug_core.c ...
  Compiling src\gallium\drivers\rbug\rbug_objects.c ...
  Compiling src\gallium\drivers\rbug\rbug_screen.c ...
  Compiling src\gallium\drivers\trace\tr_context.c ...
  Archiving build\windows-x86-debug\gallium\drivers\rbug\librbug.a ...
  Indexing build\windows-x86-debug\gallium\drivers\rbug\librbug.a ...
  Compiling src\gallium\drivers\trace\tr_dump.c ...
  Compiling src\gallium\drivers\trace\tr_dump_state.c ...
  Compiling src\gallium\drivers\trace\tr_screen.c ...
  Compiling src\gallium\drivers\trace\tr_texture.c ...
  Compiling src\gallium\drivers\galahad\glhd_context.c ...
  Archiving build\windows-x86-debug\gallium\drivers\trace\libtrace.a ...
  Indexing build\windows-x86-debug\gallium\drivers\trace\libtrace.a ...
  Compiling src\gallium\drivers\galahad\glhd_objects.c ...
  Compiling src\gallium\drivers\galahad\glhd_screen.c ...
  Compiling src\gallium\auxiliary\cso_cache\cso_cache.c ...
  Archiving build\windows-x86-debug\gallium\drivers\galahad\libgalahad.a ...
  Indexing build\windows-x86-debug\gallium\drivers\galahad\libgalahad.a ...
  Compiling src\gallium\auxiliary\cso_cache\cso_context.c ...
  Compiling src\gallium\auxiliary\cso_cache\cso_hash.c ...
  Compiling src\gallium\auxiliary\draw\draw_context.c ...
  Compiling src\gallium\auxiliary\draw\draw_fs.c ...
  Compiling src\gallium\auxiliary\draw\draw_gs.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_aaline.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_aapoint.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_clip.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_cull.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_flatshade.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_offset.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_pstipple.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_stipple.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_twoside.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_unfilled.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_util.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_validate.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_vbuf.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_wide_line.c ...
  Compiling src\gallium\auxiliary\draw\draw_pipe_wide_point.c ...
  Compiling src\gallium\auxiliary\draw\draw_pt.c ...
  Compiling src\gallium\auxiliary\draw\draw_pt_emit.c ...
  Compiling src\gallium\auxiliary\draw\draw_pt_fetch.c ...
  Compiling src\gallium\auxiliary\draw\draw_pt_fetch_emit.c ...
  Compiling src\gallium\auxiliary\draw\draw_pt_fetch_shade_emit.c ...
  Compiling src\gallium\auxiliary\draw\draw_pt_fetch_shade_pipeline.c ...
  Compiling src\gallium\auxiliary\draw\draw_pt_post_vs.c ...
  Compiling src\gallium\auxiliary\draw\draw_pt_so_emit.c ...
  Compiling src\gallium\auxiliary\draw\draw_pt_util.c ...
  Compiling src\gallium\auxiliary\draw\draw_pt_vsplit.c ...
  Compiling src\gallium\auxiliary\draw\draw_vertex.c ...
  Compiling src\gallium\auxiliary\draw\draw_vs.c ...
  Compiling src\gallium\auxiliary\draw\draw_vs_exec.c ...
  Compiling src\gallium\auxiliary\draw\draw_vs_ppc.c ...
  Compiling src\gallium\auxiliary\draw\draw_vs_variant.c ...
  Compiling src\gallium\auxiliary\os\os_misc.c ...
  Compiling src\gallium\auxiliary\os\os_time.c ...
  Compiling src\gallium\auxiliary\pipebuffer\pb_buffer_fenced.c ...
  Compiling src\gallium\auxiliary\pipebuffer\pb_buffer_malloc.c ...
  Compiling src\gallium\auxiliary\pipebuffer\pb_bufmgr_alt.c ...
  Compiling src\gallium\auxiliary\pipebuffer\pb_bufmgr_cache.c ...
  Compiling src\gallium\auxiliary\pipebuffer\pb_bufmgr_debug.c ...
  Compiling src\gallium\auxiliary\pipebuffer\pb_bufmgr_mm.c ...
  Compiling src\gallium\auxiliary\pipebuffer\pb_bufmgr_ondemand.c ...
  Compiling src\gallium\auxiliary\pipebuffer\pb_bufmgr_pool.c ...
  Compiling src\gallium\auxiliary\pipebuffer\pb_bufmgr_slab.c ...
  Compiling src\gallium\auxiliary\pipebuffer\pb_validate.c ...
  Compiling src\gallium\auxiliary\postprocess\pp_celshade.c ...
  Compiling src\gallium\auxiliary\postprocess\pp_colors.c ...
  Compiling src\gallium\auxiliary\postprocess\pp_init.c ...
  Compiling src\gallium\auxiliary\postprocess\pp_mlaa.c ...
  Compiling src\gallium\auxiliary\postprocess\pp_run.c ...
  Compiling src\gallium\auxiliary\postprocess\pp_program.c ...
  Compiling src\gallium\auxiliary\rbug\rbug_connection.c ...
  Compiling src\gallium\auxiliary\rbug\rbug_context.c ...
  Compiling src\gallium\auxiliary\rbug\rbug_core.c ...
  Compiling src\gallium\auxiliary\rbug\rbug_demarshal.c ...
  Compiling src\gallium\auxiliary\rbug\rbug_texture.c ...
  Compiling src\gallium\auxiliary\rbug\rbug_shader.c ...
  Compiling src\gallium\auxiliary\rtasm\rtasm_cpu.c ...
  Compiling src\gallium\auxiliary\rtasm\rtasm_execmem.c ...
  Compiling src\gallium\auxiliary\rtasm\rtasm_ppc.c ...
  Compiling src\gallium\auxiliary\rtasm\rtasm_x86sse.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_build.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_dump.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_exec.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_info.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_iterate.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_parse.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_ppc.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_sanity.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_scan.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_strings.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_text.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_transform.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_ureg.c ...
  Compiling src\gallium\auxiliary\tgsi\tgsi_util.c ...
  Compiling src\gallium\auxiliary\translate\translate.c ...
  Compiling src\gallium\auxiliary\translate\translate_cache.c ...
  Compiling src\gallium\auxiliary\translate\translate_generic.c ...
  Compiling src\gallium\auxiliary\translate\translate_sse.c ...
  Compiling src\gallium\auxiliary\util\u_debug.c ...
  Compiling src\gallium\auxiliary\util\u_debug_describe.c ...
  Compiling src\gallium\auxiliary\util\u_debug_memory.c ...
  Compiling src\gallium\auxiliary\util\u_debug_refcnt.c ...
  Compiling src\gallium\auxiliary\util\u_debug_stack.c ...
  Compiling src\gallium\auxiliary\util\u_debug_symbol.c ...
  Compiling src\gallium\auxiliary\util\u_dump_defines.c ...
  Compiling src\gallium\auxiliary\util\u_dump_state.c ...
  Compiling src\gallium\auxiliary\util\u_bitmask.c ...
  Compiling src\gallium\auxiliary\util\u_blit.c ...
  Compiling src\gallium\auxiliary\util\u_blitter.c ...
  Compiling src\gallium\auxiliary\util\u_cache.c ...
  Compiling src\gallium\auxiliary\util\u_caps.c ...
  Compiling src\gallium\auxiliary\util\u_cpu_detect.c ...
  Compiling src\gallium\auxiliary\util\u_dl.c ...
  Compiling src\gallium\auxiliary\util\u_draw.c ...
  Compiling src\gallium\auxiliary\util\u_draw_quad.c ...
  Compiling src\gallium\auxiliary\util\u_format.c ...
  Compiling src\gallium\auxiliary\util\u_format_other.c ...
  Compiling src\gallium\auxiliary\util\u_format_latc.c ...
  Compiling src\gallium\auxiliary\util\u_format_s3tc.c ...
  Compiling src\gallium\auxiliary\util\u_format_rgtc.c ...
  Compiling src\gallium\auxiliary\util\u_format_etc.c ...
  Compiling src\gallium\auxiliary\util\u_format_tests.c ...
  Compiling src\gallium\auxiliary\util\u_format_yuv.c ...
  Compiling src\gallium\auxiliary\util\u_format_zs.c ...
  Compiling src\gallium\auxiliary\util\u_framebuffer.c ...
  Compiling src\gallium\auxiliary\util\u_gen_mipmap.c ...
  Compiling src\gallium\auxiliary\util\u_handle_table.c ...
  Compiling src\gallium\auxiliary\util\u_hash.c ...
  Compiling src\gallium\auxiliary\util\u_hash_table.c ...
  Compiling src\gallium\auxiliary\util\u_index_modify.c ...
  Compiling src\gallium\auxiliary\util\u_keymap.c ...
  Compiling src\gallium\auxiliary\util\u_linear.c ...
  Compiling src\gallium\auxiliary\util\u_linkage.c ...
  Compiling src\gallium\auxiliary\util\u_network.c ...
  Compiling src\gallium\auxiliary\util\u_math.c ...
  Compiling src\gallium\auxiliary\util\u_mm.c ...
  Compiling src\gallium\auxiliary\util\u_pstipple.c ...
  Compiling src\gallium\auxiliary\util\u_rect.c ...
  Compiling src\gallium\auxiliary\util\u_ringbuffer.c ...
  Compiling src\gallium\auxiliary\util\u_sampler.c ...
  Compiling src\gallium\auxiliary\util\u_simple_shaders.c ...
  Compiling src\gallium\auxiliary\util\u_slab.c ...
  Compiling src\gallium\auxiliary\util\u_snprintf.c ...
  Compiling src\gallium\auxiliary\util\u_staging.c ...
  Compiling src\gallium\auxiliary\util\u_surface.c ...
  Compiling src\gallium\auxiliary\util\u_surfaces.c ...
  Compiling src\gallium\auxiliary\util\u_texture.c ...
  Compiling src\gallium\auxiliary\util\u_tile.c ...
  Compiling src\gallium\auxiliary\util\u_transfer.c ...
  Compiling src\gallium\auxiliary\util\u_resource.c ...
  Compiling src\gallium\auxiliary\util\u_upload_mgr.c ...
  Compiling src\gallium\auxiliary\util\u_vbuf.c ...
  Compiling src\gallium\auxiliary\vl\vl_csc.c ...
  Compiling src\gallium\auxiliary\vl\vl_compositor.c ...
  Compiling src\gallium\auxiliary\vl\vl_matrix_filter.c ...
  Compiling src\gallium\auxiliary\vl\vl_median_filter.c ...
  Compiling src\gallium\auxiliary\vl\vl_decoder.c ...
  Compiling src\gallium\auxiliary\vl\vl_mpeg12_decoder.c ...
  Compiling src\gallium\auxiliary\vl\vl_mpeg12_bitstream.c ...
  Compiling src\gallium\auxiliary\vl\vl_zscan.c ...
  Compiling src\gallium\auxiliary\vl\vl_idct.c ...
  Compiling src\gallium\auxiliary\vl\vl_mc.c ...
  Compiling src\gallium\auxiliary\vl\vl_vertex_buffers.c ...
  Compiling src\gallium\auxiliary\vl\vl_video_buffer.c ...
  Generating build\windows-x86-debug\gallium\auxiliary\indices\u_indices_gen.c ...
  Compiling build\windows-x86-debug\gallium\auxiliary\indices\u_indices_gen.c ...
  Generating build\windows-x86-debug\gallium\auxiliary\indices\u_unfilled_gen.c ...
  Compiling build\windows-x86-debug\gallium\auxiliary\indices\u_unfilled_gen.c ...
  Generating build\windows-x86-debug\gallium\auxiliary\util\u_format_srgb.c ...
  Compiling build\windows-x86-debug\gallium\auxiliary\util\u_format_srgb.c ...
  Generating build\windows-x86-debug\gallium\auxiliary\util\u_format_table.c ...
  Compiling build\windows-x86-debug\gallium\auxiliary\util\u_format_table.c ...
  Compiling src\egl\main\eglapi.c ...
  Compiling src\egl\main\eglarray.c ...
  Compiling src\egl\main\eglconfig.c ...
  Compiling src\egl\main\eglcontext.c ...
  Compiling src\egl\main\eglcurrent.c ...
  Compiling src\egl\main\egldisplay.c ...
  Compiling src\egl\main\egldriver.c ...
  Compiling src\egl\main\eglfallbacks.c ...
  Compiling src\egl\main\eglglobals.c ...
  Compiling src\egl\main\eglimage.c ...
  Compiling src\egl\main\egllog.c ...
  Compiling src\egl\main\eglmisc.c ...
  Compiling src\egl\main\eglmode.c ...
  Compiling src\egl\main\eglscreen.c ...
  Archiving build\windows-x86-debug\gallium\auxiliary\libgallium.a ...
  Compiling src\egl\main\eglstring.c ...
scons: *** [build\windows-x86-debug\gallium\auxiliary\libgallium.a] Error 1
scons: building terminated because of errors.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.