i've corrected for comma, but don't know what to put and where, when you
say "move the declaration of driverinfo before any instruction..."
[EMAIL PROTECTED] wrote:
Oups I didn"t try with old compiler :
move the declaration of driverinfo before any instruction...
Also there is a typo for 2.4 kernel : i forgot a comma.
static eu_instance_t * eu_init_postfirm ( struct usb_device *usb int driver_info
)
^^^
I am not at home, but if you don't succed in correcting the errors, I could try
to do another patch.
Selon Alexandre LISSY <[EMAIL PROTECTED]>:
Bug is back !
just done a /etc/init.d/hotplug restart, and then the bug came back !
so, i've tried to apply the patch, but it doesn't compile :
linux:~/eagle-usb-2.0.0# make
make -C driver && \
make -C pppoa && \
make -C utils/scripts && \
make -C utils/eagleconnect && \
make -C doc
make[1]: Entering directory `/root/eagle-usb-2.0.0/driver'
if test ! -f .depend ; then make dep ; exit 0 ; fi
make[2]: Entering directory `/root/eagle-usb-2.0.0/driver'
cc -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.28/build/include
'-DEAGLEUSBVERSION="2.0.0"' -Wall -Wstrict-prototypes
-fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -DUSE_CMVS -O2 -M *.c > .depend
make[2]: Leaving directory `/root/eagle-usb-2.0.0/driver'
cc -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.28/build/include
'-DEAGLEUSBVERSION="2.0.0"' -Wall -Wstrict-prototypes
-fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -DUSE_CMVS -O2 -c -o eu_main.o eu_main.c
eu_main.c: In function `eu_probe':
eu_main.c:365: parse error before `int'
eu_main.c:370: `driver_info' undeclared (first use in this function)
eu_main.c:370: (Each undeclared identifier is reported only once
eu_main.c:370: for each function it appears in.)
eu_main.c:399: warning: label `byebye' defined but not used
eu_main.c: At top level:
eu_main.c:472: parse error before `int'
eu_main.c: In function `eu_init_postfirm':
eu_main.c:474: number of arguments doesn't match prototype
eu_main.c:137: prototype declaration
eu_main.c:501: `usb' undeclared (first use in this function)
eu_main.c:502: `driver_info' undeclared (first use in this function)
make[1]: *** [eu_main.o] Error 1
make[1]: Leaving directory `/root/eagle-usb-2.0.0/driver'
make: *** [build] Error 2
and, i've got another question to ask you : when i get disconnected, it
seems hard to get reconnected, and i've noticed that when i connect for
the first time, there's those lines in the logs, from pppoe :
Dec 20 12:05:24 linux pppoe[25016]: PADS: Service-Name: ''
Dec 20 12:05:24 linux pppoe[25016]: PPP session is 5937
but, if i get disconnected, they don't appear, and i get :
Dec 20 11:49:16 linux pppd[18255]: LCP: timeout sending Config-Requests
is there a way to solve it ?
I don't know : I never use pppoe...
Matthieu
_______________________________________________
Eagleusb-dev mailing list
[email protected]
https://mail.gna.org/listinfo/eagleusb-dev