<div>I am trying to compile uclibc-0.9.26 with</div>
<div>binutils-2.15, gcc-3.3.3, kernel headers version 2.4.27</div>
<div>&nbsp;</div>
<div>when i run make i get the following error</div>
<div>&nbsp;</div>
<div>[root@shastabuild uClibc-0.9.26]# make CROSS=mips-linux-<br>+ ./extra/scripts/fix_includes.sh -k /mnt/hdb/mips-toolchain/kernel/linux-kernel-2.4 -t mips<br>Current kernel version is 2.4.27-ubnt0</div>
<div><br>Using kernel headers from 2.4.27-ubnt0 for architecture &#39;mips&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; provided in directory /mnt/hdb/mips-toolchain/kernel/linux-kernel-2.4</div>
<div><br>+ TOPDIR=.<br>+ CC=mips-linux-gcc<br>+ /bin/sh extra/scripts/gen_bits_syscall_h.sh<br>+ cmp include/bits/sysnum.h include/bits/sysnum.h.new<br>+ mv -f include/bits/sysnum.h.new include/bits/sysnum.h<br>make -C libc/sysdeps/linux/common headers<br>
make[1]: Entering directory `/mnt/hdb/mips-toolchain/sources/uClibc-0.9.26/libc/sysdeps/linux/common&#39;<br>ln -fs ../libc/sysdeps/linux/common/fpu_control.h ../../../..//include/<br>make[1]: Leaving directory `/mnt/hdb/mips-toolchain/sources/uClibc-0.9.26/libc/sysdeps/linux/common&#39;<br>
make -C libc/sysdeps/linux/mips headers<br>make[1]: Entering directory `/mnt/hdb/mips-toolchain/sources/uClibc-0.9.26/libc/sysdeps/linux/mips&#39;<br>ln -fs ../libc/sysdeps/linux/mips/sgidefs.h ../../../..//include/<br>ln -fs ../libc/sysdeps/linux/mips/fpu_control.h ../../../..//include/<br>
make[1]: Leaving directory `/mnt/hdb/mips-toolchain/sources/uClibc-0.9.26/libc/sysdeps/linux/mips&#39;<br>make -C&nbsp; ldso<br>make[1]: Entering directory `/mnt/hdb/mips-toolchain/sources/uClibc-0.9.26/ldso&#39;<br>ln -fs ../../include/elf.h include/<br>
ln -fs ../ldso/mips/boot1_arch.h include/<br>ln -fs ../ldso/mips/ld_syscalls.h include/<br>ln -fs ../ldso/mips/ld_sysdep.h include/<br>make -C ldso;<br>make[2]: Entering directory `/mnt/hdb/mips-toolchain/sources/uClibc-0.9.26/ldso/ldso&#39;<br>
mips-linux-gcc&nbsp; -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing&nbsp; -Os&nbsp; -mno-split-addresses&nbsp; -mips32 -mtune=mips32 -fPIC -DUCLIBC_RUNTIME_PREFIX=\&quot;/mnt/hdb/mips-toolchain/mips-linux/\&quot; -fno-builtin -nostdinc -I../../ldso/include -I. -I../../include -I/mnt/hdb/mips-toolchain/lib/gcc-lib/mips-linux/3.3.3/include -I../libdl -c ldso.c -o ldso.o<br>
In file included from _dl_progname.h:2,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ldso.c:156:<br>mips/elfinterp.c: In function `_dl_parse_relocation_information&#39;:<br>mips/elfinterp.c:177: warning: unused variable `old_val&#39;<br>ldso.c: In function `_dl_boot2&#39;:<br>
ldso.c:362: error: `PAGE_SIZE&#39; undeclared (first use in this function)<br>ldso.c:362: error: (Each undeclared identifier is reported only once<br>ldso.c:362: error: for each function it appears in.)<br>ldso.c:454:2: warning: #warning &quot;Debugging threads on mips won&#39;t work till someone fixes this...&quot;<br>
../../ldso/include/ld_syscall.h:56: warning: use of memory input without lvalue in asm operand 7 is deprecated<br>In file included from ldso.c:1343:<br>readelflib1.c: In function `_dl_load_elf_shared_library&#39;:<br>readelflib1.c:452: error: `PAGE_SIZE&#39; undeclared (first use in this function)<br>
In file included from ldso.c:1343:<br>../../ldso/include/ld_syscall.h:56: warning: use of memory input without lvalue in asm operand 7 is deprecated<br>../../ldso/include/ld_syscall.h:56: warning: use of memory input without lvalue in asm operand 7 is deprecated<br>
../../ldso/include/ld_syscall.h:56: warning: use of memory input without lvalue in asm operand 7 is deprecated<br>../../ldso/include/ld_syscall.h:56: warning: use of memory input without lvalue in asm operand 7 is deprecated<br>
../../ldso/include/ld_syscall.h:56: warning: use of memory input without lvalue in asm operand 7 is deprecated<br>readelflib1.c: In function `_dl_dprintf&#39;:<br>readelflib1.c:787: error: `PAGE_SIZE&#39; undeclared (first use in this function)<br>
In file included from ldso.c:1343:<br>../../ldso/include/ld_syscall.h:56: warning: use of memory input without lvalue in asm operand 7 is deprecated<br>In file included from ldso.c:1343:<br>readelflib1.c: In function `_dl_malloc&#39;:<br>
readelflib1.c:886: error: `PAGE_SIZE&#39; undeclared (first use in this function)<br>In file included from ldso.c:1343:<br>../../ldso/include/ld_syscall.h:56: warning: use of memory input without lvalue in asm operand 7 is deprecated<br>
../../ldso/include/ld_syscall.h: In function `_dl_mmap&#39;:<br>../../ldso/include/ld_syscall.h:56: warning: use of memory input without lvalue in asm operand 7 is deprecated<br>make[2]: *** [ldso.o] Error 1<br>make[2]: Leaving directory `/mnt/hdb/mips-toolchain/sources/uClibc-0.9.26/ldso/ldso&#39;<br>
make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/mnt/hdb/mips-toolchain/sources/uClibc-0.9.26/ldso&#39;<br>make: *** [_dir_ldso] Error 2<br></div>
<div>can anyone please help me solve this problem?</div>
<div>&nbsp;</div>
<div>regards</div>
<div>abhijit</div>
<div>&nbsp;</div>