<div>HI,</div><div><br></div><div>It is possible, declare 'a_test_fun()' as a weak function in b.c, this makes rtems-ld happy.</div><div><div>When load object file strong symbol will be link first.</div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From:</b> "jaeho jo"<hot486two@gmail.com>;</div><div><b>Date:</b> Tue, Sep 10, 2019 08:23 AM</div><div><b>To:</b> "users"<users@rtems.org>;<wbr></div><div></div><div><b>Subject:</b> symbol resolve between the two RAP files</div></div><div><br></div><div dir="ltr">I wonder if I can resolve the symbol between the two RAP files for dynamic load.<br><br>ex)<br>a.c. / b.c. / main.c.<br><br>a.c. -> a.rap<br>- define 'a_test_func()'<br><br>b.c. -> b.rap<br>- use 'a_test_func()'<br><br>main.c -> BaseImage<br><br><br>Attempting to generate b.c. as b.rap using rtems-ld, an error occurs <div>   $ rtems-ld -b BaseImage -e b_main b.o -o b.rap<br><div>   => error: b.o: symbol not found: a_test_func</div><div><br>I already know why this problem occurs, since BaseImage does not have a symbol for 'a_test_func'

</div><div><br>Is there a way to solve this? Or is it impossible at all?</div></div></div></div>