Clear Filters
Clear Filters

build errors for simulink models with muliti processor topology for target DS1007

4 views (last 30 days)
I was able to build models earlier but I start seeing this errors after I upgraded my RTI software. I know its too vague but can anyone give any hints on where to look at to start debugging to find the root cause? Thanks in advance.
LINKING APPLICATION ... master_simeng.m07: In function `rti_mdl_background': master_simeng.c:(.text+0x400): undefined reference to `backgroundFunction_117' collect2: ld returned 1 exit status -- call "C:\Program Files\dSPACE RCPHIL 2015-B\Compiler\QNX650_463\host\win32\x86\usr\bin\ntoppc-g++.exe" -Wl,--wrap,exit -Wl,--wrap,abort -Wl,--wrap,printf -Wl,--wrap,puts -Wl,--defsym,_DSPACE_START=0 -Wl,--defsym,_DSPACE_START_=0 -Wl,--defsym,DS_TARGET_PLATFORM=1007 -Wl,-rpath-link -Wl,"C:\Program Files\dSPACE RCPHIL 2015-B\DS1007\Lib" -T _tmp_master.lk -L"C:\Program Files\dSPACE RCPHIL 2015-B\DS1007\Lib" -Wl,-soname=master.ppc -Wl,-Map,master.tmp.map -Wl,--start-group @_tmp_master_rsp.txt -Wl,--end-group -o master.ppc LINKING FAILED (1)(1)
MAKE PROCESS ABORTED
  2 Comments
Luz Lule Camargo
Luz Lule Camargo on 6 Dec 2018
Hello Kausalya Singuru,
I am running into a similar error. Where you able to find any information about this issue?
kausalya singuru
kausalya singuru on 6 Dec 2018
In my case it was because of some pre existing generated code in the build path. I cleaned all the pre existing code and regenrated all the files and the model built with no errors. My suggestion is to do a clean build.

Sign in to comment.

Answers (0)

Categories

Find more on Code Generation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!