derekperrin / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

how can I compile correctly? #1439

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
when I compiled the firmware , I got these errors:

cp mksquashfs /opt/rt-n56u/trunk/tools/mksquash_xz-4.0/../bin/mksquashfs_xz-4.0
cp unsquashfs /opt/rt-n56u/trunk/tools/mksquash_xz-4.0/../bin/unsquashfs_xz-4.0
make[2]: Leaving directory `/opt/rt-n56u/trunk/tools/mksquash_xz-4.0'
make[1]: Leaving directory `/opt/rt-n56u/trunk/tools'
make ARCH=mips 
CROSS_COMPILE=/opt/rt-n56u/toolchain-rt3883/toolchain-3.4.x/bin/mipsel-linux-ucl
ibc- -j1 -C linux-3.4.x  || exit 1
make[1]: Entering directory `/opt/rt-n56u/trunk/linux-3.4.x'
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      kernel/bounds.s
In file included from kernel/bounds.c:9:
include/linux/page-flags.h:8:25: error: linux/types.h: No such file or 
directorymake[2]: *** [kernel/bounds.s] Error 1
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/opt/rt-n56u/trunk/linux-3.4.x'
make: *** [linux] Error 1

how can I compile correctly?

Original issue reported on code.google.com by job....@gmail.com on 5 Mar 2015 at 1:38

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I think I find the reason.I download the source from the website by using a 
browser, but the downloaded .zip file don't include the whole file. I will 
going to download it again by using git clone .

Original comment by job....@gmail.com on 5 Mar 2015 at 5:57

GoogleCodeExporter commented 8 years ago
Read the wiki page.

Original comment by d...@soulblader.com on 7 Mar 2015 at 2:34