Reply by RODWILL August 22, 20072007-08-22
On Aug 14, 4:25 am, backhus <n...@nirgends.xyz> wrote:
> Hi, > > look at:realpath(/include) failed, No such file or directory > Your host system probably has noincludefolder in the root directory. > > Something (maybe aninclude-path variable) is missing in your setup. > Look at your makefiles for something like: > > $THE-MISSING-PATH-WITH-THE-UNKNOWN-VARIABLE-NAME/include > > If the path variable is empty the resuling path is /includewhich is > terribly wrong of course. It should be something like > > /home/devel/uclinux/src/uClinux-2.4.x/include > > and > > this line: make[3]: *** [fastdep] Error 1 > tells you where to look at first. > > Good luck > Eilert > > kobela...@gmail.com schrieb: > > > what's wrong with following word??? > > > [root@localhost uClinux-dist]# make dep > > make ARCH=microblaze CROSS_COMPILE=mb- -C linux-2.4.x dep > > make[1]: Entering directory `/home/devel/uclinux/src/uClinux-2.4.x' > > rm -f .depend .hdepend > > make _sfdep_arch/microblaze/kernel _sfdep_arch/microblaze/mm > > _sfdep_arch/microblaze/lib _sfdep_arch/microblaze/xilinx_ocp > > _sfdep_arch/microblaze/platform/uclinux-auto _sfdep_kernel > > _sfdep_drivers _sfdep_mmnommu _sfdep_fs _sfdep_net _sfdep_ipc > > _sfdep_lib _sfdep_crypto _FASTDEP_ALL_SUB_DIRS="arch/microblaze/kernel > > arch/microblaze/mm arch/microblaze/lib arch/microblaze/xilinx_ocp arch/ > > microblaze/platform/uclinux-auto kernel drivers mmnommu fs net ipc lib > > crypto" > > make[2]: Entering directory `/home/devel/uclinux/src/uClinux-2.4.x' > > make -C arch/microblaze/kernel fastdep > > make[3]: Entering directory `/home/devel/uclinux/src/uClinux-2.4.x/ > > arch/microblaze/kernel' > > /home/devel/uclinux/src/uClinux-2.4.x/scripts/mkdep -D__KERNEL__ -I/ > > home/devel/uclinux/src/uClinux-2.4.x/include -Wall -Wstrict- > > prototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common - > > DPLATFORM=uclinux-auto -O3 -fno-builtin -DNO_MM -DNO_FPU -D__ELF__ - > > DMAGIC_ROM_PTR -DUTS_SYSNAME=\"uClinux\" -D__linux__ -I/include-mxl- > > barrel-shift -mno-xl-soft-div -mno-xl-soft-mul -I/home/devel/uclinux/ > > src/uClinux-2.4.x/arch/microblaze/xilinx_ocp -nostdinc -iwithprefix > >include-- bug.c crtinit.S entry.S exceptions.c head.S highres_timer.c > > hw_exception_handler.S init_microblaze_timer.c intv.S irq.c mach.c > > mach.h mbvanilla.c memcons.c microblaze.c microblaze_defs.c > > microblaze_defs.h microblaze_intc.c microblaze_ksyms.c > > microblaze_timer.c process.c procfs.c ptrace.c semaphore.c setup.c > > signal.c syscalls.c time.c xmbserial.c xmbserial.h > .depend > >realpath(/include) failed, No such file or directory > > make[3]: *** [fastdep] Error 1 > > make[3]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x/arch/ > > microblaze/kernel' > > make[2]: *** [_sfdep_arch/microblaze/kernel] Error 2 > > make[2]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x' > > make[1]: *** [dep-files] Error 2 > > make[1]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x' > > make: *** [dep] Error 2
I'm having the same problem! How did you resolve it?
Reply by backhus August 14, 20072007-08-14
Hi,

look at: realpath(/include) failed, No such file or directory
Your host system probably has no include folder in the root directory.

Something (maybe an include-path variable) is missing in your setup.
Look at your makefiles for something like:

$THE-MISSING-PATH-WITH-THE-UNKNOWN-VARIABLE-NAME/include

If the path variable is empty the resuling path is /include which is 
terribly wrong of course. It should be something like

/home/devel/uclinux/src/uClinux-2.4.x/include

and

this line: make[3]: *** [fastdep] Error 1
tells you where to look at first.

Good luck
   Eilert


