Перейти к содержимому
Калькуляторы

Freebsd 7.2 и Lsi SAS2008 Freebsd 7.2 и Lsi SAS2008

Добрый день

кто нибудь прикручивал этот рэйд контролер?

 

драйвера которые даются на сайте не собираются

 

../../../dev/mfi/mfi.c: In function 'mfi_alloc_skinny_memory':

../../../dev/mfi/mfi.c:688: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c:722: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c:723: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c:728: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c:728: warning: format '%lld' expects type 'long long int', but argument 3 has type 'uint64_t'

../../../dev/mfi/mfi.c:766: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c:769: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c:807: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c:811: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c:821: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c: In function 'mfi_free_skinny_memory':

../../../dev/mfi/mfi.c:1142: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c:1146: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c:1156: warning: cast to pointer from integer of different size

../../../dev/mfi/mfi.c: In function 'mfi_bio_command':

../../../dev/mfi/mfi.c:2104: warning: cast from pointer to integer of different size

../../../dev/mfi/mfi.c:2106: warning: cast from pointer to integer of different size

../../../dev/mfi/mfi.c: In function 'mfi_ioctl':

../../../dev/mfi/mfi.c:2955: warning: cast to pointer from integer of different size

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Видимо код не приспособлен для amd64. Такие ошибки возникают из-за попытки присвоения 64-битному указателю значения 32-битной переменной. Если других проблем нет, то можно и самому допилить.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 смайлов.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.