Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

compiler error after adding hello in user

Altera_Forum
Honored Contributor II
1,020 Views

hi hippo, 

 

I have a new problem. Now uClinux is working well on my board (CYCLONE_1C12_EVAL). 

 

And when I adding hello.o into /romfs and burn the system into my board, It is also working well. 

 

However, when I add user applications into the /user, the compiling of kernel failed. The information is as follows: 

# nios2-linux-uclibc-strip --remove-section=.note --remove-section=.comment busybox 

/bin/sh /home/yongping/uClinux-dist/user/busybox/applets/busybox.mkll include/config.h /home/yongping/uClinux-dist/user/busybox/include/applets.h >busybox.links 

mkdir -p docs 

( cat /home/yongping/uClinux-dist/user/busybox/docs/busybox_header.pod;  

/home/yongping/uClinux-dist/user/busybox/docs/autodocifier.pl /home/yongping/uClinux-dist/user/busybox/include/usage.h;  

cat /home/yongping/uClinux-dist/user/busybox/docs/busybox_footer.pod ) > docs/busybox.pod 

 

BusyBox Documentation 

 

mkdir -p docs 

pod2text docs/busybox.pod > docs/BusyBox.txt 

mkdir -p docs 

pod2man --center=BusyBox --release="version 1.00"  

docs/busybox.pod > docs/BusyBox.1 

pod2html --noindex docs/busybox.pod >  

docs/busybox.net/BusyBox.html 

mkdir -p docs 

make[4]: Leaving directory `/home/yongping/uClinux-dist/user/busybox' 

make[3]: Leaving directory `/home/yongping/uClinux-dist/user/busybox' 

make[2]: Leaving directory `/home/yongping/uClinux-dist/user' 

make[1]: *** [all] Error 2 

make[1]: Leaving directory `/home/yongping/uClinux-dist/user' 

make: *** [subdirs] Error 1 

 

Could you figure it out for me?  

 

Thank you very much, 

 

Elec
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
313 Views

Sorry to disturb you. 

 

I figure it out myself too. 

 

There requires a TAB space at the specified lines in Makefile. 

 

And now it is ok.
0 Kudos
Reply