Forum Discussion
Altera_Forum
Honored Contributor
15 years agoyou are right. There are dependencies through system.h.
Meanwhile I can compile your example, but using my own .sopcinfo, .sopc ... files still won't work, resulting in some errors concerning: C:\altera\91\nios2eds\components\altera_iniche\HAL \src\alt_iniche_read.c C:\altera\91\nios2eds\components\altera_iniche\HAL \src\alt_iniche_write.c C:\altera\91\nios2eds\components\altera_iniche\HAL \src\alt_iniche_close.c ... and so on Making the libraries (create-this-lib) and BSP one by one through the Nios-shell works. But create-this-app (or build-all in the Eclipse Platform) results in the errors mentioned above. e.g. in the shell the error looks like: --- Quote Start --- ../superloop_iniche_lib/libsuperloop_iniche.a(cksum.o)(.text+0xec): In function `cksum': iniche/src/misclib/cksum.c:105: undefined reference to `asm_cksum' collect2: ld returned 1 exit status --- Quote End --- => slightly I'm going mad with this :mad: