Your configuration is somehow messed up so that it's not recognizing
you're building on OS/2. The command for gcc should look something like
this:

gcc -o pathsub.obj -c -DOSTYPE=\"OS22\" -DOSARCH=\"OS2\" -DOJI  
-I../dist/include -I../dist/include `../nsprpub/config/nspr-config
--prefix=../dist --cflags` -Wall -W -Wno-unused -Wpointer-arith
-Wcast-align -Wno-long-long -Zmtd -Zomf -DNDEBUG -DTRIMMED -O3  
-include ../config-defs.h -DMOZILLA_CLIENT ../../config/pathsub.c

Open mozilla.src/mozilla/obj-i386-pc-os2-emx/config/autoconf.mk. Right
near the end, MOZ_OS2_TOOLS should be set to EMX and
MOZ_OS2_EMX_OBJECTFORMAT to OMF.

Also, check mozilla.src/mozilla/obj-i386-pc-os2-emx/config-defs.h and
add any of the following that may be missing:

#define OS2 1
#define OS2EMX_PLAIN_CHAR 1
#define XP_OS2 1
#define XP_OS2_EMX 1
#define XP_OS2_FIX 1
#define XP_PC 1

h~

Reply via email to