This is very strange... in my ewrt-0.3 build directory there
is a file called version.h... NOT a link to 
/opt/brcm/hndtools-mipsel-linux/.... directory.

-rw-r--r--  1 root root 126 Apr  8 00:39
/opt/wrt54g/ewrt-0.3/src/linux/linux/include/linux/version.h

I think I just checked out the whole source from ewrt's cvs
directory, so my question is where you found your version?

I'm a bit afraid that you might create a flash image without
a proper linux-kernel now.

/Christian



On Thu, 2005-06-09 at 22:06, Paul Hilton wrote:
> Thanks for the info,
> I think I do have awk (gawk),
> 
> ~> awk -W version
> GNU Awk 3.1.4
> Copyright (C) 1989, 1991-2003 Free Software Foundation.
> .......
> .......
> 
> Maybe it isn't working as expected in this make tree for some reason.
> 
> I wrote another reply to my own message  saying what fix I did find
> (a link to the version.h in the mipsel-linux tools tree)
> 
> This version.h contains
> 
> #define UTS_RELEASE "2.4.20"
> #define LINUX_VERSION_CODE 132116
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
> 
> which ties up with the info you suggested.
> 
> Paul Hilton
> 
> On Thu, 2005-06-09 at 21:41 +0200, Christian Magnusson wrote:
> > Awk doesn't seem to be installed on your computer.
> > 
> > Change the beginning of fuse/kernel/Makefile and hardcode the kernel
> > version number instead.
> > -------------
> > VERSION = 2
> > PATCHLEVEL = 4
> > SUBLEVEL = 20
> > VERSION_CODE = 132116
> > 
> > #VERSION := $(shell.....
> > #PATCHLEVEL := $(shell.....
> > #SUBLEVEL := $(shell.....
> > #VERSION_CODE := $(shell.....
> > -----------------
> > 
> > This should work for you...
> > 
> > 
> > Does anyone else have an idea how to extract the kernel-version to the
> > Makefile just to make it work for both 2.4 and 2.6 kernels?
> > 
> > /Christian
> > 
> > 
> > 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.  
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to