kobelai15@gmail.com schrieb:
> what's wrong with following word??? > > [root@localhost uClinux-dist]# make dep > make ARCH=microblaze CROSS_COMPILE=mb- -C linux-2.4.x dep > make[1]: Entering directory `/home/devel/uclinux/src/uClinux-2.4.x' > rm -f .depend .hdepend > make _sfdep_arch/microblaze/kernel _sfdep_arch/microblaze/mm > _sfdep_arch/microblaze/lib _sfdep_arch/microblaze/xilinx_ocp > _sfdep_arch/microblaze/platform/uclinux-auto _sfdep_kernel > _sfdep_drivers _sfdep_mmnommu _sfdep_fs _sfdep_net _sfdep_ipc > _sfdep_lib _sfdep_crypto _FASTDEP_ALL_SUB_DIRS="arch/microblaze/kernel > arch/microblaze/mm arch/microblaze/lib arch/microblaze/xilinx_ocp arch/ > microblaze/platform/uclinux-auto kernel drivers mmnommu fs net ipc lib > crypto" > make[2]: Entering directory `/home/devel/uclinux/src/uClinux-2.4.x' > make -C arch/microblaze/kernel fastdep > make[3]: Entering directory `/home/devel/uclinux/src/uClinux-2.4.x/ > arch/microblaze/kernel' > /home/devel/uclinux/src/uClinux-2.4.x/scripts/mkdep -D__KERNEL__ -I/ > home/devel/uclinux/src/uClinux-2.4.x/include -Wall -Wstrict- > prototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common - > DPLATFORM=uclinux-auto -O3 -fno-builtin -DNO_MM -DNO_FPU -D__ELF__ - > DMAGIC_ROM_PTR -DUTS_SYSNAME=\"uClinux\" -D__linux__ -I/include -mxl- > barrel-shift -mno-xl-soft-div -mno-xl-soft-mul -I/home/devel/uclinux/ > src/uClinux-2.4.x/arch/microblaze/xilinx_ocp -nostdinc -iwithprefix > include -- bug.c crtinit.S entry.S exceptions.c head.S highres_timer.c > hw_exception_handler.S init_microblaze_timer.c intv.S irq.c mach.c > mach.h mbvanilla.c memcons.c microblaze.c microblaze_defs.c > microblaze_defs.h microblaze_intc.c microblaze_ksyms.c > microblaze_timer.c process.c procfs.c ptrace.c semaphore.c setup.c > signal.c syscalls.c time.c xmbserial.c xmbserial.h > .depend > realpath(/include) failed, No such file or directory > make[3]: *** [fastdep] Error 1 > make[3]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x/arch/ > microblaze/kernel' > make[2]: *** [_sfdep_arch/microblaze/kernel] Error 2 > make[2]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x' > make[1]: *** [dep-files] Error 2 > make[1]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x' > make: *** [dep] Error 2 >
Reply by August 13, 20072007-08-13
> [root@localhost uClinux-dist]# make dep
~~~~~ yes, look at it.
Reply by Gerhard Hoffmann August 13, 20072007-08-13
On Sun, 12 Aug 2007 22:55:51 -0700, kobelai15@gmail.com wrote:

>what's wrong with following word??? > >[root@localhost uClinux-dist]# make dep
that you do that as root? Gerhard
Reply by August 13, 20072007-08-13
what's wrong with following word???

[root@localhost uClinux-dist]# make dep
make ARCH=microblaze CROSS_COMPILE=mb- -C linux-2.4.x dep
make[1]: Entering directory `/home/devel/uclinux/src/uClinux-2.4.x'
rm -f .depend .hdepend
make _sfdep_arch/microblaze/kernel _sfdep_arch/microblaze/mm
_sfdep_arch/microblaze/lib _sfdep_arch/microblaze/xilinx_ocp
_sfdep_arch/microblaze/platform/uclinux-auto _sfdep_kernel
_sfdep_drivers _sfdep_mmnommu _sfdep_fs _sfdep_net _sfdep_ipc
_sfdep_lib _sfdep_crypto _FASTDEP_ALL_SUB_DIRS="arch/microblaze/kernel
arch/microblaze/mm arch/microblaze/lib arch/microblaze/xilinx_ocp arch/
microblaze/platform/uclinux-auto kernel drivers mmnommu fs net ipc lib
crypto"
make[2]: Entering directory `/home/devel/uclinux/src/uClinux-2.4.x'
make -C arch/microblaze/kernel fastdep
make[3]: Entering directory `/home/devel/uclinux/src/uClinux-2.4.x/
arch/microblaze/kernel'
/home/devel/uclinux/src/uClinux-2.4.x/scripts/mkdep -D__KERNEL__ -I/
home/devel/uclinux/src/uClinux-2.4.x/include  -Wall -Wstrict-
prototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common -
DPLATFORM=uclinux-auto -O3 -fno-builtin -DNO_MM -DNO_FPU -D__ELF__ -
DMAGIC_ROM_PTR -DUTS_SYSNAME=\"uClinux\" -D__linux__ -I/include -mxl-
barrel-shift -mno-xl-soft-div -mno-xl-soft-mul -I/home/devel/uclinux/
src/uClinux-2.4.x/arch/microblaze/xilinx_ocp -nostdinc -iwithprefix
include -- bug.c crtinit.S entry.S exceptions.c head.S highres_timer.c
hw_exception_handler.S init_microblaze_timer.c intv.S irq.c mach.c
mach.h mbvanilla.c memcons.c microblaze.c microblaze_defs.c
microblaze_defs.h microblaze_intc.c microblaze_ksyms.c
microblaze_timer.c process.c procfs.c ptrace.c semaphore.c setup.c
signal.c syscalls.c time.c xmbserial.c xmbserial.h > .depend
realpath(/include) failed, No such file or directory
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x/arch/
microblaze/kernel'
make[2]: *** [_sfdep_arch/microblaze/kernel] Error 2
make[2]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x'
make[1]: *** [dep-files] Error 2
make[1]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x'
make: *** [dep] Error 2