Re: [arch] linux/config.h: No such file or directory (kernel26 2.6.19)

2006-12-24 Thread brotheris
On Sunday 24 December 2006 21:30, Damir Perisa wrote:

 any input welcome,

Although I use beyond kernel, got the same error while trying to compile 
lirc-beyond. After fidling with it, I've came across the solution. I don't 
know if it's optimal or even good, but:

I've done
# touch /usr/src/linux-2.6.19-beyond/include/linux/config.h

adopt it to your path

brotheris
-- 
Pain:Noise:March:Death
http://doom-metal.ten.lt/
http://neapykanta.visiems.lt/

___
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch


Re: [arch] linux/config.h: No such file or directory (kernel26 2.6.19)

2006-12-24 Thread James
On 12/25/06, Damir Perisa [EMAIL PROTECTED] wrote:
 i use cisco vpn client to connect to the university network from home.
 unfortunately, when trying to build the module with the latest kernel26,
 i get this error:

 make -C /lib/modules/2.6.19-ARCH/build 
 SUBDIRS=/home/damir/software/VPN-unibasel/vpnclient modules
 make[1]: Entering directory `/usr/src/linux-2.6.19-ARCH'
   CC [M]  /home/damir/software/VPN-unibasel/vpnclient/linuxcniapi.o
 /home/damir/software/VPN-unibasel/vpnclient/linuxcniapi.c:12:26: error: 
 linux/config.h: No such file or directory
 make[2]: *** [/home/damir/software/VPN-unibasel/vpnclient/linuxcniapi.o] 
 Error 1
 make[1]: *** [_module_/home/damir/software/VPN-unibasel/vpnclient] Error 2

 any idea what changed, that we do not have the linux/config.h with the
 kernel26 any more? or something changed in the kernel package?

config.h has been removed upstream by the kernel devs. Simply
sed/patch out any references and it should compile with no problems.

James

-- 
iphitus // Arch Developer // kernel26beyond // iphitus.loudas.com

___
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch


Re: [arch] linux/config.h: No such file or directory (kernel26 2.6.19)

2006-12-24 Thread Yonathan Dossow
On Sun, Dec 24, 2006 at 08:30:17PM +0100, Damir Perisa wrote:
 i use cisco vpn client to connect to the university network from home. 
 unfortunately, when trying to build the module with the latest kernel26, 
 i get this error:
 
 make -C /lib/modules/2.6.19-ARCH/build 
 SUBDIRS=/home/damir/software/VPN-unibasel/vpnclient modules
 make[1]: Entering directory `/usr/src/linux-2.6.19-ARCH'
   CC [M]  /home/damir/software/VPN-unibasel/vpnclient/linuxcniapi.o
 /home/damir/software/VPN-unibasel/vpnclient/linuxcniapi.c:12:26: error: 
 linux/config.h: No such file or directory
 make[2]: *** [/home/damir/software/VPN-unibasel/vpnclient/linuxcniapi.o] 
 Error 1
 make[1]: *** [_module_/home/damir/software/VPN-unibasel/vpnclient] Error 2
 
 any idea what changed, that we do not have the linux/config.h with the
 kernel26 any more? or something changed in the kernel package?
 
 any input welcome,

linux/config.h is deprecated from 2.6.19


-- 
Yonathan H. Dossow Acun~a  http://kronin.bla.cl
Estudiante Ingenieria Civil Informatica
Universidad Tecnica Federico Santa Maria  Valparaiso, Chile


pgpMXdJKhi1Gi.pgp
Description: PGP signature
___
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch


Re: [arch] linux/config.h: No such file or directory (kernel26 2.6.19)

