2.5.47 "DAC960" Compile Error

2.5.47 "DAC960" Compile Error

Post by Adam Voig » Fri, 15 Nov 2002 19:20:16



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_Transla*quiry' 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

--

The Cryptocomm Group
My GPG Key: http://www.veryComputer.com/:8080/adam_at_cryptocomm.asc

  signature.asc
< 1K Download
 
 
 

2.5.47 "DAC960" Compile Error

Post by Dave Olie » Fri, 15 Nov 2002 19:50:07


You can get a working DAC960 driver at

        http://www.veryComputer.com/

There are patches here for numerous versions of Linux.


> 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_Transla*quiry' 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

> --

> The Cryptocomm Group
> My GPG Key: http://www.veryComputer.com/:8080/adam_at_cryptocomm.asc

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://www.veryComputer.com/
Please read the FAQ at  http://www.veryComputer.com/

 
 
 

1. 2.5.47-bk1: error compiling skbuff.c

I didn't see this in the archives yet... Linux 2.5.47-bk1, Debian Testing

  gcc -Wp,-MD,net/core/.skbuff.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
-DKBUILD_BASENAME=skbuff -DKBUILD_MODNAME=skbuff   -c -o net/core/skbuff.o
net/core/skbuff.c
In file included from include/net/xfrm.h:6,
                 from net/core/skbuff.c:61:
include/linux/crypto.h: In function `crypto_tfm_alg_modname':
include/linux/crypto.h:202: dereferencing pointer to incomplete type
include/linux/crypto.h:205: warning: control reaches end of non-void function
make[2]: *** [net/core/skbuff.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2

CONFIG_SECURITY_CAPABILITIES=y
# CONFIG_CRYPTO is not set

Linux razor 2.5.46 #1 Fri Nov 8 17:34:37 EST 2002 i686 Pentium II
(Klamath) GenuineIntel GNU/Linux

Gnu C                  2.95.4
Gnu make               3.79.1
util-linux             2.11n
mount                  2.11n
modutils               2.4.19
e2fsprogs              1.30-WIP
Linux C Library        2.2.5
Dynamic linker (ldd)   2.2.5
Procps                 2.0.7
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               4.5.2

--

Linux: the "grim reaper of innocent orphaned children."
          from /usr/src/linux-2.4.18/init/main.c:461

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. New PPP problems (SLACK 96)

3. 2.5.47 NFSv4 compile error

4. source/binary for 'top'

5. Linux 2.5.47 compile error

6. looking for crc code

7. 2.5.47 RadeonFB compile error

8. xterm is launched by root all the time? (-rws--x--x )

9. 2.5.47 ipv4 netfilter compile time error

10. cs46xx compile error 2.5.47

11. 2.5.47-bk compile errors: smbfs, cifs, nfs4, gameport, bttv

12. 2.5.47 : fs/nfsd/nfs4proc.c compile error

13. : Compile error on 2.5.47 with TCPMSS support enabled