From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020205 Description of problem: After configuring modutils using "./configure --target=mipsbe-linux-gnu" obj_load.c fails to compile complaining that "ELFDATAM" is not defined Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.install modutils-2.4.13-0.7 (or any other version I think) 2.configure using "./configure --target mipdbe-linux-gnu 3.use make to try and build the package Actual Results: When obj_load.c tries to compile it errors out complainig that the symbol "ELFDATAM" is not defined. This symbol is defined in the include file "../include/mips_elf.h" file in the package. Expected Results: the package should have built Additional info: gcc -O2 -Wall -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_mips.h"' -DARCH_mips -c -o obj_load.o obj_load.c obj_load.c: In function `obj_load': obj_load.c:69: `ELFDATAM' undeclared (first use in this function) obj_load.c:69: (Each undeclared identifier is reported only once obj_load.c:69: for each function it appears in.) make[1]: *** [obj_load.o] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/modutils-2.4.13/obj' make: *** [all] Error 2
sorry about that, that should be will not build with --target=mipsbe-linux-gnu
Does your compiler define one of __MIPSEB__ or __MIPSEL__?
closed, no response.