Discussion:
m32r build error
Joel Sherrill
2014-08-18 22:23:44 UTC
Permalink
Hi

Host is Fedora 20. Target is m32r-rtems4.11. Failure is:

gcc -DHAVE_CONFIG_H -DWITH_DEFAULT_MODEL='"m32r/d"' -DTRACE=1
-DWITH_TRACE=-1 -DPROFILE=1 -DWITH_PROFILE=-1
-DWITH_ALIGNMENT=STRICT_ALIGNMENT -DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN
-DWITH_ENVIRONMENT=ALL_ENVIRONMENT -DWITH_HW=1
-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SCACHE=16384 -DM32R_ELF -I.
-I../../../binutils-gdb/sim/m32r -I../common
-I../../../binutils-gdb/sim/m32r/../common -I../../include
-I../../../binutils-gdb/sim/m32r/../../include -I../../bfd
-I../../../binutils-gdb/sim/m32r/../../bfd -I../../opcodes
-I../../../binutils-gdb/sim/m32r/../../opcodes -g -O2 -c -o cgen-utils.o
-MT cgen-utils.o -MMD -MP -MF .deps/cgen-utils.Tpo
../../../binutils-gdb/sim/m32r/../common/cgen-utils.c
In file included from
../../../binutils-gdb/sim/m32r/../common/sim-basics.h:131:0,
from ../../../binutils-gdb/sim/m32r/sim-main.h:12,
from ../../../binutils-gdb/sim/m32r/../common/cgen-utils.c:22:
./tconfig.h:21:1: error: unknown type name ‘MODULE_INSTALL_FN’
MODULE_INSTALL_FN dv_sockser_install;
^
make[3]: *** [cgen-utils.o] Error 1
--
Joel Sherrill, Ph.D. Director of Research & Development
***@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
Mike Frysinger
2014-08-19 06:08:09 UTC
Permalink
Post by Joel Sherrill
gcc -DHAVE_CONFIG_H -DWITH_DEFAULT_MODEL='"m32r/d"' -DTRACE=1
-DWITH_TRACE=-1 -DPROFILE=1 -DWITH_PROFILE=-1
-DWITH_ALIGNMENT=STRICT_ALIGNMENT -DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN
-DWITH_ENVIRONMENT=ALL_ENVIRONMENT -DWITH_HW=1
-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SCACHE=16384 -DM32R_ELF -I.
-I../../../binutils-gdb/sim/m32r -I../common
-I../../../binutils-gdb/sim/m32r/../common -I../../include
-I../../../binutils-gdb/sim/m32r/../../include -I../../bfd
-I../../../binutils-gdb/sim/m32r/../../bfd -I../../opcodes
-I../../../binutils-gdb/sim/m32r/../../opcodes -g -O2 -c -o cgen-utils.o
-MT cgen-utils.o -MMD -MP -MF .deps/cgen-utils.Tpo
../../../binutils-gdb/sim/m32r/../common/cgen-utils.c
In file included from
../../../binutils-gdb/sim/m32r/../common/sim-basics.h:131:0,
from ../../../binutils-gdb/sim/m32r/sim-main.h:12,
./tconfig.h:21:1: error: unknown type name ‘MODULE_INSTALL_FN’
MODULE_INSTALL_FN dv_sockser_install;
^
make[3]: *** [cgen-utils.o] Error 1
the legacy autotool junk here seems to have gotten away from us. i think it's
time to stop putting off modernizing these things and rip them forward. i
haven't gotten around to it because it's one big pita yak shave, and you need
to dig through the codebase quite a bit to figure out where the yak even
starts.
-mike

Loading...