[Mesa-users] linux-fbdev

Jamie Amendolagine jamie.amendolagine at gmail.com
Fri May 28 03:22:58 PDT 2010


Great, Thanks! -- er. It looks like fbdev is not what I needed though I
don't think that it would support egl/ogl-es/ovg would it? -- it looks like
egl -> kms, or maybe egl -> driver_for_my_embedded_target. Is more like it.

Sorry about that...


Jamie


On Thu, May 27, 2010 at 8:47 AM, Brian Paul <brianp at vmware.com> wrote:

> Jamie Amendolagine wrote:
>
>> Trying to compile a linux-fbdev build on ubuntu 9.10, and it errors out:
>>
>> make linux-fbdev
>> root at flee:/usr/local/Mesa-7.8.1# make linux-fbdev
>> make default
>> make[1]: Entering directory `/usr/local/Mesa-7.8.1'
>> make[2]: Entering directory `/usr/local/Mesa-7.8.1/src'
>> Making sources for linux-fbdev
>> make[3]: Entering directory `/usr/local/Mesa-7.8.1/src/gallium'
>> make[4]: Entering directory `/usr/local/Mesa-7.8.1/src/gallium/auxiliary'
>> python util/u_format_access.py util/u_format.csv > util/u_format_access.c
>> python util/u_format_table.py util/u_format.csv > util/u_format_table.c
>> python util/u_format_pack.py util/u_format.csv > util/u_format_pack.h
>> rm -f depend
>> touch depend
>> makedepend -fdepend -I. -I../../../src/gallium/include
>> -I../../../src/gallium/auxiliary -I../../../src/gallium/drivers
>>  cso_cache/cso_context.c cso_cache/cso_cache.c cso_cache/cso_hash.c
>> draw/draw_context.c draw/draw_gs.c draw/draw_pipe.c draw/draw_pipe_aaline.c
>> draw/draw_pipe_aapoint.c draw/draw_pipe_clip.c draw/draw_pipe_cull.c
>> draw/draw_pipe_flatshade.c draw/draw_pipe_offset.c draw/draw_pipe_pstipple.c
>> draw/draw_pipe_stipple.c draw/draw_pipe_twoside.c draw/draw_pipe_unfilled.c
>> draw/draw_pipe_util.c draw/draw_pipe_validate.c draw/draw_pipe_vbuf.c
>> draw/draw_pipe_wide_line.c draw/draw_pipe_wide_point.c draw/draw_pt.c
>> draw/draw_pt_elts.c draw/draw_pt_emit.c draw/draw_pt_fetch.c
>> draw/draw_pt_fetch_emit.c draw/draw_pt_fetch_shade_emit.c
>> draw/draw_pt_fetch_shade_pipeline.c draw/draw_pt_post_vs.c
>> draw/draw_pt_util.c draw/draw_pt_varray.c draw/draw_pt_vcache.c
>> draw/draw_vertex.c draw/draw_vs.c draw/draw_vs_varient.c draw/draw_vs_aos.c
>> draw/draw_vs_aos_io.c draw/draw_vs_aos_machine.c draw/draw_vs_exec.c
>> draw/draw_vs_llvm.c draw/draw_vs_ppc.c draw/draw_vs_sse.c
>> indices/u_indices_gen.c indices/u_unfilled_gen.c os/os_misc.c
>> os/os_stream_log.c os/os_stream_stdc.c os/os_stream_str.c
>> os/os_stream_null.c os/os_time.c pipebuffer/pb_buffer_fenced.c
>> pipebuffer/pb_buffer_malloc.c pipebuffer/pb_bufmgr_alt.c
>> pipebuffer/pb_bufmgr_cache.c pipebuffer/pb_bufmgr_debug.c
>> pipebuffer/pb_bufmgr_mm.c pipebuffer/pb_bufmgr_ondemand.c
>> pipebuffer/pb_bufmgr_pool.c pipebuffer/pb_bufmgr_slab.c
>> pipebuffer/pb_validate.c rbug/rbug_connection.c rbug/rbug_core.c
>> rbug/rbug_texture.c rbug/rbug_context.c rbug/rbug_shader.c
>> rbug/rbug_demarshal.c rtasm/rtasm_cpu.c rtasm/rtasm_execmem.c
>> rtasm/rtasm_x86sse.c rtasm/rtasm_ppc.c rtasm/rtasm_ppc_spe.c
>> tgsi/tgsi_sanity.c tgsi/tgsi_build.c tgsi/tgsi_dump.c tgsi/tgsi_exec.c
>> tgsi/tgsi_info.c tgsi/tgsi_iterate.c tgsi/tgsi_parse.c tgsi/tgsi_ppc.c
>> tgsi/tgsi_scan.c tgsi/tgsi_sse2.c tgsi/tgsi_text.c tgsi/tgsi_transform.c
>> tgsi/tgsi_ureg.c tgsi/tgsi_util.c translate/translate_generic.c
>> translate/translate_sse.c translate/translate.c translate/translate_cache.c
>> util/u_debug.c util/u_debug_symbol.c util/u_debug_stack.c
>> util/u_dump_defines.c util/u_dump_state.c util/u_bitmask.c util/u_blit.c
>> util/u_blitter.c util/u_cache.c util/u_cpu_detect.c util/u_dl.c
>> util/u_draw_quad.c util/u_format_access.c util/u_format_table.c
>> util/u_gen_mipmap.c util/u_handle_table.c util/u_hash_table.c util/u_hash.c
>> util/u_keymap.c util/u_linear.c util/u_network.c util/u_math.c util/u_mm.c
>> util/u_rect.c util/u_ringbuffer.c util/u_simple_shaders.c util/u_snprintf.c
>> util/u_surface.c util/u_texture.c util/u_tile.c util/u_timed_winsys.c
>> util/u_upload_mgr.c util/u_simple_screen.c vl/vl_bitstream_parser.c
>> vl/vl_mpeg12_mc_renderer.c vl/vl_compositor.c vl/vl_csc.c
>> vl/vl_shader_build.c   indices/u_indices_gen.c indices/u_unfilled_gen.c
>> util/u_format_access.c util/u_format_pack.h util/u_format_table.c 2>
>> /dev/null
>> make[4]: Leaving directory `/usr/local/Mesa-7.8.1/src/gallium/auxiliary'
>> make[4]: Entering directory `/usr/local/Mesa-7.8.1/src/gallium/auxiliary'
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> cso_cache/cso_context.c -o cso_cache/cso_context.o
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> cso_cache/cso_cache.c -o cso_cache/cso_cache.o
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> cso_cache/cso_hash.c -o cso_cache/cso_hash.o
>> cso_cache/cso_hash.c: In function ‘cso_hash_insert’:
>>
>> ...
>>
>>
>> draw/draw_private.h:73: warning: ISO C90 does not support flexible array
>> members
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> indices/u_indices_gen.c -o indices/u_indices_gen.o
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> indices/u_unfilled_gen.c -o indices/u_unfilled_gen.o
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> os/os_misc.c -o os/os_misc.o
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> os/os_stream_log.c -o os/os_stream_log.o
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> os/os_stream_stdc.c -o os/os_stream_stdc.o
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> os/os_stream_str.c -o os/os_stream_str.o
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> os/os_stream_null.c -o os/os_stream_null.o
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> os/os_time.c -o os/os_time.o
>> os/os_time.c:64:34: warning: use of C99 long long integer constant
>> gcc -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary
>> -I../../../src/gallium/drivers  -O3 -ffast-math -ansi -pedantic -fPIC
>> -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DPTHREADS
>> -DUSE_GLFBDEV_DRIVER -fno-strict-aliasing -D__STDC_CONSTANT_MACROS
>> pipebuffer/pb_buffer_fenced.c -o pipebuffer/pb_buffer_fenced.o
>> In file included from pipebuffer/pb_buffer_fenced.c:47:
>> ./os/os_thread.h:262: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>> ‘__attribute__’ before ‘pipe_barrier’
>> ./os/os_thread.h:264: error: expected ‘)’ before ‘*’ token
>> ./os/os_thread.h:269: error: expected ‘)’ before ‘*’ token
>> ./os/os_thread.h:274: error: expected ‘)’ before ‘*’ token
>> make[4]: *** [pipebuffer/pb_buffer_fenced.o] Error 1
>> make[4]: Leaving directory `/usr/local/Mesa-7.8.1/src/gallium/auxiliary'
>> make[3]: *** [default] Error 1
>> make[3]: Leaving directory `/usr/local/Mesa-7.8.1/src/gallium'
>> make[2]: *** [subdirs] Error 1
>> make[2]: Leaving directory `/usr/local/Mesa-7.8.1/src'
>> make[1]: *** [default] Error 1
>> make[1]: Leaving directory `/usr/local/Mesa-7.8.1'
>> make: *** [linux-fbdev] Error 2
>> root at flee:/usr/local/Mesa-7.8.1#
>>
>>
> I just committed a few fixes to get things building again.
>
> However, I haven't tested the driver in years and don't know if it'll
> actually run.  If not, maybe you can do some debugging and submit some
> patches.
>
> -Brian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20100528/cf545e3f/attachment.html>


More information about the mesa-users mailing list