[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ISDN driver



OK
like cigan pointed out, I was trying to compile the HiSax driver for
2.1.xx kernels instead the one for 2.0.xx
so I removed the kernel source patched by the 2.1.xx driver and 
brought in the old kernel source from backup.
I downloaded the 2.0.xx driver, ran the patch and installed the 
driver. I selected my card in the make menuconfig, again ran make dep 
and make clean and make modules (kernel stays same). 
please take a look at the attached dump file.

Id be very thankful for any help...

-- 

                Regards
                Miki Shapiro <Aris>
                Dial Up Customers Support

       "I dont suffer from insanity... I enjoy every bloody moment."
 
                                                - Unknown source
 
 ------------------------------------------------------
 E-Mail     aris@netvision.net.il       Tel: 04-8560600
 Home Page: www.netvision.net.il        Fax: 04-8560572
 ICQ:       4122707                          04-8550345
                                       Cell: 051-500983

 TeleSales:         04-8560560       sales@netvision.net.il
 WAN Support:       04-8560550       wan@netvision.net.il
 Dial-up Support:   04-8560570       support@netvision.net.il
 Administration:    04-8560660       admin@netvision.net.il
 
                       NETVISION LTD.
      THE NO.1 ISRAELI INTERNET & SERVICES PROVIDER.   
         * ----------- HAIFA - ISRAEL -------- *
make[1]: Entering directory `/usr/src/linux/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux/kernel'
make[1]: Entering directory `/usr/src/linux/drivers'
set -e; for i in block char net  isdn; do make -C $i modules; done
make[2]: Entering directory `/usr/src/linux/drivers/block'
rm -f $TOPDIR/modules/BLOCK_MODULES
make[2]: Leaving directory `/usr/src/linux/drivers/block'
make[2]: Entering directory `/usr/src/linux/drivers/char'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o lp.o lp.c
echo drivers/char/
drivers/char/
cd $TOPDIR/modules; for i in   lp.o; do \
    ln -sf ../drivers/char//$i .; done
make[2]: Leaving directory `/usr/src/linux/drivers/char'
make[2]: Entering directory `/usr/src/linux/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o ppp.o ppp.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o slhc.o slhc.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o new_tunnel.o new_tunnel.c
new_tunnel.c: In function `tunnel_xmit':
new_tunnel.c:270: warning: assignment from incompatible pointer type
gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c ne.c
ne.c:121: warning: `ne_probe_pci' declared `static' but never defined
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o bsd_comp.o bsd_comp.c
gcc -D__KERNEL__ -I/usr/src/linux/include  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -c dummy.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o 8390.o 8390.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o eql.o eql.c
eql.c: In function `eql_slave_xmit':
eql.c:378: warning: unused variable `skb2'
rm -f $TOPDIR/modules/NET_MODULES
echo ppp.o slhc.o  new_tunnel.o ne.o bsd_comp.o dummy.o 8390.o eql.o >> $TOPDIR/modules/NET_MODULES
echo drivers/net/
drivers/net/
cd $TOPDIR/modules; for i in ppp.o slhc.o  new_tunnel.o ne.o bsd_comp.o dummy.o 8390.o eql.o; do \
    ln -sf ../drivers/net//$i .; done
make[2]: Leaving directory `/usr/src/linux/drivers/net'
make[2]: Entering directory `/usr/src/linux/drivers/isdn'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o isdn_syms.o isdn_syms.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o isdn_common.o isdn_common.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o isdn_net.o isdn_net.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o isdn_tty.o isdn_tty.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o abccompress.o abccompress.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o abcrout_net.o abcrout_net.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o isdn_ppp.o isdn_ppp.c
rm -f isdn.o
ld -m elf_i386  -r -o isdn.o  isdn_syms.o  isdn_common.o isdn_net.o isdn_tty.o abccompress.o abcrout_net.o isdn_ppp.o
set -e; for i in  hisax; do make -C $i modules; done
make[3]: Entering directory `/usr/src/linux/drivers/isdn/hisax'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE  -c -o config.o config.c
config.c:242: `ISDN_CTYPE_TELES3C' undeclared here (not in a function)
config.c:242: initializer element for `cards[0].typ' is not constant
config.c:242: warning: excess elements in array initializer after `cards[0].para'
config.c:243: warning: excess elements in array initializer after `cards[1].para'
config.c:244: warning: excess elements in array initializer after `cards[2].para'
config.c:245: warning: excess elements in array initializer after `cards[3].para'
config.c:246: warning: excess elements in array initializer after `cards[4].para'
config.c:247: warning: excess elements in array initializer after `cards[5].para'
config.c:248: warning: excess elements in array initializer after `cards[6].para'
config.c:249: warning: excess elements in array initializer after `cards[7].para'
config.c:250: warning: excess elements in array initializer after `cards[8].para'
config.c:251: warning: excess elements in array initializer after `cards[9].para'
config.c:252: warning: excess elements in array initializer after `cards[10].para'
config.c:253: warning: excess elements in array initializer after `cards[11].para'
config.c:254: warning: excess elements in array initializer after `cards[12].para'
config.c:255: warning: excess elements in array initializer after `cards[13].para'
config.c:256: warning: excess elements in array initializer after `cards[14].para'
config.c:257: warning: excess elements in array initializer after `cards[15].para'
config.c:260: parse error before `HISAX_INITDATA'
config.c:260: warning: initialization makes integer from pointer without a cast
config.c:260: warning: data definition has no type or storage class
config.c:264: parse error before `HISAX_INITDATA'
config.c:264: redefinition of `HISAX_INITDATA'
config.c:260: `HISAX_INITDATA' previously defined here
config.c:264: `HiSaxID' undeclared here (not in a function)
config.c:264: warning: data definition has no type or storage class
config.c:267: parse error before `HISAX_INITDATA'
config.c:267: redefinition of `HISAX_INITDATA'
config.c:264: `HISAX_INITDATA' previously defined here
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:268: warning: data definition has no type or storage class
config.c:269: parse error before `HISAX_INITDATA'
config.c:269: redefinition of `HISAX_INITDATA'
config.c:267: `HISAX_INITDATA' previously defined here
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:270: warning: data definition has no type or storage class
config.c:271: parse error before `HISAX_INITDATA'
config.c:271: redefinition of `HISAX_INITDATA'
config.c:269: `HISAX_INITDATA' previously defined here
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:272: warning: data definition has no type or storage class
config.c:287: parse error before `HISAX_INITDATA'
config.c:287: redefinition of `HISAX_INITDATA'
config.c:271: `HISAX_INITDATA' previously defined here
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:288: warning: data definition has no type or storage class
config.c:289: parse error before `HISAX_INITDATA'
config.c:289: redefinition of `HISAX_INITDATA'
config.c:287: `HISAX_INITDATA' previously defined here
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: excess elements in scalar initializer after `HISAX_INITDATA'
config.c:290: warning: data definition has no type or storage class
config.c:291: parse error before `HISAX_INITDATA'
config.c:291: redefinition of `HISAX_INITDATA'
config.c:289: `HISAX_INITDATA' previously defined here
config.c:291: `HiSaxID' undeclared here (not in a function)
config.c:291: warning: data definition has no type or storage class
config.c:319: warning: return-type defaults to `int'
config.c: In function `HISAX_INITFUNC':
config.c:323: `revision' undeclared (first use this function)
config.c:323: (Each undeclared identifier is reported only once
config.c:323: for each function it appears in.)
config.c:329: warning: return makes integer from pointer without a cast
config.c: At top level:
config.c:334: warning: return-type defaults to `int'
config.c:334: conflicting types for `HISAX_INITFUNC'
config.c:319: previous declaration of `HISAX_INITFUNC'
config.c: In function `HISAX_INITFUNC':
config.c:352: warning: control reaches end of non-void function
config.c: At top level:
config.c:417: warning: return-type defaults to `int'
config.c: In function `__initfunc':
config.c:437: warning: implicit declaration of function `HiSaxVersion'
config.c:440: `id' undeclared (first use this function)
config.c:441: `HiSax_id' undeclared (first use this function)
config.c:443: `type' undeclared (first use this function)
config.c:444: `protocol' undeclared (first use this function)
config.c:450: `irq' undeclared (first use this function)
config.c:451: `mem' undeclared (first use this function)
config.c:452: `io' undeclared (first use this function)
config.c:480: `ISDN_CTYPE_ELSA_PNP' undeclared (first use this function)
config.c:481: `ISDN_CTYPE_ELSA_PCMCIA' undeclared (first use this function)
config.c:483: `ISDN_CTYPE_DIEHLDIVA' undeclared (first use this function)
config.c:484: `ISDN_CTYPE_ASUSCOM' undeclared (first use this function)
config.c:485: `ISDN_CTYPE_TELEINT' undeclared (first use this function)
config.c:486: `ISDN_CTYPE_SEDLBAUER' undeclared (first use this function)
config.c:487: `ISDN_CTYPE_SEDLBAUER_PCMCIA' undeclared (first use this function)
config.c:488: `ISDN_CTYPE_SPORTSTER' undeclared (first use this function)
config.c:489: `ISDN_CTYPE_MIC' undeclared (first use this function)
config.c:490: `ISDN_CTYPE_TELES3C' undeclared (first use this function)
config.c:494: `ISDN_CTYPE_ELSA_PCI' undeclared (first use this function)
config.c:495: `ISDN_CTYPE_NETJET' undeclared (first use this function)
config.c:506: `HiSaxID' undeclared (first use this function)
config.c:517: warning: implicit declaration of function `TeiNew'
config.c:518: warning: implicit declaration of function `Isdnl1New'
config.c:519: too many arguments to function `HiSax_inithardware'
config.c:533: warning: implicit declaration of function `Isdnl1Free'
config.c:534: warning: implicit declaration of function `TeiFree'
{standard input}: Assembler messages:
{standard input}:286: Fatal error: Symbol HISAX_INITFUNC already defined.
make[3]: *** [config.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/isdn/hisax'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/isdn'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [modules] Error 2