ld -m elf_i386 -r -o ieee1394.o ieee1394_core.o ieee1394_transactions.o
hosts.o highlevel.o csr.o nodemgr.o
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -c -o
pcilynx.o pcilynx.c
pcilynx.c: In function `mem_open':
pcilynx.c:638: invalid operands to binary &
pcilynx.c:650: `num_of_cards' undeclared (first use in this function)
pcilynx.c:650: (Each undeclared identifier is reported only once
pcilynx.c:650: for each function it appears in.)
pcilynx.c:650: `cards' undeclared (first use in this function)
pcilynx.c: In function `aux_poll':
pcilynx.c:721: `cards' undeclared (first use in this function)
On 24 Jan 2002 20:18:26 -0800
Miles Lane <[email protected]> wrote:
>
> ld -m elf_i386 -r -o ieee1394.o ieee1394_core.o ieee1394_transactions.o
> hosts.o highlevel.o csr.o nodemgr.o
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -c -o
> pcilynx.o pcilynx.c
> pcilynx.c: In function `mem_open':
> pcilynx.c:638: invalid operands to binary &
> pcilynx.c:650: `num_of_cards' undeclared (first use in this function)
> pcilynx.c:650: (Each undeclared identifier is reported only once
> pcilynx.c:650: for each function it appears in.)
> pcilynx.c:650: `cards' undeclared (first use in this function)
> pcilynx.c: In function `aux_poll':
> pcilynx.c:721: `cards' undeclared (first use in this function)
Have you tried this patch?
Please apply and check if errors occure again.
And of course tell us about process.
Thanks.
btw, Dave Jones has fixed it in his tree, try to look into it.
Evgeniy Polyakov ( s0mbre ).
Hi Evgeniy,
I get this error with the patch applied:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -c -o
pcilynx.o pcilynx.c
pcilynx.c: In function `mem_open':
pcilynx.c:644: invalid operands to binary &
pcilynx.c: In function `add_card':
pcilynx.c:1520: incompatible types in assignment
make[2]: *** [pcilynx.o] Error 1
Thanks,
Miles
On 25 Jan 2002 09:30:50 -0800
Miles Lane <[email protected]> wrote:
> Hi Evgeniy,
>
> I get this error with the patch applied:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -c -o
> pcilynx.o pcilynx.c
> pcilynx.c: In function `mem_open':
> pcilynx.c:644: invalid operands to binary &
> pcilynx.c: In function `add_card':
> pcilynx.c:1520: incompatible types in assignment
> make[2]: *** [pcilynx.o] Error 1
I hope this patch will hel you.
Please apply and send feedback.
Good luck.
BTW, it probably won't work in 644 string, and if it will happen, than
Dave Jones tree is also broken.
P.S. It will not probably be applied, so enter
./drivers/ieee1394/pcilynx.c by hands. Sorry.
>
> Thanks,
> Miles
>
Evgeniy Polyakov ( s0mbre ).
Ooops, forgot to attach apatch, sorry.
> I hope this patch will hel you.
> Please apply and send feedback.
> Good luck.
> BTW, it probably won't work in 644 string, and if it will happen, than
> Dave Jones tree is also broken.
>
> P.S. It will not probably be applied, so enter
> ./drivers/ieee1394/pcilynx.c by hands. Sorry.
> > Thanks,
> > Miles
Evgeniy Polyakov ( s0mbre ).