rtl-elf.c does not compile for mips

Joel Sherrill joel.sherrill at oarcorp.com
Mon Nov 3 23:50:41 UTC 2014


Hi

Another architecture specific issue:

mips-rtems4.11-gcc --pipe -DHAVE_CONFIG_H   -I..
-I../../cpukit/../../../jmr3904/lib/include -DRTEMS_RTL_RAP_LOADER=1
-DRTEMS_RTL_ELF_LOADER=1   -march=r3900 -Wa,-xgot -G0 -O2 -g -Wall
-Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
-Wnested-externs -MT libdl_a-rtl-elf.o -MD -MP -MF
.deps/libdl_a-rtl-elf.Tpo -c -o libdl_a-rtl-elf.o `test -f 'rtl-elf.c'
|| echo '../../../../../../rtems/c/src/../../cpukit/libdl/'`rtl-elf.c
In file included from
/users/joel/rtems-4.11-work/tools/mips-rtems4.11/include/sys/_default_fcntl.h:8:0,
                 from
/users/joel/rtems-4.11-work/tools/mips-rtems4.11/include/sys/fcntl.h:3,
                 from
/users/joel/rtems-4.11-work/tools/mips-rtems4.11/include/fcntl.h:1,
                 from
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-elf.c:23:
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-elf.c: In function
'rtems_rtl_elf_machine_check':
../../cpukit/../../../jmr3904/lib/include/sys/exec_elf.h:54:31: error:
'ELF32_MACHDEP_ID_CASES' undeclared (first use in this function)
 #define ELFDEFNNAME(x) CONCAT(ELF,CONCAT(ELFSIZE,CONCAT(_,x)))
                               ^
../../cpukit/../../../jmr3904/lib/include/sys/exec_elf.h:54:24: note: in
expansion of macro 'CONCAT'
 #define ELFDEFNNAME(x) CONCAT(ELF,CONCAT(ELFSIZE,CONCAT(_,x)))
                        ^
../../../../../../rtems/c/src/../../cpukit/libdl/rtl-elf.c:59:5: note:
in expansion of macro 'ELFDEFNNAME'
     ELFDEFNNAME (MACHDEP_ID_CASES)

-- 
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