Undefined references compiling modified hello.exe

Gedare Bloom gedare at rtems.org
Wed Mar 15 14:43:37 UTC 2017


On Wed, Mar 15, 2017 at 6:25 AM, Cillian O'Donnell
<cpodonnell8 at gmail.com> wrote:
> I have built everything for sparc4.12 erc32 and I'm having trouble compiling
> the modified hello.exe. I've included paths to all the header files but I
> still have many undefined references. Any tips of where to go from here
> would be much appreciated. The output from the compiler is as follows:
>
> cpod at cpod
> ~/development/rtems/kernel/erc32/sparc-rtems4.12/c/erc32/testsuites/samples/hello
> $ sparc-rtems4.12-gcc init.c -isystem ~/development/rtems/4.12/sparc
> -rtems4.12/erc32/lib/include -isystem
> ~development/rtems/4.12/sparc-rtems4.12/include -o hello.exe

You should be able to just use 'make' after you modified the source
code for init.c


More information about the users mailing list