I just cvs updated my mach64-0-0-3-branch. make ran without problems
without problems. But make install gave me the following errors:
make[5]: Entering directory
`/var/local/src/mach64003/build/xc/lib/GL/mesa/src/drv/mach64'
rm -f mach64_screen.o
gcc -c -O2 -ansi -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -pipe -g
-I../../../../../../exports/include/X11
-I../../../../../../include/extensions
-I../../../../../../extras/Mesa/src
-I../../../../../../lib/GL/mesa/src/drv/common
-I../../../../../../lib/GL/mesa/src/drv/mach64
-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/ati
-I../../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../../lib/GL/dri/drm
-I../../../../../../lib/GL/include -I../../../../../..
-I../../../../../../exports/include -I/usr/X11R6-mach64003/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 mach64_screen.c
In file included from mach64_screen.c:32:
../../../../../../programs/Xserver/hw/xfree86/drivers/ati/mach64_dri.h:43:
parse error before `Bool'
../../../../../../programs/Xserver/hw/xfree86/drivers/ati/mach64_dri.h:43:
warning: no semicolon at end of struct or union
../../../../../../programs/Xserver/hw/xfree86/drivers/ati/mach64_dri.h:66:
parse error before `}'
../../../../../../programs/Xserver/hw/xfree86/drivers/ati/mach64_dri.h:66:
warning: type defaults to `int' in declaration of `ATIDRIServerInfoRec'
../../../../../../programs/Xserver/hw/xfree86/drivers/ati/mach64_dri.h:66:
warning: type defaults to `int' in declaration of `ATIDRIServerInfoPtr'
../../../../../../programs/Xserver/hw/xfree86/drivers/ati/mach64_dri.h:66:
warning: data definition has no type or storage class
In file included from ../../../../../../lib/GL/glx/glxclient.h:51,
from ../../../../../../lib/GL/dri/dri_util.h:43,
from mach64_context.h:39,
from mach64_screen.c:34:
../../../../../../exports/include/GL/glx.h:112: warning: function
declaration isn't a prototype
make[5]: *** [mach64_screen.o] Fehler 1
Then I also tried a clean make World; make install, with the same
result. I checked the logfile of make World, there are really no errors
there. I find it strange that mach64_screen.o is rebuilt during install
since my World log file contained the following:
rm -f mach64_screen.o
gcc -c -O2 -march=i686 -malign-functions=4 -ffast-math -ansi -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -pipe -g
-I../../../../../../exports/include/X11
-I../../../../../../include/extensions
-I../../../../../../extras/Mesa/src
-I../../../../../../lib/GL/mesa/src/drv/common
-I../../../../../../lib/GL/mesa/src/drv/mach64
-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/ati
-I../../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../../lib/GL/dri/drm
-I../../../../../../lib/GL/include -I../../../../../..
-I../../../../../../exports/include -I/usr/X11R6-mach64003/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 mach64_screen.c
without any error messages. When I think about it I'm even surprised
that mach64_screen.o builds without errors here, since I couldn't find
any include file of mach64_dri.h which defines Bool.
The only thing that is different in the two cases is the gcc command
line, so I diffed them and found that the one from make install uses
the standard -O2 optimisation while the one from make World uses my
custom optimisations. But this seems quite unrelated to the problem
anyway.
Regards,
Felix
__\|/__ ___ ___ ___
__Tsch��_______\_6 6_/___/__ \___/__ \___/___\___You can do anything,___
_____Felix_______\�/\ \_____\ \_____\ \______U___just not everything____
[EMAIL PROTECTED] >o<__/ \___/ \___/ at the same time!
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel