"make all" in "router" appears to complete successfully with a stripped down config_mini but "make install" in "router" results in...
Code:
[ ! -d lib.mips ] || make -C lib.mips install INSTALLDIR=/a2/src/DD-WRT/src/router/mipsel-uclibc/install/lib.mips
find: `/a2/src/DD-WRT/src/router/mipsel-uclibc/target': No such file or directory
make[1]: Entering directory `/a2/src/DD-WRT/src/router/lib.mips'
make[1]: *** No rule to make target `mipsel/libc.a', needed by `uClibc.map'. Stop.
make[1]: Leaving directory `/a2/src/DD-WRT/src/router/lib.mips'
make: *** [lib.mips-install] Error 2
No matter what I try, I can't get past the missing target directory. The packages all seem to make correctly, including a 2.6.34 kernel, I just can't figure out how to get them to install to the target directory.
Anyone have any ideas? I saw this problem reported on the first page of this thread but no resolution.
Has anyone got a recent checkout from subversion working?
"make all" in "router" appears to complete successfully with a stripped down config_mini but "make install" in "router" results in...
Code:
[ ! -d lib.mips ] || make -C lib.mips install INSTALLDIR=/a2/src/DD-WRT/src/router/mipsel-uclibc/install/lib.mips
find: `/a2/src/DD-WRT/src/router/mipsel-uclibc/target': No such file or directory
make[1]: Entering directory `/a2/src/DD-WRT/src/router/lib.mips'
make[1]: *** No rule to make target `mipsel/libc.a', needed by `uClibc.map'. Stop.
make[1]: Leaving directory `/a2/src/DD-WRT/src/router/lib.mips'
make: *** [lib.mips-install] Error 2
No matter what I try, I can't get past the missing target directory. The packages all seem to make correctly, including a 2.6.34 kernel, I just can't figure out how to get them to install to the target directory.
Anyone have any ideas? I saw this problem reported on the first page of this thread but no resolution.
Has anyone got a recent checkout from subversion working?
I knew I'd figure it out as soon as I posted. Apparently there's some confusion in router/Makefile concerning ARCH. The kernel compile needs it set to "mips" but the rest of the makefile needs it set to "mipsel". Sigh.
Posted: Sun May 15, 2011 1:00 Post subject: Re: Installing required tools to compile and retreiving svn
rkozola wrote:
I use the following script to install the required programs needed to compile as well as grab the source from svn. Again this is focusing on the src/linux/brmc/linux/v24_2 kernel.
After the system has rebooted, login using the dd-wrt user and the password set during setup. Save the following as get_src_svn.sh and chmod to add permissions to execute. This script will install all requirements and get source from svn.
wget http://www.dd-wrt.com/dd-wrtv2/downloads/others/sourcecode/toolchains/toolchains.x86.debian.sp1.tar.bz2
tar -jxf toolchains.x86.debian.sp1.tar.bz2
cd DD-WRT/
svn co -N svn://svn.dd-wrt.com/DD-WRT .
svn co svn://svn.dd-wrt.com/DD-WRT/tools
svn co svn://svn.dd-wrt.com/DD-WRT/opt
cd src/
svn co -N svn://svn.dd-wrt.com/DD-WRT/src
svn co svn://svn.dd-wrt.com/DD-WRT/src/include.bcm
svn co svn://svn.dd-wrt.com/DD-WRT/src/include.v23
svn co svn://svn.dd-wrt.com/DD-WRT/src/include.v24
svn co svn://svn.dd-wrt.com/DD-WRT/src/led
svn co svn://svn.dd-wrt.com/DD-WRT/src/ses
svn co svn://svn.dd-wrt.com/DD-WRT/src/shared
svn co svn://svn.dd-wrt.com/DD-WRT/src/router
svn co svn://svn.dd-wrt.com/DD-WRT/src/squashfs-tools
svn co svn://svn.dd-wrt.com/DD-WRT/src/switch
svn co svn://svn.dd-wrt.com/DD-WRT/src/tools
svn co svn://svn.dd-wrt.com/DD-WRT/src/wl
cd linux/brcm
svn co svn://svn.dd-wrt.com/DD-WRT/src/linux/brcm/linux.v24_2
ln -s /home/dd-wrt/DD-WRT/src/linux/brcm/linux.v24_2 /home/dd-wrt/DD-WRT/src/linux/linux
I know this post is 3 years and 1 month old, SO I wanted to ask 2 questions to the material in the quote above
2:something is failing in the SUDO installation because I got a error saying my user name rt is not in the sudoers file, of course being a vi reject i failed to change the contents of sudoers in the /etc folder because it is write protected.
I would appreciate any quick and DIRTY ways to do this, as this is a virtual machine inside a windows 7 box behind a firewall so going it all the way as ROOt is ok with me
BORED CUBAN thanks you all _________________ _________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
this works will keep stabing at it _________________ _________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
note that current-toolchains.tar.bz2 only contains toolchains that work with x64 version of linux. If you are going to be building in a virtual machine, it will require that use of the x64 version of Windows 7. Also the virtual machine will need to be able to host x64 versions of guest operating systems, and Windows Virtual PC does not support x64 os's.
I switched to 7 x64 using Virtual Box to build some time ago. The instructions posted still work under this environment.
I do have the old toolchains.x86.debian.sp1.tar.bz2, just do not have anyway to host it as it is 70mb. I would still recommend moving up a x64 setup though, as any changes to the toolchain will probably not make it to a x86 version.
note that current-toolchains.tar.bz2 only contains toolchains that work with x64 version of linux. If you are going to be building in a virtual machine, it will require that use of the x64 version of Windows 7. Also the virtual machine will need to be able to host x64 versions of guest operating systems, and Windows Virtual PC does not support x64 os's.
I switched to 7 x64 using Virtual Box to build some time ago. The instructions posted still work under this environment.
I do have the old toolchains.x86.debian.sp1.tar.bz2, just do not have anyway to host it as it is 70mb. I would still recommend moving up a x64 setup though, as any changes to the toolchain will probably not make it to a x86 version.
thank you for replying back so fast, it just so happens I'm using it in a win 7 professional 64 bit, I downloaded the latest VM from microsoft.
I'm re-installing the virtual machine as I screwed it up, but now that I know where's it's kept and that I can backup the whole thing to a different folder(with VM shutdown) I will do it.
I have played with linux since the early days late 80's and have never really mastered it ( oh well) and now my memory is just like a old nvram chip.
I had to to the installation of sudo from root and finally figured how to change the sudo settings file and add my user name rt into it instead of dd-wrt as the user name.
I will try to keep posting so that maybe others can use some of my learnings to their help
thanks and more posts to come _________________ _________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
note that current-toolchains.tar.bz2 only contains toolchains that work with x64 version of linux. If you are going to be building in a virtual machine, it will require that use of the x64 version of Windows 7. Also the virtual machine will need to be able to host x64 versions of guest operating systems, and Windows Virtual PC does not support x64 os's.
I switched to 7 x64 using Virtual Box to build some time ago. The instructions posted still work under this environment.
I do have the old toolchains.x86.debian.sp1.tar.bz2, just do not have anyway to host it as it is 70mb. I would still recommend moving up a x64 setup though, as any changes to the toolchain will probably not make it to a x86 version.
I think I misunderstood you, win7 64 bit version won't run a 64 bit os in a virtual box? (I installed the x86 dist which is a 32 bit )
I can always make a separate partition and go with a pure Debian amd64 distribution
let me know so I don't waste dd-wrt's bandwidth downloading stuff, as I have no idea how to transfer what is in the virtual machine to a native partition
thank for any input from those that KNOW about this _________________ _________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________
this will save a lot of wasted bandwidth for this web site _________________ _________________
It's raining but it's time to go ride Othar! you only live once if you do it right
http://antwrp.gsfc.nasa.gov/apod/archivepix.html
_________________