* 2.5.47 "DAC960" Compile Error
@ 2002-11-14 17:12 Adam Voigt
2002-11-14 17:40 ` Dave Olien
0 siblings, 1 reply; 2+ messages in thread
From: Adam Voigt @ 2002-11-14 17:12 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2305 bytes --]
Kernel being Compiled: 2.5.47
Distro: Redhat 8
GCC: 3.2-7
2.5.47 Compile with mostly default options, stops compiling in the
make phase with:
gcc -Wp,-MD,drivers/block/.DAC960.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DMODULE -include include/linux/modversions.h
-DKBUILD_BASENAME=DAC960 -c -o drivers/block/DAC960.o
drivers/block/DAC960.c
In file included from drivers/block/DAC960.c:49:
drivers/block/DAC960.h:2572:2: #error I am a non-portable driver, please
convert me to use the Documentation/DMA-mapping.txt interfaces
In file included from drivers/block/DAC960.c:49:
drivers/block/DAC960.h: In function `DAC960_BA_WriteHardwareMailbox':
drivers/block/DAC960.h:2846: warning: implicit declaration of function
`Virtual_to_Bus32'
drivers/block/DAC960.c: In function `DAC960_V2_GeneralInfo':
drivers/block/DAC960.c:656: warning: implicit declaration of function
`Virtual_to_Bus64'
drivers/block/DAC960.c: In function `DAC960_V1_ProcessCompletedCommand':
drivers/block/DAC960.c:3102: warning: implicit declaration of function
`Bus32_to_Virtual'
drivers/block/DAC960.c:3102: warning: passing arg 2 of
`__constant_memcpy' makes pointer from integer without a cast
drivers/block/DAC960.c:3102: warning: passing arg 2 of `__memcpy' makes
pointer
from integer without a cast
drivers/block/DAC960.c:3107: warning: passing arg 2 of
`__constant_memcpy' makes pointer from integer without a cast
drivers/block/DAC960.c:3107: warning: passing arg 2 of `__memcpy' makes
pointer
from integer without a cast
drivers/block/DAC960.c: In function `DAC960_P_InterruptHandler':
drivers/block/DAC960.c:5038: warning: passing arg 1 of
`DAC960_P_To_PD_TranslateEnquiry' makes pointer from integer without a
cast
drivers/block/DAC960.c:5044: warning: passing arg 1 of
`DAC960_P_To_PD_TranslateDeviceState' makes pointer from integer without
a cast
make[2]: *** [drivers/block/DAC960.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.5.47 "DAC960" Compile Error
2002-11-14 17:12 2.5.47 "DAC960" Compile Error Adam Voigt
@ 2002-11-14 17:40 ` Dave Olien
0 siblings, 0 replies; 2+ messages in thread
From: Dave Olien @ 2002-11-14 17:40 UTC (permalink / raw)
To: Adam Voigt; +Cc: linux-kernel
You can get a working DAC960 driver at
http://www.osdl.org/archive/dmo
There are patches here for numerous versions of Linux.
On Thu, Nov 14, 2002 at 12:12:38PM -0500, Adam Voigt wrote:
> Kernel being Compiled: 2.5.47
> Distro: Redhat 8
> GCC: 3.2-7
>
> 2.5.47 Compile with mostly default options, stops compiling in the
> make phase with:
>
> gcc -Wp,-MD,drivers/block/.DAC960.o.d -D__KERNEL__ -Iinclude -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include
> -DMODULE -include include/linux/modversions.h
> -DKBUILD_BASENAME=DAC960 -c -o drivers/block/DAC960.o
> drivers/block/DAC960.c
> In file included from drivers/block/DAC960.c:49:
> drivers/block/DAC960.h:2572:2: #error I am a non-portable driver, please
> convert me to use the Documentation/DMA-mapping.txt interfaces
> In file included from drivers/block/DAC960.c:49:
> drivers/block/DAC960.h: In function `DAC960_BA_WriteHardwareMailbox':
> drivers/block/DAC960.h:2846: warning: implicit declaration of function
> `Virtual_to_Bus32'
> drivers/block/DAC960.c: In function `DAC960_V2_GeneralInfo':
> drivers/block/DAC960.c:656: warning: implicit declaration of function
> `Virtual_to_Bus64'
> drivers/block/DAC960.c: In function `DAC960_V1_ProcessCompletedCommand':
> drivers/block/DAC960.c:3102: warning: implicit declaration of function
> `Bus32_to_Virtual'
> drivers/block/DAC960.c:3102: warning: passing arg 2 of
> `__constant_memcpy' makes pointer from integer without a cast
> drivers/block/DAC960.c:3102: warning: passing arg 2 of `__memcpy' makes
> pointer
> from integer without a cast
> drivers/block/DAC960.c:3107: warning: passing arg 2 of
> `__constant_memcpy' makes pointer from integer without a cast
> drivers/block/DAC960.c:3107: warning: passing arg 2 of `__memcpy' makes
> pointer
> from integer without a cast
> drivers/block/DAC960.c: In function `DAC960_P_InterruptHandler':
> drivers/block/DAC960.c:5038: warning: passing arg 1 of
> `DAC960_P_To_PD_TranslateEnquiry' makes pointer from integer without a
> cast
> drivers/block/DAC960.c:5044: warning: passing arg 1 of
> `DAC960_P_To_PD_TranslateDeviceState' makes pointer from integer without
> a cast
> make[2]: *** [drivers/block/DAC960.o] Error 1
> make[1]: *** [drivers/block] Error 2
> make: *** [drivers] Error 2
>
> --
> Adam Voigt (adam@cryptocomm.com)
> The Cryptocomm Group
> My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-14 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14 17:12 2.5.47 "DAC960" Compile Error Adam Voigt
2002-11-14 17:40 ` Dave Olien
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®