Re: ANNOUNCE: XFree86 4.7.0 is now available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 07-08-19 à 19:41, Yves de Champlain a écrit :

Hi

Congrats for the new release !

I am geting this problem

MacOS X 10.4.10 PPC with gcc 4.0.1

/usr/bin/cc -c -Wall -Wpointer-arith -no-cpp-precomp -fno-common - I. -I../../../extras/Mesa/include -I../../../lib/GL/ glx -I../../../extras/Mesa/src/mesa/main - I../../../extras/Mesa/src/mesa/glapi -I../../../extras/ Mesa/src/mesa/drivers/x11 -I../../../extras/Mesa/src/ mesa/ -I../../../programs/Xserver/hw/xfree86/os-support/ shared/drm/kernel -I../../../programs/Xserver/GL/dri -I../../../ programs/Xserver/hw/xfree86/os-support -I../../../exports/ include "-I/Users/Shared/MacPorts/build/ _Users_Shared_MacPorts_dports_x11_XFree86/work/include" - D__powerpc__ -D__DARWIN__ - DNO_ALLOCA -DCSRG_BASED -DXTHREADS -D_REENTRANT - DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI -DGLXEXT - DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -fno-common -DDEFAULT_DRIVER_DIR=\"/usr/X11R6/lib/modules/dri\" - DGLX_ALIAS_UNSUPPORTED -DXTHREADS -D_REENTRANT - DXUSE_MTSAFE_API -DXNO_MTSAFE_UNISTDAPI -Os -fno-strict- aliasing glxcmds.c -o unshared/glxcmds.o glxcmds.c:50:38: error: X11/extensions/xf86vmode.h: No such file or directory

This comes from this part of xc/lib/GL/glx/glxcmds.c

#ifdef GLX_DIRECT_RENDERING
#include "indirect_init.h"
#include <X11/extensions/xf86vmode.h>
#endif

The GLX_DIRECT_RENDERING is defined in darwin.cf :

#  if OSMajorVersion >= 7
#   define HasXplugin           YES

...

#  if HasXplugin
#   define BuildAppleDRI        YES

...

# if BuildAppleDRI
# define GlxExtraDefines -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL GlxArchDefines


Any advice about this ?

I've dug a little deeper and xf86vmode.h is not exported.
This should happen here in xc/include/extensions/Imakefile :

#if BuildXF86VidModeExt || BuildXF86VidModeLibrary
XF86VIDMODEHEADERS = xf86vmode.h xf86vmstr.h
#endif

The first is disabled in darwin.cf :

/* no XFree86-VidMode extension */
#define BuildXF86VidModeExt     NO

The second should be defined in xfree86.cf :

#ifndef BuildXF86VidModeLibrary
#define BuildXF86VidModeLibrary	YES
#endif

This looks contradictory to me, so I don't know what is the best solution

yves




_______________________________________________
Devel mailing list
Devel@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [XFree86]     [XFree86 Newbie]     [X.Org]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux