Mine compiles just fine. I'm using Etch though with a 2.6.15 kernel and
everything else that goes with it.

Googling around for 'class_device_attr_dev' vaguely suggests that it's a
symbol that might have changed somewhere after 2.6.8.

Does vISDN state a kernel version? 2.6.8 is getting pretty old.

James

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:visdn-hackers-
> [EMAIL PROTECTED] On Behalf Of Elwin Andriol
> Sent: Wednesday, 22 March 2006 22:02
> To: [email protected]
> Subject: [Visdn-hackers] patch-598 compile errors
> 
> Hello all,
> 
> I've been experimenting with vISDN for some while and up to now never
> had major problems compiling and installing.
> The last successfull install I made was patch-589. Yesterday I tried
to
> update my system with patch-598, but I couldn't get it to compile
> successfully. My testing system has not been changes in any way, so I
> believe it must be something with vISDN itself.
> 
> I'm using a default Debian 3.1 Sarge box. It runs a default 2.6.8-i386
> kernel. No kernel sources installed, only kernel-headers.
> ./bootstrap and ./configure run successfully.
> 
> make gives me the following error output:
> 
> make  all-recursive
> make[1]: Entering directory `/usr/src/isdn--devel--0.1--patch-598'
> Making all in modules
> make[2]: Entering directory
`/usr/src/isdn--devel--0.1--patch-598/modules'
> for I in core ec hfc-4s hfc-pci hfc-usb hfc-e1 kfifo lapd netdev ppp
> softcxc streamport timer-system vgsm ; do \
>         ( cd $I && make Makefile ); \
> done
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/core'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/core'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/ec'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory `/usr/src/isdn--devel--0.1--patch-
> 598/modules/ec'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/hfc-4s'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/hfc-4s'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/hfc-pci'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/hfc-pci'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/hfc-usb'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/hfc-usb'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/hfc-e1'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/hfc-e1'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/kfifo'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/kfifo'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/lapd'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/lapd'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/netdev'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/netdev'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/ppp'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/ppp'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/softcxc'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/softcxc'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/streamport'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/streamport'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/timer-system'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/timer-system'
> make[3]: Entering directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/vgsm'
> make[3]: `Makefile' is up to date.
> make[3]: Leaving directory
> `/usr/src/isdn--devel--0.1--patch-598/modules/vgsm'
> make -C /lib/modules/2.6.8-2-386/build modules
> M=/usr/src/isdn--devel--0.1--patch-598/modules
> make[3]: Entering directory `/usr/src/kernel-headers-2.6.8-2-386'
>   CC [M]
/usr/src/isdn--devel--0.1--patch-598/modules/core/core_main.o
>   CC [M]  /usr/src/isdn--devel--0.1--patch-598/modules/core/port.o
>   CC [M]  /usr/src/isdn--devel--0.1--patch-598/modules/core/chan.o
>   CC [M]  /usr/src/isdn--devel--0.1--patch-598/modules/core/leg.o
>   CC [M]  /usr/src/isdn--devel--0.1--patch-598/modules/core/timer.o
>   CC [M]  /usr/src/isdn--devel--0.1--patch-598/modules/core/cxc.o
> /usr/src/isdn--devel--0.1--patch-598/modules/core/cxc.c:653: warning:
> `class_device_attr_dev' defined but not used
>   CC [M]  /usr/src/isdn--devel--0.1--patch-598/modules/core/path.o
> /usr/src/isdn--devel--0.1--patch-598/modules/core/path.c: In function
> `visdn_path_modinit':
> /usr/src/isdn--devel--0.1--patch-598/modules/core/path.c:856: error:
> `class_device_attr_dev' undeclared (first use in this function)
> /usr/src/isdn--devel--0.1--patch-598/modules/core/path.c:856: error:
> (Each undeclared identifier is reported only once
> /usr/src/isdn--devel--0.1--patch-598/modules/core/path.c:856: error:
for
> each function it appears in.)
> /usr/src/isdn--devel--0.1--patch-598/modules/core/path.c: In function
> `visdn_path_modexit':
> /usr/src/isdn--devel--0.1--patch-598/modules/core/path.c:882: error:
> `class_device_attr_dev' undeclared (first use in this function)
> make[5]: ***
[/usr/src/isdn--devel--0.1--patch-598/modules/core/path.o]
> Error 1
> make[4]: *** [/usr/src/isdn--devel--0.1--patch-598/modules/core] Error
2
> make[3]: *** [_module_/usr/src/isdn--devel--0.1--patch-598/modules]
Error
> 2
> make[3]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-386'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
`/usr/src/isdn--devel--0.1--patch-598/modules'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/isdn--devel--0.1--patch-598'
> make: *** [all] Error 2
> 
> 
> Is there anyone experiencing the same problem?
> Anyone knows if this is a vISDN coding error, or some external
> dependency problem?
> 
> Any help is very much appreciated.
> I like to keep up to date with the development in vISDN.
> Not to start a flame war, but the day I can fully replace Junghanns'
> Bristuff with vISDN will be the day I'm having a big party.
> 
> --
>
-----------------------------------------------------------------------
> HeuvelTop ICT Diensten v.o.f.
> Elwin Andriol              tel: +31 65 08 138 91
> Utrecht, Nederland         fax: +31 30 602 22 71
>
-----------------------------------------------------------------------
> 
> "There are management solutions to technical problems,
> but no technical solutions to management problems"
> 
>
-----------------------------------------------------------------------
> 
> _______________________________________________
> Visdn-hackers mailing list
> [email protected]
> https://mailman.uli.it/mailman/listinfo/visdn-hackers

_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to