From: Martin Stromberg Message-Id: <200210151216.OAA18987@lws256.lu.erisoft.se> Subject: Re: Error building emu387.dxe To: djgpp-workers AT delorie DOT com Date: Tue, 15 Oct 2002 14:16:18 +0200 (MET DST) In-Reply-To: <185243353784.20021015132325@softhome.net> from "Laurynas Biveinis" at Oct 15, 2002 01:23:25 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > It's 2.03 with 3.2. I get this error message which looks like Chinese: > > [...] > ../makemake.exe > makemake: scanning libemu for makefiles > c:/devel/djgpp/bin/make.exe -f makefile.sub > c:/devel/djgpp/bin/make.exe -C src > ../makemake.exe -2 > makemake: scanning libemu for object files > c:/devel/djgpp/bin/make.exe ./../../lib/libemu.a > make.exe[1]: `../../lib/libemu.a' is up to date. > ./../../hostbin/dxegen.exe ./../../bin/emu387.dxe __emu_entry src/emu387.o id_emu.o src/emudummy.o -L../../lib c:/devel/djgpp/lib/gcc-lib/djgpp/3.2/libstdcxx.a c:/devel/djgpp/lib/gcc-lib/djgpp/3.2/libgcc.a -lc c:/devel/djgpp/lib/gcc-lib/djgpp/3.2/libgcc.a > ld -X -S -r -o dxe__tmp.o -L./../../lib src/emu387.o id_emu.o src/emudummy.o -L../../lib c:/devel/djgpp/lib/gcc-lib/djgpp/3.2/libstdcxx.a c:/devel/djgpp/lib/gcc-lib/djgpp/3.2/libgcc.a -lc c:/devel/djgpp/lib/gcc-lib/djgpp/3.2/libgcc.a -T dxe.ld > Error: input file has more than one section; use -M for map > make.exe: *** [../../bin/emu387.dxe] Error 1 > > What it's supposed to mean, and more importantly, how I'm supposed to > fix it? It means there's (at least one) another section while ld (or something) expects one. It's usually gcc that generates more sectins compared to an earlier version. You need to tweak the linker script (seems to be called dxe.ld here). If you want to know exactly the name(s) of the section(s) add "-M" or "-Map my.map" to ld's options. I've gotten this once (perhaps it was when we moved beyond 2.8) and posted the correction (correct then, don't know now) here. Search the archives. It was at least a year ago, perhaps several. Perhaps if you do "cvs history" on dxe.ld or djgpp.djl, you might find the approximate time. Right, MartinS