nios2_iss not linking hello
Joel Sherrill
joel.sherrill at OARcorp.com
Mon Apr 21 16:51:26 UTC 2014
On this BSP, I am just a tester. :)
Hopefully someone will fix this.
gmake[6]: Entering directory
`/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/testsuites/samples/hello'
nios2-rtems4.11-gcc -B../../../../../nios2_iss/lib/ -specs bsp_specs
-qrtems -DHAVE_CONFIG_H -I.
-I../../../../../../../rtems/c/src/../../testsuites/samples/hello
-I.. -mno-hw-mul -mno-hw-div -O0 -g -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
init.o -MD -MP -MF .deps/init.Tpo -c -o init.o
../../../../../../../rtems/c/src/../../testsuites/samples/hello/init.c
mv -f .deps/init.Tpo .deps/init.Po
nios2-rtems4.11-gcc -B../../../../../nios2_iss/lib/ -specs bsp_specs
-qrtems -mno-hw-mul -mno-hw-div -O0 -g -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs
-mno-hw-mul -mno-hw-div -o hello.exe init.o
../../../../../nios2_iss/lib/librtemscpu.a(librtems_a-taskwakeafter.o):
In function `rtems_task_wake_after':
/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/cpukit/rtems/../../../../../../rtems/c/src/../../cpukit/rtems/src/taskwakeafter.c:40:
undefined reference to `_Scheduler_Get'
../../../../../nios2_iss/lib/librtemscpu.a(libscore_a-coremutexseize.o):
In function `_CORE_mutex_Seize_interrupt_blocking':
/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/cpukit/score/../../../../../../rtems/c/src/../../cpukit/score/src/coremutexseize.c:58:
undefined reference to `_Scheduler_Get'
../../../../../nios2_iss/lib/librtemscpu.a(libscore_a-threadchangepriority.o):
In function `_Thread_Change_priority':
/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/cpukit/score/../../../../../../rtems/c/src/../../cpukit/score/src/threadchangepriority.c:32:
undefined reference to `_Scheduler_Get'
../../../../../nios2_iss/lib/librtemscpu.a(libscore_a-threadclearstate.o):
In function `_Thread_Clear_state':
/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/cpukit/score/../../../../../../rtems/c/src/../../cpukit/score/src/threadclearstate.c:40:
undefined reference to `_Scheduler_Get'
../../../../../nios2_iss/lib/librtemscpu.a(libscore_a-threadrestart.o):
In function `_Thread_Free':
/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/cpukit/score/../../../../../../rtems/c/src/../../cpukit/score/src/threadrestart.c:74:
undefined reference to `_Scheduler_Get'
../../../../../nios2_iss/lib/librtemscpu.a(libscore_a-threadrestart.o):/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/cpukit/score/../../../../../../rtems/c/src/../../cpukit/score/src/threadrestart.c:253:
more undefined references to `_Scheduler_Get' follow
collect2: ld returned 1 exit status
gmake[6]: *** [hello.exe] Error 1
gmake[6]: Leaving directory
`/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/testsuites/samples/hello'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory
`/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/testsuites/samples'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
`/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/testsuites/samples'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss/testsuites'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c/nios2_iss'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/users/joel/rtems-4.11-work/rtems-testing/rtems/build-nios2-nios2_iss-rtems/nios2-rtems4.11/c'
gmake: *** [all-recursive] Error 1
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel
mailing list