[AD] Errors with WIP 3.9.37 and Watcom

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi,

When compiling Allegro WIP 3.9.37 with Watcom C/C++ 10.6, the build goes
well until the assembly files. Most of them work fine, but one of them
displays this:

gcc -D__SW_3S -D__SW_S -Wall -I. -I./include -x assembler-with-cpp -o
obj/watcom/alleg/iscanmmx.o -c src/i386/iscanmmx.s
obj/watcom/runner.exe wdisasm \\ -a
obj/watcom/alleg/iscanmmx.o -l=obj/watcom/alleg/iscanmmx.lst
*** warning: Label '.text' emitted using ORG. File may not assemble. ***
sed -e "s/\.text/_TEXT/; s/\.data/_DATA/; s/\.bss/_BSS/; s/\.386/\.586/;
s/lar *ecx,cx/lar ecx,ecx/; s/ORG     [0-9]*H/ORG     00000000H/"
obj/watcom/alleg/iscanmmx.lst > obj/watcom/alleg/iscanmmx.asm
obj/watcom/runner.exe wasm
\\ -w1 -zq -fr=nul -fp3 -fo=obj/watcom/alleg/iscanmmx.obj
obj/watcom/alleg/iscanmmx.asm
obj\watcom\alleg\iscanmmx.asm(6): Error! E757: '_TEXT' is already defined
obj\watcom\alleg\iscanmmx.asm(11): Error! E757: '_DATA' is already defined
obj\watcom\alleg\iscanmmx.asm(16): Error! E757: '_BSS' is already defined
make.exe: *** [obj/watcom/alleg/iscanmmx.obj] Error 3

Does anyone know what's going wrong? I'm not much of an assembly programmer
myself.

Owen Rudge
http://www.owenrudge.co.uk/

MSN Messenger: orudge@xxxxxxxxxx
ICQ: 125455765



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/