<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">hai...<div><br><div>do u have any idea as y do we get this problem... generally...</div><div>i mean what may be the reason of such errors while building...</div><div>------------------------------------------<br>/usr/bin/ld: ../../common/driverfuncs.o: Relocations in generic ELF (EM: 8)<div><div>/usr/bin/ld: ../../common/driverfuncs.o: Relocations in generic ELF (EM: 8)</div><div>/usr/bin/ld: ../../common/driverfuncs.o: Relocations in generic ELF (EM: 8)</div><div>/usr/bin/ld: ../../common/driverfuncs.o: Relocations in generic ELF (EM: 8)</div><div>/usr/bin/ld: ../../common/driverfuncs.o: Relocations in generic ELF (EM: 8)</div><div>/usr/bin/ld: ../../common/driverfuncs.o: Relocations in generic ELF (EM: 8)</div><div>/usr/bin/ld: ../../common/driverfuncs.o: Relocations in generic ELF (EM: 8)</div><div>/usr/bin/ld: ../../common/driverfuncs.o: Relocations in
generic ELF (EM: 8)</div><div>../../common/driverfuncs.o: could not read symbols: File in wrong format</div><div>collect2: ld returned 1 exit status</div><div>/bin/sh ../../../../../bin/minstall mach64_dri.so ../../../../../lib </div><div>Unknown type of argument: mach64_dri.so</div><div>-----------------------------------------------</div></div><div><br>--- On <b>Wed, 8/12/10, Brian Paul <i><brianp@vmware.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Brian Paul <brianp@vmware.com><br>Subject: Re: [Mesa-users] documents for building mesa for mips...<br>To: "suma s" <suma_s27@yahoo.co.in><br>Date: Wednesday, 8 December, 2010, 9:11 PM<br><br><div class="plainMail">It looks like the flags which enable x86/mmx/sse optimizations are <br>being used by mistake.<br><br>Try ./configure --disable-asm<br><br>-Brian<br><br><br>On 12/07/2010 09:20 PM,
suma s wrote:<br>> hai...<br>><br>> ./configure runs well without any problem and thios is the output witch<br>> i get after running<br>> -----------------------------<br>><br>> root@lxdevenv:~/suma/Mesa-7.7.1# ./configure --prefix=/usr/target/<br>> --build=mipsel-linux --with-x=no<br>> checking build system type... mipsel-unknown-linux-gnu<br>> checking host system type... mipsel-unknown-linux-gnu<br>> checking for gcc... gcc<br>> checking for C compiler default output file name... a.out<br>> checking whether the C compiler works... yes<br>> checking whether we are cross compiling... no<br>> checking for suffix of executables...<br>> checking for suffix of object files... o<br>> checking whether we are using the GNU C compiler... yes<br>> checking whether gcc accepts -g... yes<br>> checking for gcc option to accept ISO C89... none needed<br>> checking how to run the C preprocessor... gcc
-E<br>> checking for gcc... (cached) gcc<br>> checking whether we are using the GNU C compiler... (cached) yes<br>> checking whether gcc accepts -g... (cached) yes<br>> checking for gcc option to accept ISO C89... (cached) none needed<br>> checking for g++... g++<br>> checking whether we are using the GNU C++ compiler... yes<br>> checking whether g++ accepts -g... yes<br>> checking for gmake... no<br>> checking for make... make<br>> checking for makedepend... /usr/bin/makedepend<br>> checking for sed... /bin/sed<br>> checking for a BSD-compatible install... /usr/bin/install -c<br>> checking for pkg-config... /usr/project/bin//pkg-config<br>> checking pkg-config is at least version 0.9.0... yes<br>> checking whether to enable assembly... no, platform not supported<br>> checking for gcc option to produce PIC... -fPIC<br>> checking for dlopen... no<br>> checking for dlopen in -ldl... yes<br>>
checking for posix_memalign... yes<br>> checking pkg-config files for X11 are available... yes<br>> checking for XLIBGL... yes<br>> checking for EGL... yes<br>> checking for GLW... yes<br>> checking for GLUT... yes<br>> configure: creating ./config.status<br>> config.status: creating configs/autoconf<br>> config.status: executing configs commands<br>><br>> prefix: /usr/target<br>> exec_prefix: ${prefix}<br>> libdir: ${exec_prefix}/lib<br>> includedir: ${prefix}/include<br>><br>> Driver: xlib<br>> OSMesa: libOSMesa<br>> Use XCB: no<br>><br>> Gallium: yes<br>> Gallium dirs: auxiliary drivers state_trackers<br>> Winsys dirs: xlib<br>> Winsys drm dirs:<br>> Auxiliary dirs: rbug draw translate cso_cache pipebuffer tgsi sct rtasm<br>> util indices vl<br>> Driver dirs: softpipe failover trace identity svga i915<br>> Trackers dirs: glx<br>><br>> Shared libs: yes<br>> Static
libs: no<br>> EGL: yes<br>> GLU: yes<br>> GLw: yes (Motif: no)<br>> glut: yes<br>> Demos: xdemos demos redbook samples glsl<br>><br>> CFLAGS: -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math<br>> -fno-strict-aliasing -fPIC<br>> CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fPIC<br>> Macros: -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XSHM<br>><br>> Run 'make' to build Mesa<br>><br>> -------------------------<br>> i have to build mesa for directfb on mips architecture..<br>> so iam building *make linux-directfb, with the CC flags edited in that as*<br>> *CC = /opt/embeddedalley/nxp_tv550/bin/mipsel-linux-gcc*<br>> *<br>> *<br>> *if i run this make iam getting the following error...*<br>> *---------------------------*<br>> *<br>> /opt/embeddedalley/nxp_tv550/bin/mipsel-linux-gcc -c -I../../include<br>> -I../../src/mesa -I../../src/gallium/include<br>>
-I../../src/gallium/auxiliary -Wall -O3 -ffast-math -fPIC -std=c99<br>> -D_GNU_SOURCE -D_POSIX_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=199309L<br>> -D_BSD_SOURCE -DPTHREADS -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM<br>> -DUSE_SSE_ASM tnl/t_vertex_sse.c -o tnl/t_vertex_sse.o<br>> tnl/t_vertex_sse.c:55: error: field ‘func’ has incomplete type<br>> tnl/t_vertex_sse.c:62: error: field ‘identity’ has incomplete type<br>> tnl/t_vertex_sse.c:63: error: field ‘chan0’ has incomplete type<br>> tnl/t_vertex_sse.c:68: error: return type is an incomplete type<br>> tnl/t_vertex_sse.c: In function ‘get_identity’:<br>> tnl/t_vertex_sse.c:69: warning: ‘return’ with a value, in function<br>> returning void<br>> tnl/t_vertex_sse.c: At top level:<br>> tnl/t_vertex_sse.c:73: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:74: error: parameter 3 (‘arg0’) has incomplete type<br>>
tnl/t_vertex_sse.c: In function ‘emit_load4f_4’:<br>> tnl/t_vertex_sse.c:76: warning: implicit declaration of function<br>> ‘sse_movups’<br>> tnl/t_vertex_sse.c: At top level:<br>> tnl/t_vertex_sse.c:80: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:81: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c: In function ‘emit_load4f_3’:<br>> tnl/t_vertex_sse.c:90: warning: implicit declaration of function ‘sse_movss’<br>> tnl/t_vertex_sse.c:90: warning: implicit declaration of function<br>> ‘x86_make_disp’<br>> tnl/t_vertex_sse.c:91: warning: implicit declaration of function<br>> ‘sse_shufps’<br>> tnl/t_vertex_sse.c:91: warning: implicit declaration of function ‘SHUF’<br>> tnl/t_vertex_sse.c:91: error: invalid use of void expression<br>> tnl/t_vertex_sse.c:93: warning: implicit declaration of function<br>> ‘sse_movlps’<br>>
tnl/t_vertex_sse.c: At top level:<br>> tnl/t_vertex_sse.c:97: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:98: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c: In function ‘emit_load4f_2’:<br>> tnl/t_vertex_sse.c:102: error: invalid use of void expression<br>> tnl/t_vertex_sse.c: At top level:<br>> tnl/t_vertex_sse.c:107: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:108: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c: In function ‘emit_load4f_1’:<br>> tnl/t_vertex_sse.c:112: error: invalid use of void expression<br>> tnl/t_vertex_sse.c: At top level:<br>> tnl/t_vertex_sse.c:118: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:119: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c:139: error: parameter 2 (‘dest’) has incomplete
type<br>> tnl/t_vertex_sse.c:140: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c: In function ‘emit_load3f_2’:<br>> tnl/t_vertex_sse.c:142: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:142: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c: At top level:<br>> tnl/t_vertex_sse.c:146: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:147: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c:154: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:155: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c:161: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:162: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c:169: error: parameter 2 (‘dest’) has incomplete type<br>>
tnl/t_vertex_sse.c:170: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c:200: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:202: error: parameter 4 (‘src’) has incomplete type<br>> tnl/t_vertex_sse.c: In function ‘emit_load’:<br>> tnl/t_vertex_sse.c:205: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:205: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c: At top level:<br>> tnl/t_vertex_sse.c:209: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:210: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c:216: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:217: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c:235: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:236: error:
parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c:242: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:243: error: parameter 3 (‘arg0’) has incomplete type<br>> tnl/t_vertex_sse.c:260: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:262: error: parameter 4 (‘temp’) has incomplete type<br>> tnl/t_vertex_sse.c: In function ‘emit_store’:<br>> tnl/t_vertex_sse.c:265: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:265: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c: At top level:<br>> tnl/t_vertex_sse.c:269: error: parameter 2 (‘dest’) has incomplete type<br>> tnl/t_vertex_sse.c:270: error: parameter 3 (‘temp’) has incomplete type<br>> tnl/t_vertex_sse.c: In function ‘emit_pack_store_4ub’:<br>> tnl/t_vertex_sse.c:274: warning: implicit declaration of function<br>>
‘sse_mulps’<br>> tnl/t_vertex_sse.c:277: warning: implicit declaration of function<br>> ‘sse2_cvtps2dq’<br>> tnl/t_vertex_sse.c:278: warning: implicit declaration of function<br>> ‘sse2_packssdw’<br>> tnl/t_vertex_sse.c:279: warning: implicit declaration of function<br>> ‘sse2_packuswb’<br>> tnl/t_vertex_sse.c:283: error: variable ‘mmx0’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:283: warning: implicit declaration of function<br>> ‘x86_make_reg’<br>> tnl/t_vertex_sse.c:283: error: ‘file_MMX’ undeclared (first use in this<br>> function)<br>> tnl/t_vertex_sse.c:283: error: (Each undeclared identifier is reported<br>> only once<br>> tnl/t_vertex_sse.c:283: error: for each function it appears in.)<br>> tnl/t_vertex_sse.c:283: error: storage size of ‘mmx0’ isn’t known<br>> tnl/t_vertex_sse.c:284: error: variable ‘mmx1’ has initializer but<br>>
incomplete type<br>> tnl/t_vertex_sse.c:284: error: storage size of ‘mmx1’ isn’t known<br>> tnl/t_vertex_sse.c:285: warning: implicit declaration of function<br>> ‘sse_cvtps2pi’<br>> tnl/t_vertex_sse.c:286: warning: implicit declaration of function<br>> ‘sse_movhlps’<br>> tnl/t_vertex_sse.c:288: warning: implicit declaration of function<br>> ‘mmx_packssdw’<br>> tnl/t_vertex_sse.c:289: warning: implicit declaration of function<br>> ‘mmx_packuswb’<br>> tnl/t_vertex_sse.c:290: warning: implicit declaration of function ‘mmx_movd’<br>> tnl/t_vertex_sse.c:284: warning: unused variable ‘mmx1’<br>> tnl/t_vertex_sse.c:283: warning: unused variable ‘mmx0’<br>> tnl/t_vertex_sse.c: At top level:<br>> tnl/t_vertex_sse.c:304: error: parameter 2 (‘srcREG’) has incomplete type<br>> tnl/t_vertex_sse.c:305: error: parameter 3 (‘vtxREG’) has incomplete type<br>> tnl/t_vertex_sse.c:
In function ‘get_src_ptr’:<br>> tnl/t_vertex_sse.c:309: error: variable ‘ptr_to_src’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:309: error: storage size of ‘ptr_to_src’ isn’t known<br>> tnl/t_vertex_sse.c:313: warning: implicit declaration of function ‘x86_mov’<br>> tnl/t_vertex_sse.c:309: warning: unused variable ‘ptr_to_src’<br>> tnl/t_vertex_sse.c: At top level:<br>> tnl/t_vertex_sse.c:317: error: parameter 2 (‘srcREG’) has incomplete type<br>> tnl/t_vertex_sse.c:318: error: parameter 3 (‘vtxREG’) has incomplete type<br>> tnl/t_vertex_sse.c: In function ‘update_src_ptr’:<br>> tnl/t_vertex_sse.c:323: error: variable ‘ptr_to_src’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:323: error: storage size of ‘ptr_to_src’ isn’t known<br>> tnl/t_vertex_sse.c:328: warning: implicit declaration of function ‘x86_lea’<br>>
tnl/t_vertex_sse.c:323: warning: unused variable ‘ptr_to_src’<br>> tnl/t_vertex_sse.c: In function ‘build_vertex_emit’:<br>> tnl/t_vertex_sse.c:350: error: variable ‘vertexEAX’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:350: error: ‘file_REG32’ undeclared (first use in<br>> this function)<br>> tnl/t_vertex_sse.c:350: error: ‘reg_AX’ undeclared (first use in this<br>> function)<br>> tnl/t_vertex_sse.c:350: error: storage size of ‘vertexEAX’ isn’t known<br>> tnl/t_vertex_sse.c:351: error: variable ‘srcECX’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:351: error: ‘reg_CX’ undeclared (first use in this<br>> function)<br>> tnl/t_vertex_sse.c:351: error: storage size of ‘srcECX’ isn’t known<br>> tnl/t_vertex_sse.c:352: error: variable ‘countEBP’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:352: error:
‘reg_BP’ undeclared (first use in this<br>> function)<br>> tnl/t_vertex_sse.c:352: error: storage size of ‘countEBP’ isn’t known<br>> tnl/t_vertex_sse.c:353: error: variable ‘vtxESI’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:353: error: ‘reg_SI’ undeclared (first use in this<br>> function)<br>> tnl/t_vertex_sse.c:353: error: storage size of ‘vtxESI’ isn’t known<br>> tnl/t_vertex_sse.c:354: error: variable ‘temp’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:354: error: ‘file_XMM’ undeclared (first use in this<br>> function)<br>> tnl/t_vertex_sse.c:354: error: storage size of ‘temp’ isn’t known<br>> tnl/t_vertex_sse.c:355: error: variable ‘vp0’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:355: error: storage size of ‘vp0’ isn’t known<br>> tnl/t_vertex_sse.c:356: error: variable ‘vp1’ has
initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:356: error: storage size of ‘vp1’ isn’t known<br>> tnl/t_vertex_sse.c:357: error: variable ‘temp2’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:357: error: storage size of ‘temp2’ isn’t known<br>> tnl/t_vertex_sse.c:362: warning: implicit declaration of function ‘x86_push’<br>> tnl/t_vertex_sse.c:368: warning: implicit declaration of function ‘x86_xor’<br>> tnl/t_vertex_sse.c:369: warning: implicit declaration of function<br>> ‘x86_fn_arg’<br>> tnl/t_vertex_sse.c:370: warning: implicit declaration of function ‘x86_cmp’<br>> tnl/t_vertex_sse.c:371: warning: implicit declaration of function<br>> ‘x86_jcc_forward’<br>> tnl/t_vertex_sse.c:371: error: ‘cc_E’ undeclared (first use in this<br>> function)<br>> tnl/t_vertex_sse.c:371: warning: assignment makes pointer from integer<br>> without a
cast<br>> tnl/t_vertex_sse.c:397: warning: implicit declaration of function<br>> ‘x86_get_label’<br>> tnl/t_vertex_sse.c:397: warning: assignment makes pointer from integer<br>> without a cast<br>> tnl/t_vertex_sse.c:407: error: variable ‘dest’ has initializer but<br>> incomplete type<br>> tnl/t_vertex_sse.c:407: error: storage size of ‘dest’ isn’t known<br>> tnl/t_vertex_sse.c:414: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:414: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:415: warning: implicit declaration of function<br>> ‘x86_deref’<br>> tnl/t_vertex_sse.c:415: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:415: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:416: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:416: error: type of formal parameter 4 is
incomplete<br>> tnl/t_vertex_sse.c:417: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:417: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:420: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:420: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:421: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:421: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:422: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:422: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:423: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:423: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:429: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:429: error: type of formal parameter 3 is
incomplete<br>> tnl/t_vertex_sse.c:430: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:430: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:431: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:431: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:432: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:432: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:435: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:435: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:436: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:436: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:437: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:437: error: type of formal parameter 4 is
incomplete<br>> tnl/t_vertex_sse.c:439: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:439: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:440: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:440: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:443: error: invalid use of void expression<br>> tnl/t_vertex_sse.c:445: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:445: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:449: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:449: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:450: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:450: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:451: error: type of formal parameter 2 is
incomplete<br>> tnl/t_vertex_sse.c:451: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:452: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:452: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:455: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:455: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:456: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:456: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:458: warning: implicit declaration of function<br>> ‘sse_addps’<br>> tnl/t_vertex_sse.c:459: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:459: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:460: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:460: error: type of formal
parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:463: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:463: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:464: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:464: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:467: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:467: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:468: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:468: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:471: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:471: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:472: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:472: error: type of formal
parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:475: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:475: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:476: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:476: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:479: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:479: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:480: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:480: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:482: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:482: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:483: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:483: error: type of formal
parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:492: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:492: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:493: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:493: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:495: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:495: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:496: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:496: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:509: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:509: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:510: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:510: error: type of formal
parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:513: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:513: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:514: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:514: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:521: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:521: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:522: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:522: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:523: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:523: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:529: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:529: error: type of formal
parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:530: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:530: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:532: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:532: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:541: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:541: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:551: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:551: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:552: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:552: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:553: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:553: error: type of formal
parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:554: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:554: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:557: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:557: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:558: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:558: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:560: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:560: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:561: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:561: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:564: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:564: error: type of formal
parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:565: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:565: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:567: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:567: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:568: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:568: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:571: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:571: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:572: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:572: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:574: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:574: error: type of formal
parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:575: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:575: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:580: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:580: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:581: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:581: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:582: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:582: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:583: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:583: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:586: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:586: error: type of formal
parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:587: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:587: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:588: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:588: error: type of formal parameter 4 is incomplete<br>> tnl/t_vertex_sse.c:589: error: type of formal parameter 2 is incomplete<br>> tnl/t_vertex_sse.c:589: error: type of formal parameter 3 is incomplete<br>> tnl/t_vertex_sse.c:407: warning: unused variable ‘dest’<br>> tnl/t_vertex_sse.c:613: warning: implicit declaration of function ‘x86_dec’<br>> tnl/t_vertex_sse.c:614: warning: implicit declaration of function ‘x86_test’<br>> tnl/t_vertex_sse.c:615: warning: implicit declaration of function ‘x86_jcc’<br>> tnl/t_vertex_sse.c:615: error: ‘cc_NZ’ undeclared (first use in this<br>> function)<br>>
tnl/t_vertex_sse.c:620: warning: implicit declaration of function ‘mmx_emms’<br>> tnl/t_vertex_sse.c:624: warning: implicit declaration of function<br>> ‘x86_fixup_fwd_jump’<br>> tnl/t_vertex_sse.c:628: warning: implicit declaration of function ‘x86_pop’<br>> tnl/t_vertex_sse.c:628: warning: implicit declaration of function<br>> ‘x86_get_base_reg’<br>> tnl/t_vertex_sse.c:630: warning: implicit declaration of function ‘x86_ret’<br>> tnl/t_vertex_sse.c:633: warning: implicit declaration of function<br>> ‘x86_get_func’<br>> tnl/t_vertex_sse.c:357: warning: unused variable ‘temp2’<br>> tnl/t_vertex_sse.c:356: warning: unused variable ‘vp1’<br>> tnl/t_vertex_sse.c:355: warning: unused variable ‘vp0’<br>> tnl/t_vertex_sse.c:354: warning: unused variable ‘temp’<br>> tnl/t_vertex_sse.c:353: warning: unused variable ‘vtxESI’<br>> tnl/t_vertex_sse.c:352: warning: unused variable
‘countEBP’<br>> tnl/t_vertex_sse.c:351: warning: unused variable ‘srcECX’<br>> tnl/t_vertex_sse.c:350: warning: unused variable ‘vertexEAX’<br>> tnl/t_vertex_sse.c: In function ‘_tnl_generate_sse_emit’:<br>> tnl/t_vertex_sse.c:657: error: ‘file_XMM’ undeclared (first use in this<br>> function)<br>> tnl/t_vertex_sse.c:660: warning: implicit declaration of function<br>> ‘x86_init_func_size’<br>> tnl/t_vertex_sse.c:673: warning: implicit declaration of function<br>> ‘x86_release_func’<br>> make[3]: *** [tnl/t_vertex_sse.o] Error 1<br>> make[3]: Leaving directory `/localhome/user/suma/Mesa-7.7.1/src/mesa'<br>> make[2]: *** [subdirs] Error 1<br>> make[2]: Leaving directory `/localhome/user/suma/Mesa-7.7.1/src'<br>> make[1]: *** [default] Error 1<br>> make[1]: Leaving directory `/localhome/user/suma/Mesa-7.7.1'<br>> make: *** [linux-directfb] Error 2<br>>
root@lxdevenv:~/suma/Mesa-7.7.1#<br>><br>> *<br>> *---------------------------*<br>> *<br>> *<br>> so i just wanted to know, whether iam proceeding in right way... and<br>> henceforth requested for documents regarding building mesa for mips..<br>><br>> Do you have X on your system?<br>> i dont want to use x window system but still i have all the x libraries<br>> installed in my system..<br>><br>> Do you just want software rendering?<br>> yes.. i need software rendering as of my requirement..<br>><br>> plz letme know where am i going wrong...<br>><br>> thanks in advance<br>><br>> --- On *Tue, 7/12/10, Brian Paul /<<a ymailto="mailto:brianp@vmware.com" href="/mc/compose?to=brianp@vmware.com">brianp@vmware.com</a>>/* wrote:<br>><br>><br>> From: Brian Paul <<a ymailto="mailto:brianp@vmware.com"
href="/mc/compose?to=brianp@vmware.com">brianp@vmware.com</a>><br>> Subject: Re: [Mesa-users] documents for building mesa for mips...<br>> To: "suma s" <<a ymailto="mailto:suma_s27@yahoo.co.in" href="/mc/compose?to=suma_s27@yahoo.co.in">suma_s27@yahoo.co.in</a>><br>> Cc: "<a ymailto="mailto:mesa-users@lists.freedesktop.org" href="/mc/compose?to=mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a>"<br>> <<a ymailto="mailto:mesa-users@lists.freedesktop.org" href="/mc/compose?to=mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a>><br>> Date: Tuesday, 7 December, 2010, 8:05 PM<br>><br>> On 12/07/2010 03:17 AM, suma s wrote:<br>> > hai..<br>> ><br>> > can anyone tell
me.. if there are any such documents which help me in<br>> > building mesa for mips...i mean what are the sources packeges,<br>> where do<br>> > i get them, how to build them for mips???<br>> ><br>> > if any one knows.. plz letme know... i have built this mesa for linux<br>> > successfully... but now i want to build it for mips target but<br>> donno how<br>> > to proceed with... iam new for this and expecting ur help to proceed<br>> > further...<br>> ><br>> > i tried downloadin mesa-7.7.1 and configuring it as ./configure<br>> > --prefix=/usr/target --build=mipsel-linux --with-x=no...<br>> configure was<br>>
> done but stuck in building..<br>> > i have also set the CC flags..<br>> > so plz let me know.. if there are any such documents that cen<br>> help me in<br>> > building mesa for MIPS..<br>><br>> If you just run "./configure ; make" what happens?<br>><br>> Do you have X on your system? Do you just want software rendering?<br>><br>> -Brian<br>><br>><br><br></div></blockquote></div></div></div></td></tr></table><br>