Newsgroup: it.fan.marco-ditri
Titolo: [xdslusb] [output lunghi] ubuntu.... ARRRRGH!


See credits in documentation
I found ADSL modem with VendorID = 0572 & ProductID = cb06
Error in ioctl call, status = -1
---------------------
Questo invece è l'output di cd /usr/src/cxacru && make
___________________________________________
root@desktop:/usr/src/cxacru# make
cd init && make clean
make[1]: Entering directory `/usr/src/cxacru/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/usr/src/cxacru/init'
cd module && make clean
make[1]: Entering directory `/usr/src/cxacru/module'
rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o
version.h
make[1]: Leaving directory `/usr/src/cxacru/module'
cd module2 && make clean
make[1]: Entering directory `/usr/src/cxacru/module2'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/usr/src/cxacru/module2'
cd sarlib && make clean
make[1]: Entering directory `/usr/src/cxacru/sarlib'
/bin/rm -f *.o
make[1]: Leaving directory `/usr/src/cxacru/sarlib'
cd panel && make clean
make[1]: Entering directory `/usr/src/cxacru/panel'
rm -f cxpanel *.bak
make[1]: Leaving directory `/usr/src/cxacru/panel'
cd bridged && make clean
make[1]: Entering directory `/usr/src/cxacru/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/usr/src/cxacru/bridged'
cd init && make && make install
make[1]: Entering directory `/usr/src/cxacru/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall
-DLINUX -I../include -lusb -lpthread cxload.c -o cxload
cxload.c: In function â€˜load_firmwareâ€™:
cxload.c:758: warning: pointer targets in passing argument 3 of
â€˜send_blockâ€™ differ in signedness
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall
-DLINUX -I../include -lusb -lpthread cxioctl.c -o cxioctl
make[1]: Leaving directory `/usr/src/cxacru/init'
make[1]: Entering directory `/usr/src/cxacru/init'
install -c -m 755 -p cxload cxioctl /usr/sbin
make[1]: Leaving directory `/usr/src/cxacru/init'
cd firmware && make
make[1]: Entering directory `/usr/src/cxacru/firmware'
install -c -m 644 -p cxfirm1.bin cxfirm2.bin cxfirm3.bin cxfirm4.bin
cxfirm5.bin /usr/sbin
make[1]: Leaving directory `/usr/src/cxacru/firmware'
cd module && make && make install
make[1]: Entering directory `/usr/src/cxacru/module'
gcc -O2 -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer
-fno-strict-aliasing -pipe -fno-common -mpreferred-stack-boundary=2
-march=i686 -Wall -D__KERNEL__ -DLINUX  -DMODULE
-I/lib/modules/2.6.12-9-386/build/include -I../sarlib/  -c cxacru.c -o
cxacrunormal.o
cxacru.c:55:31: error: linux/modversions.h: No such file or directory
In file included from
/lib/modules/2.6.12-9-386/build/include/linux/irq.h:21,
                 from
/lib/modules/2.6.12-9-386/build/include/asm/hardirq.h:6,
                 from
/lib/modules/2.6.12-9-386/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.12-9-386/build/include/linux/interrupt.h:11,
                 from
/lib/modules/2.6.12-9-386/build/include/linux/usb.h:15,
                 from cxacru.c:68:
/lib/modules/2.6.12-9-386/build/include/asm/irq.h:16:25: error:
irq_vectors.h: No such file or directory
In file included from
/lib/modules/2.6.12-9-386/build/include/asm/hardirq.h:6,
                 from
/lib/modules/2.6.12-9-386/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.12-9-386/build/include/linux/interrupt.h:11,
                 from
/lib/modules/2.6.12-9-386/build/include/linux/usb.h:15,
                 from cxacru.c:68:
/lib/modules/2.6.12-9-386/build/include/linux/irq.h:72: error:
â€˜NR_IRQSâ€™ undeclared here (not in a function)
In file included from
/lib/modules/2.6.12-9-386/build/include/linux/irq.h:74,
                 from
