LINUX.ORG.RU

Ошибки при сборке X11R7.2


0

0

Сабж:

In file included from lnx_agp.c:23: /usr/include/linux/agpgart.h:55: error: expected specifier-qualifier-list before '__u16' /usr/include/linux/agpgart.h:61: error: expected specifier-qualifier-list before '__u32' /usr/include/linux/agpgart.h:71: error: expected specifier-qualifier-list before '__u32' /usr/include/linux/agpgart.h:92: error: expected specifier-qualifier-list before '__u32' /usr/include/linux/agpgart.h:106: error: expected specifier-qualifier-list before '__u32' lnx_agp.c: In function 'GARTInit': lnx_agp.c:103: error: 'struct agp_version' has no member named 'major' lnx_agp.c:104: error: 'struct agp_version' has no member named 'minor' lnx_agp.c:108: error: 'struct agp_version' has no member named 'major' lnx_agp.c:108: error: 'struct agp_version' has no member named 'minor' lnx_agp.c: In function 'xf86GetAGPInfo': lnx_agp.c:150: error: 'struct _agp_info' has no member named 'bridge_id' lnx_agp.c:151: error: 'struct _agp_info' has no member named 'agp_mode' lnx_agp.c:152: error: 'struct _agp_info' has no member named 'aper_base' lnx_agp.c:153: error: 'struct _agp_info' has no member named 'aper_size' lnx_agp.c:154: error: 'struct _agp_info' has no member named 'pg_total' lnx_agp.c:155: error: 'struct _agp_info' has no member named 'pg_system' lnx_agp.c:156: error: 'struct _agp_info' has no member named 'pg_used' lnx_agp.c:158: error: 'struct _agp_info' has no member named 'pg_total' lnx_agp.c:158: error: 'struct _agp_info' has no member named 'pg_used' lnx_agp.c: In function 'xf86AllocateGARTMemory': lnx_agp.c:239: error: 'struct _agp_allocate' has no member named 'type' lnx_agp.c:249: error: 'struct _agp_allocate' has no member named 'physical' lnx_agp.c: In function 'xf86UnbindGARTMemory': lnx_agp.c:338: error: 'struct _agp_unbind' has no member named 'priority' lnx_agp.c: In function 'xf86EnableAGP': lnx_agp.c:364: error: 'agp_setup' has no member named 'agp_mode'

Что делать ? :(

Это баг в glibc. Workaround: добавь эту строчку самой первой в lnxagp.c

#include <linux/types.h>

AEP ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.