[Click] Kernel Compiling on 2.4/2.6.Which GCC?

Michael Neufeld neufeldm at cs.colorado.edu
Thu May 26 12:24:21 EDT 2005


Just yesterday I got kernel mode Click (fresh copy from the anonymous 
CVS) up and running on a Suse 9.1 machine running a vanilla+click patch 
kernel 2.6.11.6, gcc 3.3.3. The only hitch I had was that the 
"no-common" option didn't seem to work on static private member 
variables. This only comes up a couple of places in Click (and those 
places are indicated by warnings when linking click.ko), but it does 
mean that you can't install the produced module into the kernel. I 
temporarily hacked around it by transforming the variables in question 
into globals. Not a pretty solution, but it did let me get things up and 
running. I'm definitely curious to hear if anyone else has seen this 
problem -- I poked around a little with google but didn't find any 
particular mention of it or a workaround.

-Mike

********************************************
Michael J. Neufeld
Professional Research Assistant
Dept. of Computer Science
University of Colorado at Boulder
Michael.Neufeld at colorado.edu
http://systems.cs.colorado.edu/~neufeldm
********************************************

Sacchi Alessio wrote:
> Hi,
> 
> I'm currently fighting with the kernel installation.
> 
> The click server I'm asked to setup is a SuSe bi-processor 1GB RAM running 2.6
> kernel with GCC 3 compiler.
> 
> I've been trying (during the past couple of weeks) all the click patches with
> their related 2.4 vanilla kernel, but the make bzImage gives many errors,
> evenif I disable *any* kernel option with menuconfig.
> 
> Yesterday I surfed the CVS repository and found a patch for a 2.6.?? kernel, but
> today the CVS seems to be down, so I have not been able to try that.
> 
> I instead had the opportunity to compile (and patch) that on a Debian running a
> 2.4 kernel and GCC 2.95. It worked at the first try.
> 
> Anyone has eperience with SuSe and/or 2.6 kernel series?
> 
> Would you suggest to apply the 2.6 patch to a related 2.6 vanilla or getting
> directly to a GCC 2.95 on Debian?
> 
> I'm asking this because reading through the archives and documents it looks like
> most users have been working with Debian, but what about other disro's?
> 
> Is compiler version so relevant considering the patch system?
> 
> Thanks,
> 
> Alessio Sacchi.
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 

-- 


More information about the click mailing list