Forum Discussion
Altera_Forum
Honored Contributor
16 years agowhen i build the project in the NIOS IDE,there are some errors:
**** Build of configuration Debug for project hello_world_1 **** make -s all includes Linking hello_world_1.elf... /cygdrive/e/sopc/sd/sopc_soft/software/hello_world_1_syslib/Debug/libhello_world_1_syslib.a(alt_sys_init.o)(.text+0x54): In function `alt_sys_init': system_description/alt_sys_init.c:92: undefined reference to `sd_controller_dev_init' /cygdrive/e/sopc/sd/sopc_soft/software/hello_world_1_syslib/Debug/libhello_world_1_syslib.a(alt_sys_init.o)(.data+0x1144): undefined reference to `sd_open_wrapper' /cygdrive/e/sopc/sd/sopc_soft/software/hello_world_1_syslib/Debug/libhello_world_1_syslib.a(alt_sys_init.o)(.data+0x1148): undefined reference to `sd_close_wrapper' /cygdrive/e/sopc/sd/sopc_soft/software/hello_world_1_syslib/Debug/libhello_world_1_syslib.a(alt_sys_init.o)(.data+0x114c): undefined reference to `sd_read_wrapper' /cygdrive/e/sopc/sd/sopc_soft/software/hello_world_1_syslib/Debug/libhello_world_1_syslib.a(alt_sys_init.o)(.data+0x1150): undefined reference to `sd_write_wrapper' /cygdrive/e/sopc/sd/sopc_soft/software/hello_world_1_syslib/Debug/libhello_world_1_syslib.a(alt_sys_init.o)(.data+0x1154): undefined reference to `sd_lseek_wrapper' /cygdrive/e/sopc/sd/sopc_soft/software/hello_world_1_syslib/Debug/libhello_world_1_syslib.a(alt_sys_init.o)(.data+0x1158): undefined reference to `sd_fstat_wrapper' collect2: ld returned 1 exit status make: *** [hello_world_1.elf] Error 1 Build completed in 85.875 seconds How can I solve this problem? Thank you.