The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"Установка X.Org 7.2 на FreeBSD. нужна помощь"
Отправлено fedorden, 27-Апр-07 08:45 
>http://people.freebsd.org/~anholt/agp-i965-2.diff
>Попробуйте, только без dri

пропатчил agp_i810.c и agpreg.h. При сборке нового ядра, спотыкается на файле agp_i810.c:
..............
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../..
-I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-ffreestanding -Werror  ../../../pci/agp_i810.c
../../../pci/agp_i810.c:100: error: field `resource_specs' has incomplete type
../../../pci/agp_i810.c: In function `agp_i810_attach':
../../../pci/agp_i810.c:389: warning: implicit declaration of function
`bus_release_resources'
../../../pci/agp_i810.c:389: warning: nested extern declaration of
`bus_release_resources'
../../../pci/agp_i810.c:401: warning: nested extern declaration of
`bus_release_resources'
../../../pci/agp_i810.c:389: warning: redundant redeclaration of
'bus_release_resources'
../../../pci/agp_i810.c:389: warning: previous implicit declaration of
'bus_release_resources' was here
../../../pci/agp_i810.c:415: warning: nested extern declaration of
`bus_release_resources'
../../../pci/agp_i810.c:389: warning: redundant redeclaration of
'bus_release_resources'
../../../pci/agp_i810.c:389: warning: previous implicit declaration of
'bus_release_resources' was here
../../../pci/agp_i810.c:437: warning: nested extern declaration of
`bus_release_resources'
../../../pci/agp_i810.c:389: warning: redundant redeclaration of
'bus_release_resources'
../../../pci/agp_i810.c:389: warning: previous implicit declaration of
'bus_release_resources' was here
../../../pci/agp_i810.c:448: warning: nested extern declaration of
`bus_release_resources'
......................
../../../pci/agp_i810.c:389: warning: previous implicit declaration of
'bus_release_resources' was here
*** Error code 1

Stop in /usr/src/sys/i386/compile/MY_WORK.
===========

проблема со структурой resource_spec - где она описана? кто-нить сталкивался с подобной проблемой. Прошерстил всю систему - так и не нашел файл, в котором встречается resource_spec, на исключение agp_i810.c.
Кстати, пришлось вернуть из старого agpreg.h (v. 1.18) следующие строки:

#define AGP_CAPPTR              0x34
#define AGP_CAPID_GET_NEXT_PTR(x)       (((x) & 0x0000ff00U) >> 8)
#define AGP_CAPID_GET_CAP_ID(x)         (((x) & 0x000000ffU) >> 0)

Конфигурация моего ПК: ASUS P5B-VM (G965), Core2DuoE4300, EIDE HDD 8G. ОС - FreeBSD 6.1:
$ uname -v
FreeBSD 6.1-RELEASE #2: Thu Dec  7 17:08:39 UTC 2006     denis@:/usr/src/sys/i386/compile/MY_WORK

Кто решил такую проблему, подскажите.

 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру