Friday, September 27, 2013

 

Updating LINX within an Element release

Q: I am on element_3.2.3 and want to upgrade the linx version to linx-2.5.1. I copied the linx tarball to the correct place and updated the LINX build version, but am getting this build error now:

make[5]: Entering directory `/element/3party/linx/linux-ppc_85xx/linx-2.5.1'
make[5]: *** No rule to make target `modules'. Stop.
make[5]: Leaving directory `/element/3party/linx/linux-ppc_85xx/linx-2.5.1'
make[4]: *** [/element/ref_platforms/generic_chassis/kernel/2.6.10_mvlcge401_ppc/linx.ko] Error 2

A: You're missing an important change that goes with this LINX upgrade - the top-level Makefile for 3party/linx needs to be updated also, due to some changes in the LINX distribution. 

Another change (which should be transparent to you if you only build linx via ref_platform) is that there is no Makefile delivered with the linx tarball itself.  If you need access to this Makefile for some reason, in 3party/linx/linx-2.5.1 run the "configure" script to generate it. 

The full steps to build with support for the newer-style LINX is:
 
1) update build/versions.mk VERSION_LINX
2) cp linx-2.5.1.tar.gz, updated Makefile and linx-2.5.1-001.patch into 3party/linx
3) rm –rf 3party/linx/linux_x86-64 (or whatever arch) objects
4) ref_platform, make clean here also
 

Labels: ,


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?

free web hit counter
free invisible web counter