Help with a build error on a linux system
Patrick Mahan
mahan at mahan.org
Thu Sep 21 22:29:43 PDT 2006
Dave Airlie wrote:
> any reason you are trying to build such an old X.org release (6.7) with
> gcc 4.0?
Other than stupidity, no :-)
Thanks for shedding the light on what it is that I was missing.
Thanks,
Patrick
>
> Also why ./configure.. the old monolithic trees just did make World.
>
> if you really want to build it with such a new compiler you'll have to
> fix it yourself..
>
> Dave.
>
> On 9/22/06, Patrick Mahan <mahan at mahan.org> wrote:
>>
>> After searching the faq and the mailing list archives, I have found no
>> information for my question.
>>
>> Release: X11R6.7.0
>>
>> Building from source.
>>
>> Build system: Ubuntu Linux (2.6.15-27-386 #1 PREEMPT)
>>
>> gcc -v gives the following:
>>
>> Using built-in specs.
>> Target: i486-linux-gnu
>> Configured with: ../src/configure -v
>> --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
>> --enable-shared --with-system-zlib --libexecdir=/usr/lib --with
>> out-included-gettext --enable-threads=posix --enable-nls
>> --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
>> --enable-libstdcxx-debug --enable-java-awt=gtk-default
>> --enable-gtk-cairo
>> --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
>> --enable-mpfr --disable-werror --with-tune=pentium4
>> --enable-checking=relea
>> se i486-linux-gnu
>> Thread model: posix
>> gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
>>
>> I ran './configure' and the 'make World'. The 'make World' is failing
>> with the following error:
>>
>>
>> rm -f tdfx_span.o
>> gcc -m32 -c -O2 -fno-strength-reduce -ansi -pedantic -Wall
>> -Wpointer-arith -Wundef -I../../../../../../exports/include/X11
>> -I../../../../../../include/extensions
>> -I../../../../../../extras/Mesa/src
>> -I../../../../../../lib/GL/mesa/src/drv/common
>> -I../../../../../../lib/GL/mesa/src/drv/tdfx
>> -I../../../../../../lib/GL/dri -I../../../../../../lib/GL/glx
>> -I../../../../../../exports/include
>> -I../../../../../../exports/include/GL
>> -I../../../../../../programs/Xserver/GL/dri
>> -I../../../../../../programs/Xserver/hw/xfree86/os-support
>> -I../../../../../../programs/Xserver/hw/xfree86/drivers/tdfx
>> -I../../../../../../programs/Xserver/hw/xfree86/common
>> -I../../../../../../lib/GL/dri/drm
>> -I../../../../../../lib/GL/include -I../../../../../..
>> -I../../../../../../exports/include -Dlinux -D__i386__
>> -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
>> -D_XOPEN_SOURCE -D_BSD_SOURCE
>> -D_SVID_SOURCE -D_GNU_SOURCE
>> -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT
>> -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI
>> -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA
>> -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DUSE_X86_ASM -DUSE_MMX_ASM
>> -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXVENDORNAME='"The X.Org Foundation"'
>> -DXVENDORNAMESHORT='"X.Org"' tdfx_span.c
>> tdfx_span.c: In function 'tdfxDDWriteDepthPixels':
>> tdfx_span.c:976: error: invalid lvalue in assignment
>> tdfx_span.c:1008: error: invalid lvalue in assignment
>> tdfx_span.c: In function 'write_stencil_pixels':
>> tdfx_span.c:1242: error: invalid lvalue in assignment
>> make[6]: *** [tdfx_span.o] Error 1
>>
>>
>>
>> Now it is entirely possible that I have a mis-configuration problem,
>> if so I can post the configuration. I suspect I am missing some flag
>> to gcc.
>>
>> Thanks for any pointers,
>>
>> Patrick
>> _______________________________________________
>> xorg mailing list
>> xorg at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/xorg
>>
>
>
More information about the xorg
mailing list