Jump to content
Калькуляторы

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

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this