All,<br /> I am trying to build 8.2.5, forcing to a 32 bit build on a 64 bit system. I have set CFLAGS=-m32, and I run
theconfigure and make/make install as follows:<br /><br /> setarch i386 ./configure<br /> setarch i386 make<br />
setarchi386 make install<br /><br /> However, I get the following error (using timezone for example):<br /><br /> $
make<br/> gcc -m32 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing-I../../src/include -D_GNU_SOURCE -c -o localtime.o localtime.c<br /> gcc -m32 -Wall
-Wmissing-prototypes-Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-I../../src/include-D_GNU_SOURCE -c -o strftime.o strftime.c<br /> gcc -m32 -Wall -Wmissing-prototypes
-Wpointer-arith-Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -I../../src/include
-D_GNU_SOURCE -c -o pgtz.o pgtz.c<br /> /usr/bin/ld -r -o SUBSYS.o localtime.o strftime.o pgtz.o<br /> /usr/bin/ld:
Relocatablelinking with relocations from format elf32-i386 (localtime.o) to format elf64-x86-64 (SUBSYS.o) is not
supported<br/> make: *** [SUBSYS.o] Error 1<br /><br /> Funny thing is, there is no SUBSYS.o in my current directory.
IfI build from the top, I see this same error in each dirctory/makefile where a SUBSYS.o is linked with. If I search my
buildtree after a top-down build, I do not see any SUBSYS.O files at all. Where is this SUBSYS.o getting created, and
whyisn't it being created as a 32 bit file instead of 64 bit?<br /><br /> Doug Knight<br /> WSI Corp<br /> Andover, MA,
USA