2.4.9-pre5 pcilynx undeclared variables

Matti Langvall (langvall_2000@yahoo.com)
Sat, 30 Mar 2002 05:18:05 -0800 (PST)


Hi,

got this error trying to compile 2.4.19-pre5

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-boundar
y=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h
-DKBUILD_BASENAME=pcilynx -c -o pcilynx.o pcilynx.c
pcilynx.c: In function `mem_open':
pcilynx.c:647: `num_of_cards' undeclared (first use in
this function)
pcilynx.c:647: (Each undeclared identifier is reported
only once
pcilynx.c:647: for each function it appears in.)
pcilynx.c:647: `cards' undeclared (first use in this
function)
pcilynx.c: In function `aux_poll':
pcilynx.c:706: `cards' undeclared (first use in this
function)
make[2]: *** [pcilynx.o] Error 1
make[2]: Leaving directory
`/usr/src/linux/drivers/ieee1394'
make[1]: *** [_modsubdir_ieee1394] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_mod_drivers] Error 2

Please reply to this adress as i'm not subscribing to
lkml.

Best regards
Matti L

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/