RTEMS and 1553 ddc BU 67104 ver 5
Juan Pablo Rumie Vittar
jvittar at faa.mil.ar
Tue Feb 14 12:09:22 UTC 2012
Hello my name is Juan Pablo (my English is poor, sorry for that) and I'm
working with RTEMS operating system version 4.10 for i386 using device BU67104
1553 ddc version 5 (pc 104).
The question is on the following compilation error (linker), copied it below:
**** Build of configuration RTEMS_Executable_Configuration for project
mon1553_prueba002 ****
make all
Building file: ../main.c
Invoking: RTEMS C Compiler
/opt/rtems-4.10/bin/i386-rtems4.10-gcc
-B/opt/rtems-4.10/i386-rtems4.10/pc386/lib/ -specs bsp_specs -qrtems
-mtune=i386 -Os -g -Wall -c -fmessage-length=0 -pipe -MMD -MP -MF"main.d"
-MT"main.d" -o"main.o" "../main.c"
../main.c: In function 'Init':
../main.c:45: warning: 'result' is used uninitialized in this function
../main.c:30: note: 'result' was declared here
Finished building: ../main.c
Building target: mon1553_prueba002.exe
Invoking: RTEMS C++ Linker
/opt/rtems-4.10/bin/i386-rtems4.10-g++
-B/opt/rtems-4.10/i386-rtems4.10/pc386/lib/ -specs bsp_specs -qrtems
-mtune=i386 -Wl,-Ttext,0x00100000 -L/opt/rtems-4.10/i386-rtems4.10/pc386/lib
-L/opt/rtems-4.10/i386-rtems4.10/pc386/lib/rtems-4.10
-L/home/rtems/acextreme/acetoemace/lib/i386 -L/home/rtems/acextreme/lib/i386
-L/home/rtems/ddc/Lib/Release -o"mon1553_prueba002.exe" ./ddc1553.o ./main.o
-lrtems++ -lace -lemacepl
./main.o: In function `Init':
/home/rtems/workspace/mon1553_prueba002/RTEMS_Executable_Configuration/../main.c:45:
undefined reference to `ddc1553_initialize'
/home/rtems/workspace/mon1553_prueba002/RTEMS_Executable_Configuration/../main.c:45:
undefined reference to `ddc1553_open'
/home/rtems/workspace/mon1553_prueba002/RTEMS_Executable_Configuration/../main.c:45:
undefined reference to `ddc1553_close'
/home/rtems/workspace/mon1553_prueba002/RTEMS_Executable_Configuration/../main.c:47:
undefined reference to `ddc1553_read'
/home/rtems/workspace/mon1553_prueba002/RTEMS_Executable_Configuration/../main.c:48:
undefined reference to `ddc1553_control'
collect2: ld returned 1 exit status
make: *** [mon1553_prueba002.exe] Error 1
using the library libemacepl.a libemacepl.so.3.2.6 (the "includes" routes (.
hpp) is made).
Apparently not find references to these methods (but all references. Hpp made)
with respect to the library in question, can someone tell me
is the most convenient to do in these cases?
thanks in advance...
---
Generado por el Webmail de la Fuerza Aerea Argentina
--
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que está limpio.
More information about the users
mailing list