On Wed, 3 Jun 2009 12:30:19 -0600 Lee Stewart <[email protected]> wrote:
> This was posed by one of our customers...... > > I'm having trouble linking (ld) as a 31-bit executable. I've got the C > flags set-up correctly, I think (they are compiling as 31-bit), but I'm > getting this message when doing ld: > ld: Relocatable linking with relocations from format elf32-s390 > (/devel/supra1/rel1.3.1m/linux/obj/dis_iqt.o) to format elf64-s390 > (/devel/supra1/rel1.3.1m/linux/obj/dapdis.o) is not supported > I'm using -m31 > And > --oformat elf32-s390 > > Has anyone dabbled in such things and have any advice/counsel? > Thanks, > Lee Do a "file *.o" on all the objects that are passed to ld. One of them is not a elf32-s390 elf object. Then check the Makefiles to find the place where an -m31 is missing. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
