Forum Discussion
Altera_Forum
Honored Contributor
20 years agokernal build error
dear hippo, Thank you help me , now i bulild the kernal in my custom board (EP1C6,SDRAM(8MB),FLASH(8MB),uart *2,jtat uart ) ,when i run menuconfig ,i select the ALTERA JTAG UARTsupport,a...
Altera_Forum
Honored Contributor
20 years agodear hippo, when i process the step according to this command:
------------------------------------------ Then <exit> <exit> <yes> . (see LinuxConfig for kernel config items) # compile kernel and apps make make romfs# rebuild kernel for initramfs make linux image ----------------------------------------- when execute the command : [wangzhiwunpu@localhost uClinux-dist-test]$ make sl -lcrypt -lutil -lc xloader.c:31:29: asm/uCbootstrap.h: No such file or directory xloader.c:61: error: syntax error before "m" xloader.c:61: warning: data definition has no type or storage class xloader.c:67: error: syntax error before "header" xloader.c:67: warning: data definition has no type or storage class xloader.c:98: error: syntax error before "program" xloader.c:99: error: syntax error before "program2" xloader.c:100: error: syntax error before "ramload" xloader.c:101: error: syntax error before "setbenv" xloader.c: In function `_bsc1': xloader.c:108: error: syntax error before '*' token xloader.c:114: error: syntax error before '{' token xloader.c:191: error: parameter `err' is initialized xloader.c:195: error: syntax error before "c" xloader.c:367: error: redefinition of parameter 'i' xloader.c:190: error: previous definition of 'i' was here xloader.c:368: error: parameter `bytes_read' is initialized xloader.c:375: error: syntax error before "if" xloader.c:629: error: syntax error before "for" xloader.c:647: error: redefinition of parameter 'statbuf' xloader.c:366: error: previous definition of 'statbuf' was here xloader.c:648: error: redefinition of parameter 'filesize' xloader.c:367: error: previous definition of 'filesize' was here xloader.c:648: error: redefinition of parameter 'i' xloader.c:367: error: previous definition of 'i' was here xloader.c:648: error: redefinition of parameter 'n' xloader.c:367: error: previous definition of 'n' was here xloader.c:649: error: redefinition of parameter 'percent' xloader.c:370: error: previous definition of 'percent' was here xloader.c:650: error: redefinition of parameter 'ferror_image' xloader.c:371: error: previous definition of 'ferror_image' was here xloader.c:653: error: syntax error before "if" make[2]: *** [xloader] Error 1 make[2]: Leaving directory `/home/wangzhiwunpu/uClinux-dist-test/user/boottools' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/wangzhiwunpu/uClinux-dist-test/user' make: *** [subdirs] Error 1 [wangzhiwunpu@localhost uClinux-dist-test]$ thanks!!