UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor dddolphin
Visitor
4,802 Views
Registered: ‎03-11-2009

a error occur when i 'make dep'

dddolphin@dddolphin-laptop:~/petalinux/software/uClinux-2.4.x$ make dep
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/microblaze-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/microblaze-auto kernel drivers mmnommu fs net ipc lib crypto"
make[1]: 正在进入目录 `/home/dddolphin/petalinux/software/uClinux-2.4.x'
make -C arch/microblaze/kernel fastdep
make[2]: 正在进入目录 `/home/dddolphin/petalinux/software/uClinux-2.4.x/arch/microblaze/kernel'
/home/dddolphin/petalinux/software/uClinux-2.4.x/scripts/mkdep -D__KERNEL__ -I/home/dddolphin/petalinux/software/uClinux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -O2 -fno-builtin -DNO_MM -DNO_FPU -D__ELF__ -DMAGIC_ROM_PTR  -D__linux__ -I.。/include -mno-xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift -mcpu=v7.10.d   -I/home/dddolphin/petalinux/software/uClinux-2.4.x/arch/microblaze/xilinx_ocp -nostdinc -iwithprefix include -- bug.c crtinit.S entry.S exceptions.c head.S hw_exception_handler.S indirect_pci.c init_microblaze_timer.c intv.S irq.c mach.c mach.h microblaze.c microblaze_defs.c microblaze_intc.c microblaze_ksyms.c microblaze_pci.c microblaze_timer.c pci_auto.c pci.c pci-dma.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[2]: *** [fastdep] 错误 1
make[2]:正在离开目录 `/home/dddolphin/petalinux/software/uClinux-2.4.x/arch/microblaze/kernel'
make[1]: *** [_sfdep_arch/microblaze/kernel] 错误 2
make[1]:正在离开目录 `/home/dddolphin/petalinux/software/uClinux-2.4.x'
make: *** [dep-files] 错误 2

 

 

here is the message!

platform:spartan-3e

uclinux:2.4.x(include in petalinux)

 

thanks for help~~~~

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
4,795 Views
Registered: ‎09-10-2008

Re: a error occur when i 'make dep'

You may have better luck with the problem going to a petalogix mailing list as that looks like a really old kernel (2.4) and I don't do any work with Petalogix.

 

Sorry.

 

-- John

0 Kudos
Visitor dddolphin
Visitor
4,782 Views
Registered: ‎03-11-2009

Re: a error occur when i 'make dep'

thanks john!!

i use the petalinux-dist,when i 'make all',there is another error:

 

make[2]: 正在进入目录 `/home/dddolphin/petalinux/software/petalinux-dist/vendors/Xilinx/Spartan3E500-RevC'
cc -o mkcramfs -I/home/dddolphin/petalinux/software/petalinux-dist/linux-2.4.x/include /home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c -lz
In file included from /home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c:36:
/home/dddolphin/petalinux/software/petalinux-dist/linux-2.4.x/include/linux/cramfs_fs.h:120:2: warning: #warning "__BYTE_ORDER == __LITTLE_ENDIAN"
/home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c:38:18: error: zlib.h: 没有该文件或目录
/home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c: 在函数‘cramsort’中:
/home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c:157: 警告: 赋值丢弃了指针目标类型的限定
/home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c:158: 警告: 赋值丢弃了指针目标类型的限定
/home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c: 在函数‘write_superblock’中:
/home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c:398: 错误: ‘Z_NULL’未声明(在此函数内第一次使用)
/home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c:398: 错误: (即使在一个函数内多次出现,每个未声明的标识符在其
/home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c:398: 错误: 所在的函数内也只报告一次。)
/home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c: 在函数‘main’中:
/home/dddolphin/petalinux/software/petalinux-dist/user/cramfs/mkcramfs.c:670: 错误: ‘Z_NULL’未声明(在此函数内第一次使用)
make[2]: *** [mkcramfs] 错误 1
make[2]:正在离开目录 `/home/dddolphin/petalinux/software/petalinux-dist/vendors/Xilinx/Spartan3E500-RevC'
make[1]: *** [image] 错误 2
make[1]:正在离开目录 `/home/dddolphin/petalinux/software/petalinux-dist/vendors'
make: *** [image] 错误 2

 

thanks for help~~~

0 Kudos