2006-12-24 Thread Giovanni Scafora
2006/12/24, Damir Perisa [EMAIL PROTECTED]:
 i use cisco vpn client to connect to the university network from home.
 unfortunately, when trying to build the module with the latest kernel26,
 i get this error:

 make -C /lib/modules/2.6.19-ARCH/build 
 SUBDIRS=/home/damir/software/VPN-unibasel/vpnclient modules
 make[1]: Entering directory `/usr/src/linux-2.6.19-ARCH'
   CC [M]  /home/damir/software/VPN-unibasel/vpnclient/linuxcniapi.o
 /home/damir/software/VPN-unibasel/vpnclient/linuxcniapi.c:12:26: error: 
 linux/config.h: No such file or directory
 make[2]: *** [/home/damir/software/VPN-unibasel/vpnclient/linuxcniapi.o] 
 Error 1
 make[1]: *** [_module_/home/damir/software/VPN-unibasel/vpnclient] Error 2

 any idea what changed, that we do not have the linux/config.h with the
 kernel26 any more? or something changed in the kernel package?

linux/config.h is deprecated from 2.6.19.
Simply sed or patch out any references to linux/config.h with linux/autoconf.h


-- 
Giovanni Scafora
Arch Linux Trusted User  Package Maintainer (voidnull)
http://www.archlinux.org
[EMAIL PROTECTED]

___
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch


Re: [arch] linux/config.h: No such file or directory (kernel26 2.6.19)

2006-12-24 Thread Damir Perisa
Sunday 24 December 2006 21:19, James wrote:
 | config.h has been removed upstream by the kernel devs. Simply
 | sed/patch out any references and it should compile with no
 | problems.

thank you! good to know that!

so i did a substitution:

sed -i 's|#include linux/config.h||g' *.c

unfortunately this leads to the error about CHECKSUM_HW being undeclared.

/home/damir/software/VPN-unibasel/vpnclient/interceptor.c: In function 
'handle_vpnup':
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c:310: warning: 
assignment from incompatible pointer type
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c:334: warning: 
assignment from incompatible pointer type
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c:335: warning: 
assignment from incompatible pointer type
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c: In function 
'do_cleanup':
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c:378: warning: 
assignment from incompatible pointer type
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c: In function 
'recv_ip_packet_handler':
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c:553: error: 
'CHECKSUM_HW' undeclared (first use in this function)
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c:553: error: (Each 
undeclared identifier is reported only once
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c:553: error: for each 
function it appears in.)
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c:557: error: too many 
arguments to function 'skb_checksum_help'
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c: In function 
'do_cni_send':
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c:680: error: 
'CHECKSUM_HW' undeclared (first use in this function)
/home/damir/software/VPN-unibasel/vpnclient/interceptor.c:683: error: too many 
arguments to function 'skb_checksum_help'
make[2]: *** [/home/damir/software/VPN-unibasel/vpnclient/interceptor.o] Error 1
make[1]: *** [_module_/home/damir/software/VPN-unibasel/vpnclient] Error 2

i will check with our guys from the university computing center, if cisco has a 
new version that is 
ready for 2.6.19 :)

thanx again + greetings,
Damir

-- 
The first sign of maturity is the discovery that the volume knob also turns to 
the left.


pgp8ZS5trFH0J.pgp
Description: PGP signature
___
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch


Re: [arch] linux/config.h: No such file or directory (kernel26 2.6.19)

2006-12-24 Thread Damir Perisa
Sunday 24 December 2006 22:37, Giovanni Scafora wrote:
 | linux/config.h is deprecated from 2.6.19.
 | Simply sed or patch out any references to linux/config.h with
 | linux/autoconf.h

i just tried to replace with linux/autoconf.h, but this does not help 
about this CHECKSUM_HW

thanx anyway.

greetings,
damir

-- 
I avoid looking forward or backward, and try to keep going forward.

-- Charlotte Bronte, English author (1816-1855)


pgpFE10gX2JZ2.pgp
Description: PGP signature
___
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch


Re: [arch] linux/config.h: No such file or directory (kernel26 2.6.19)

2006-12-24 Thread Giovanni Scafora
 unfortunately this leads to the error about CHECKSUM_HW being undeclared.

From kernel 2.6.19, the CHECKSUM_HW value has long been used in the
networking subsystem to support hardware checksumming. That value has
been replaced with CHECKSUM_PARTIAL (intended for outgoing packets
where the job must be completed by the hardware) and CHECKSUM_COMPLETE
(for incoming packets which have been completely checksummed by the
hardware).
For more http://lwn.net/Articles/200304/
Simply sed or patch out any references to CHECKSUM_HW with
CHECKSUM_PARTIAL and linux/config.h with linux/autoconf.h


-- 
Giovanni Scafora
Arch Linux Trusted User  Package Maintainer (voidnull)
http://www.archlinux.org
[EMAIL PROTECTED]

___
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch


Re: [arch] linux/config.h: No such file or directory (kernel26 2.6.19)

2006-12-24 Thread Giovanni Scafora
 i just tried to replace with linux/autoconf.h, but this does not help
 about this CHECKSUM_HW

I think this patch help you.
http://www.tuxx-home.at/projects/cisco-vpnclient/vpnclient-linux-2.6.19.diff


-- 
Giovanni Scafora
Arch Linux Trusted User  Package Maintainer (voidnull)
http://www.archlinux.org
[EMAIL PROTECTED]

___
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch


Re: [arch] linux/config.h: No such file or directory (kernel26 2.6.19)

2006-12-24 Thread Damir Perisa
Sunday 24 December 2006 23:30, Giovanni Scafora wrote:
 | I think this patch help you.
 | http://www.tuxx-home.at/projects/cisco-vpnclient/vpnclient-linux-2
 |.6.19.diff

:) ... i have made almost the same patch and emailed it to my 
university computing centre so that they update their tarball.

thanx again!

- D

-- 
One planet is all you get.


pgp0eBjisNBai.pgp
Description: PGP signature
___
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch