Mail Archives: djgpp-workers/2002/10/15/08:16:24
>
> 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
- Raw text -