[cpia] Re: can't compile on RH7.1

McQuay, Michael Michael.McQuay@wcg.com
Thu, 1 Nov 2001 09:51:32 -0600


 Oops, except that mine also has the following lines at the bottom.


cpia.c:3917: warning: initialization makes integer from pointer without a
cast
cpia.c: In function `cpia_register_camera':
cpia.c:4079: too few arguments to function `video_register_device'
make: *** [cpia.o] Error 1



-----Original Message-----
From: McQuay, Michael
To: 'cpia@risc.uni-linz.ac.at'
Cc: 'diodice@dgitech.com'
Sent: 11/1/2001 9:34 AM
Subject: [cpia] Re: can't compile on RH7.1

I'm having the exact same problem/errors as you described below.

Have you found a solution, yet?

If I find a solution, I'll post it.




---Original message---

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


_______________________________________________
cpia mailing list  -  cpia@risc.uni-linz.ac.at
http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia