[cpia] can't compile on RH7.1

David Iodice diodice@dgitech.com
Tue, 16 Oct 2001 11:22:39 -0400


Greetings,

I tried compiling on my RH7.1 machine and got errors trying
to compile cpia.c
Any help would be appreciated
here is the build log.

gcc -c -D_CPIA_DEBUG_ -Wall -Wstrict-prototypes -O2 -fomit-f
rame-pointer  -pipe -fno-strength-reduce -m486 -malign-loops
=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -fomit-fram
e-pointer -fno-strength-reduce -I. -I/usr/src/linux/include 
-D__KERNEL__ -DMODULE -DCONFIG_VIDEO_CPIA_MODULE -DCONFIG_VI
DEO_CPIA_PP_MODULE -DCONFIG_VIDEO_CPIA_PP_DMA  cpia.c
cpia.c: In function `cpia_write_proc':
cpia.c:652: warning: `val' might be used uninitialized in
this function
cpia.c: At top level:
cpia.c:3906: warning: initialization from incompatible
pointer type
cpia.c:3907: warning: missing braces around initializer
cpia.c:3907: warning: (near initialization for
`cpia_template.name')
cpia.c:3909: warning: initialization makes integer from
pointer without a cast
cpia.c:3909: initializer element is not computable at load
time
cpia.c:3909: (near initialization for
`cpia_template.name[2]')
cpia.c:3910: warning: initialization makes integer from
pointer without a cast
cpia.c:3910: initializer element is not computable at load
time
cpia.c:3910: (near initialization for
`cpia_template.name[3]')
cpia.c:3911: warning: initialization makes integer from
pointer without a cast
cpia.c:3911: initializer element is not computable at load
time
cpia.c:3911: (near initialization for
`cpia_template.name[4]')
cpia.c:3912: warning: initialization makes integer from
pointer without a cast
cpia.c:3913: warning: initialization makes integer from
pointer without a cast
cpia.c:3914: warning: initialization makes integer from
pointer without a cast
cpia.c:3914: initializer element is not computable at load
time
cpia.c:3914: (near initialization for
`cpia_template.name[7]')
cpia.c:3915: warning: initialization makes integer from
pointer without a cast
cpia.c:3915: initializer element is not computable at load
time
cpia.c:3915: (near initialization for
`cpia_template.name[8]')
cpia.c:3916: warning: initialization makes integer from
pointer without a cast
cpia.c:3916: initializer element is not computable at load
time
cpia.c:3916: (near initialization for
`cpia_template.name[9]')
cpia.c:3917: warning: initialization makes integer from
pointer without a cast
make: *** [cpia.o] Error 1