cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
2,183 Views
Registered: ‎05-22-2013

linux make failure

Sir i am following a TRD example given in wiki.xilinx for ISE design suite 14 and while making the uImage i am facing quite a lot of problems.

so i tried to first try out make command in linux-xlnx instead of $make ARCH=arm uImage (this command always askes too many 'y' or 'n' commands, and i am not sure if that is okay)

while doing the $make i am getting these error.

Please help

 

prateek@ubuntu:/host/xilinx_example/ZYNQ_TRD_HOME/linux-xlnx$ make
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  SKIPPED include/generated/compile.h
make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date.
  CHK     kernel/config_data.h
  CC      drivers/char/xilinx_devcfg.o
drivers/char/xilinx_devcfg.c: In function ‘xdevcfg_reset_pl’:
drivers/char/xilinx_devcfg.c:162:2: warning: passing argument 1 of ‘__readl’ makes pointer from integer without a cast [enabled by default]
/host/xilinx_example/ZYNQ_TRD_HOME/linux-xlnx/arch/x86/include/asm/io.h:59:1: note: expected ‘const volatile void *’ but argument is of type ‘u32’
drivers/char/xilinx_devcfg.c:162:2: warning: passing argument 2 of ‘__writel’ makes pointer from integer without a cast [enabled by default]
/host/xilinx_example/ZYNQ_TRD_HOME/linux-xlnx/arch/x86/include/asm/io.h:67:1: note: expected ‘volatile void *’ but argument is of type ‘u32’
drivers/char/xilinx_devcfg.c:164:2: warning: passing argument 1 of ‘__readl’ makes pointer from integer without a cast [enabled by default]
/host/xilinx_example/ZYNQ_TRD_HOME/linux-xlnx/arch/x86/include/asm/io.h:59:1: note: expected ‘const volatile void *’ but argument is of type ‘u32’
drivers/char/xilinx_devcfg.c:166:2: warning: passing argument 1 of ‘__readl’ makes pointer from integer without a cast [enabled by default]
/host/xilinx_example/ZYNQ_TRD_HOME/linux-xlnx/arch/x86/include/asm/io.h:59:1: note: expected ‘const volatile void *’ but argument is of type ‘u32’
drivers/char/xilinx_devcfg.c:166:2: warning: passing argument 2 of ‘__writel’ makes pointer from integer without a cast [enabled by default]
/host/xilinx_example/ZYNQ_TRD_HOME/linux-xlnx/arch/x86/include/asm/io.h:67:1: note: expected ‘volatile void *’ but argument is of type ‘u32’
drivers/char/xilinx_devcfg.c:168:2: warning: passing argument 1 of ‘__readl’ makes pointer from integer without a cast [enabled by default]
/host/xilinx_example/ZYNQ_TRD_HOME/linux-xlnx/arch/x86/include/asm/io.h:59:1: note: expected ‘const volatile void *’ but argument is of type ‘u32’
drivers/char/xilinx_devcfg.c:170:2: warning: passing argument 1 of ‘__readl’ makes pointer from integer without a cast [enabled by default]
/host/xilinx_example/ZYNQ_TRD_HOME/linux-xlnx/arch/x86/include/asm/io.h:59:1: note: expected ‘const volatile void *’ but argument is of type ‘u32’
drivers/char/xilinx_devcfg.c:170:2: warning: passing argument 2 of ‘__writel’ makes pointer from integer without a cast [enabled by default]
/host/xilinx_example/ZYNQ_TRD_HOME/linux-xlnx/arch/x86/include/asm/io.h:67:1: note: expected ‘volatile void *’ but argument is of type ‘u32’
drivers/char/xilinx_devcfg.c:172:2: warning: passing argument 1 of ‘__readl’ makes pointer from integer without a cast [enabled by default]
/host/xilinx_example/ZYNQ_TRD_HOME/linux-xlnx/arch/x86/include/asm/io.h:59:1: note: expected ‘const volatile void *’ but argument is of type ‘u32’
drivers/char/xilinx_devcfg.c: In function ‘xdevcfg_drv_probe’:
drivers/char/xilinx_devcfg.c:1503:2: error: implicit declaration of function ‘of_get_next_parent’ [-Werror=implicit-function-declaration]
drivers/char/xilinx_devcfg.c:1503:5: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/char/xilinx_devcfg.c:1504:5: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [drivers/char/xilinx_devcfg.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

 

the warnings are ignorable,but i am also seeing an error

drivers/char/xilinx_devcfg.c: In function ‘xdevcfg_drv_probe’:
drivers/char/xilinx_devcfg.c:1503:2: error: implicit declaration of function ‘of_get_next_parent’ [-Werror=implicit-function-declaration]

 

can some one help me in this?

should i do $make ARCH=arm uImage or should $make also should work?

Tags (3)
0 Kudos
0 Replies