/lib/modules/2.6.12-9-386/build/include/asm/hardirq.h:6,
                 from
/lib/modules/2.6.12-9-386/build/include/linux/hardirq.h:6,
from /lib/modules/2.6.12-9-386/build/include/linux/interrupt.h:11,
                 from
/lib/modules/2.6.12-9-386/build/include/linux/usb.h:15,
                 from cxacru.c:68:
/lib/modules/2.6.12-9-386/build/include/asm/hw_irq.h:28: error:
â€˜NR_IRQ_VECTORSâ€™ undeclared here (not in a function)
In file included from
/lib/modules/2.6.12-9-386/build/include/linux/atmdev.h:209,
                 from cxacru.c:79:
/lib/modules/2.6.12-9-386/build/include/linux/skbuff.h: In function
â€˜skb_add_dataâ€™:
/lib/modules/2.6.12-9-386/build/include/linux/skbuff.h:1067: warning:
pointer targets in passing argument 1 of â€˜csum_and_copy_from_userâ€™
differ in signedness
In file included from
/lib/modules/2.6.12-9-386/build/include/linux/atmdev.h:211,
                 from cxacru.c:79:
/lib/modules/2.6.12-9-386/build/include/net/sock.h: In function
â€˜skb_copy_to_pageâ€™:
/lib/modules/2.6.12-9-386/build/include/net/sock.h:992: warning: pointer
targets in passing argument 1 of â€˜csum_and_copy_from_userâ€™ differ in
signedness
cxacru.c: At top level:
cxacru.c:340: warning: initialization from incompatible pointer type
cxacru.c:363:41: error: missing binary operator before token "("
cxacru.c:367: warning: initialization from incompatible pointer type
cxacru.c:368: warning: initialization from incompatible pointer type
cxacru.c:369: warning: initialization from incompatible pointer type
cxacru.c: In function â€˜udsl_atm_startdeviceâ€™:
cxacru.c:384: error: â€˜MOD_INC_USE_COUNTâ€™ undeclared (first use in this
function)cxacru.c:384: error: (Each undeclared identifier is reported only
once
cxacru.c:384: error: for each function it appears in.)
cxacru.c: In function â€˜udsl_atm_stopdeviceâ€™:
cxacru.c:420: error: â€˜struct atm_devâ€™ has no member named â€˜vccsâ€™
cxacru.c:423: error: â€˜struct atm_vccâ€™ has no member named â€˜nextâ€™
cxacru.c:424: error: â€˜struct atm_vccâ€™ has no member named â€˜sleepâ€™
cxacru.c:427: error: â€˜MOD_DEC_USE_COUNTâ€™ undeclared (first use in this
function)cxacru.c: In function â€˜udsl_atm_processqueue_threadâ€™:
cxacru.c:589: error: too few arguments to function â€˜daemonizeâ€™
cxacru.c: In function â€˜udsl_atm_openâ€™:
cxacru.c:650: error: â€˜MOD_INC_USE_COUNTâ€™ undeclared (first use in this
function)cxacru.c: In function â€˜udsl_atm_closeâ€™:
cxacru.c:701: error: â€˜MOD_DEC_USE_COUNTâ€™ undeclared (first use in this
function)cxacru.c: In function â€˜udsl_usb_send_data_completeâ€™:
cxacru.c:761: warning: implicit declaration of function â€˜FILL_BULK_URBâ€™
cxacru.c:769: error: â€˜USB_QUEUE_BULKâ€™ undeclared (first use in this
function)
cxacru.c:771: error: too few arguments to function â€˜usb_submit_urbâ€™
cxacru.c: In function â€˜udsl_usb_send_dataâ€™:
cxacru.c:856: error: â€˜USB_QUEUE_BULKâ€™ undeclared (first use in this
function)
cxacru.c:858: error: too few arguments to function â€˜usb_submit_urbâ€™
cxacru.c: In function â€˜udsl_usb_data_receiveâ€™:
cxacru.c:935: error: â€˜USB_QUEUE_BULKâ€™ undeclared (first use in this
function)
cxacru.c:937: error: too few arguments to function â€˜usb_submit_urbâ€™
cxacru.c: In function â€˜udsl_usb_data_initâ€™:
cxacru.c:968: error: too few arguments to function â€˜usb_alloc_urbâ€™
cxacru.c:985: error: â€˜USB_QUEUE_BULKâ€™ undeclared (first use in this
function)
cxacru.c:991: error: too few arguments to function â€˜usb_submit_urbâ€™
cxacru.c: In function â€˜udsl_usb_send_bulkâ€™:
cxacru.c:1080: error: too few arguments to function â€˜usb_alloc_urbâ€™
cxacru.c:1095: error: â€˜USB_QUEUE_BULKâ€™ undeclared (first use in this
function)
cxacru.c:1097: error: too few arguments to function â€˜usb_submit_urbâ€™
cxacru.c: In function â€˜udsl_usb_read_bulkâ€™:
cxacru.c:1162: error: too few arguments to function â€˜usb_alloc_urbâ€™
cxacru.c:1179: error: â€˜USB_QUEUE_BULKâ€™ undeclared (first use in this
function)
cxacru.c:1181: error: too few arguments to function â€˜usb_submit_urbâ€™
cxacru.c: In function â€˜udsl_usb_dispatch_info_threadâ€™:
cxacru.c:1453: error: too few arguments to function â€˜daemonizeâ€™
cxacru.c: In function â€˜udsl_usb_monitorize_threadâ€™:
cxacru.c:1506: error: too few arguments to function â€˜daemonizeâ€™
cxacru.c: In function â€˜udsl_usb_probeâ€™:
cxacru.c:1697: error: â€˜MOD_INC_USE_COUNTâ€™ undeclared (first use in this
function)
cxacru.c:1705: error: â€˜MOD_DEC_USE_COUNTâ€™ undeclared (first use in this
function)
cxacru.c:1784: warning: pointer targets in passing argument 2 of
â€˜udsl_atm_set_macâ€™ differ in signedness
cxacru.c: In function â€˜udsl_usb_disconnectâ€™:
cxacru.c:1824: error: â€˜MOD_IN_USEâ€™ undeclared (first use in this
function)
cxacru.c:1832: error: â€˜MOD_DEC_USE_COUNTâ€™ undeclared (first use in this
function)
cxacru.c: At top level:
cxacru.c:1877: error: conflicting types for â€˜cleanup_moduleâ€™
/lib/modules/2.6.12-9-386/build/include/linux/module.h:64: error: previous
declaration of â€˜cleanup_moduleâ€™ was here
cxacru.c: In function â€˜remove_control_cellsâ€™:
cxacru.c:2058: error: too few arguments to function â€˜usb_alloc_urbâ€™
cxacru.c:2074: error: â€˜USB_QUEUE_BULKâ€™ undeclared (first use in this
function)
cxacru.c:2079: error: too few arguments to function â€˜usb_submit_urbâ€™
make[1]: *** [cxacrunormal.o] Error 1
make[1]: Leaving directory `/usr/src/cxacru/module'
make: *** [CX_MODULE] Error 2
root@desktop:/usr/src/cxacru#
root@desktop:/usr/src/cxacru#
----------------------------------
BBBBUUUUUAAAAHHH :'(
cos'ho fatto di male???
grazie dell'aiuto
--
-- 
___/\/o\/\/here/\/\an___
"Vagisil migliora 
la tua vita intima"
http://www.vagisil.com/teencenter.shtml

 Ecco l'output di cxstart.sh
Dimenticavo, ora sto usando Ubuntu 5.10 Breezy Badger
