[Click] Using 2.6.13.2 kernel... fails at clickfs.o

Martin Bailon mbailon at dsci-usa.com
Tue May 9 18:00:16 EDT 2006


Hello again, 

I tried the 2.6.16.13-patch with a 2.6.16.13 kernel from kernel.org and it
fails again.  I compile click using the following:
 
./configure --enable-test --enable-analysis --enable-all-elements
--with-linux=/usr/src/linux-2.6.16.13/
--with-linux-map=/usr/src/linux-2.6.16.13/System.map

... and I receive the following error: 

  CXX [M] iprw.o
In file included from /usr/src/linux-2.6.16.13//include/net/sock.h:50,
                 from /root/click/linuxmodule/../elements/ip/iprw.cc:36:
/usr/src/linux-2.6.16.13//include/linux/security.h: In function `dentry*
securityfs_create_dir(const char*, dentry*)':
/usr/src/linux-2.6.16.13//include/linux/security.h:2619: error: invalid
conversion from `void*' to `dentry*'
/usr/src/linux-2.6.16.13//include/linux/security.h: In function `dentry*
securityfs_create_file(const char*, mode_t, dentry*, void*,
file_operations*)':
/usr/src/linux-2.6.16.13//include/linux/security.h:2628: error: invalid
conversion from `void*' to `dentry*'
make[3]: *** [/root/click/linuxmodule/iprw.o] Error 1
make[2]: *** [_module_/root/click/linuxmodule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16.13'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/click/linuxmodule'
make: *** [install] Error 1

Has anyone else encountered this? 

Thank you again!

Martin Bailon

-----Original Message-----
From: Eddie Kohler [mailto:kohler at cs.ucla.edu] 
Sent: Monday, May 08, 2006 9:12 PM
To: Martin Bailon
Cc: click at amsterdam.lcs.mit.edu
Subject: Re: [Click] Using 2.6.13.2 kernel... fails at clickfs.o

Hi Martin,

The 2.6.13.2 patch doesn't work so well, but recently we created a  
2.6.16.13 patch that appears to work.  Give that a try, and let us  
know how it goes?

Eddie


On May 4, 2006, at 12:31 PM, Martin Bailon wrote:

> Hello,
>
> I'm trying to compile click as a linux kernel driver using the  
> 2.6.13.2
> kernel from kernel.org.  I patched it as the INSTALL file requires  
> with no
> mention of error.  When I try to compile click using:
>
> ./configure --enable-test --enable-analysis --enable-all-elements
> -with-linux=/usr/src/linux-2.6.13.2/
> --with-linux-map=/usr/src/linux-2.6.13.2/System.map
>
> I get the following error after a couple of minutes:
>
>   CXX [M] clickfs.o
>   {standard input}: Assembler messages:
>   {standard input}:597: Error: junk at end of line, first unrecognized
>   character is `"'
>   {standard input}:598: Error: unknown pseudo-op: `.text.lock.'
>   {standard input}:651: Error: junk at end of line, first unrecognized
>   character is `"'
>   {standard input}:652: Error: unknown pseudo-op: `.text.lock.'
>   make[3]: *** [/root/click/linuxmodule/clickfs.o] Error 1
>   make[2]: *** [_module_/root/click/linuxmodule] Error 2
>   make[2]: Leaving directory `/usr/src/linux-2.6.13.2'
>   make[1]: *** [all] Error 2
>   make[1]: Leaving directory `/root/click/linuxmodule'
>   make: *** [install] Error 1
>
> Has anyone run into this problem? If so, is there a work around?   
> Btw, I
> pulled this version of click off the cvs.
>
> Thanks in advance...
>
> - Martin
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3654 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20060509/f8479956/smime.bin


More information about the click mailing list