Re: Funny error compiling Click 2.0.1 with kernel module on 3.5.0-22-generic
Avinash Sridharan <[email protected]> Fri, 15 Mar 2013 11:37:01 -0700
| Newsgroups | gmane.network.routing.click |
|---|---|
| Message-ID | <CADJyuDhhtfQZAJswbpw235ho=z6+46L29wVZqTgS+8U1uKrcpw@mail.gmail.com> |
Hi David, I don't click compiles cleanly with all versions of linux-3.0 kernel. I have tried compiling with 3.2 kernel and it compiles cleanly, however for 3.4 I was running into compile errors. My guess is that the data structures used by click have changed after 3.2 causing click compilation to fail. I would suggest get a plain vanilla 3.2 kernel (from kernel.org) and try compiling click with that. On Thu, Mar 14, 2013 at 3:37 PM, David M Iserovich <[email protected]> wrote: > Hi, I'm new to Click and I'm having a lot of fun with it in user-land, but > I get a funny error compiling with the linux module on > > Linux 3.5.0-22-generic #34-Ubuntu SMP Tue Jan 8 21:47:00 UTC 2013 x86_64 > x86_64 x86_64 GNU/Linux > > Which is Ubuntu 12.10. My compilation command, after copying out the > System.map file to the current directory, and putting the current Debian > config from /boot/config-`uname -r`. My exact compilation command is > > ./configure --with-linux=/usr/src/linux-headers-`uname -r` > --with-linux-map=./System.map-`uname -r` --enable-linuxmodule > > The error is, from the configure output > > configure: making C++-safe versions of Linux kernel headers (may take a > while) > Usage: fixincludes.pl -o OUTPUTDIR CFLAGS > configure: error: > ============================================== > > fixincludes.pl execution failed. > > ============================================== > > > which seems like fixinclude.pl is getting badly formatted args for some > reason, since it outputs that "Usage:" message. > > Can anyone help? > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click >