I get stuck here:
Applying /usr/src/openwrt/buildroot/sources/uClibc-sigaction.patch using plaintext:
patching file libc/sysdeps/linux/mips/Makefile
Hunk #1 FAILED at 28.
1 out of 1 hunk FAILED -- saving rejects to file libc/sysdeps/linux/mips/Makefile.rej
Patch failed! Please fix /usr/src/openwrt/buildroot/sources/uClibc-sigaction.patch!
make: *** [/usr/src/openwrt/buildroot/build_mipsel/uClibc/.unpacked] Error 1
This is after I got this error message:
wget --passive-ftp -P /usr/src/openwrt/buildroot/sources/dl http://www.uclibc.org/downloads/snapshots/uClibc-20040807.tar.bz2
--20:16:47-- http://www.uclibc.org/downloads/snapshots/uClibc-20040807.tar.bz2
=> `/usr/src/openwrt/buildroot/sources/dl/uClibc-20040807.tar.bz2'
Resolving www.uclibc.org... 166.70.99.138, 166.70.154.59
Connecting to www.uclibc.org[166.70.99.138]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
20:16:48 ERROR 404: Not Found.
make: *** [/usr/src/openwrt/buildroot/sources/dl/uClibc-20040807.tar.bz2] Error 1
I edited buildroot/make/uclibc.mk to get it's snapshot like so:
#ifneq ($(strip $(USE_UCLIBC_SNAPSHOT)),)
# Be aware that this changes daily....
#UCLIBC_DIR:=$(BUILD_DIR)/uClibc
#UCLIBC_SOURCE:=uClibc-$(strip $(USE_UCLIBC_SNAPSHOT)).tar.bz2
#UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
#else
#UCLIBC_DIR:=$(BUILD_DIR)/uClibc-0.9.26
#UCLIBC_SOURCE:=uClibc-0.9.26.tar.bz2
#UCLIBC_SITE:=http://www.uclibc.org/downloads
#endif
UCLIBC_DIR:=$(BUILD_DIR)/uClibc
UCLIBC_SOURCE:=uClibc-snapshot.tar.bz2
UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
On the whole I'm finding the make procedure for compiling OpenWRT VERY VERY VERY frustrating at this point. It seems that when I fix one thing, another problem pops up - is there someplace I can look to find out a complete list of which tarballs I should download and where I should save or untar them to? I'm quite sick and tired of having to guess at fixes for compilation errors. I tried using CVS and that doesn't seem to work either.