Subj : header files on warp4 cd?
To   : David Noon
From : mark lewis
Date : Thu Nov 23 2000 08:08 am

DN> Hi mark,

DN> Replying to a message of mark lewis to Andre Grueneberg:

AG>>> No, there aren't...You'll get them with your
AG>>> (C) compiler...

ml>> they didn't come with gcc/emx...

DN> They should be in your x:\emx\include directory, with names
DN> like os2.h, os2tk.h, pm.h, etc.

hummm... i have those... in the past, i have tried compiling programs that are
supposed to compile under emx... but i've always had problems... it's been a
year or so and i've completely forgotten all the specifics... but i do remember
that i had problems that seemingly could be attributed to not having the
headers, libraries, etc... necessary...

DN> Also, ensure you have set
DN> C_INCLUDE_PATH [that name is case sensitive and must be all
DN> capital letters] correctly in your environment variables,
DN> typically in CONFIG.SYS, using *forward slashes* to delineate
DN> subdirectories within a path. On my system it reads:

yup, got all that...

welp, here, lets try this...

i've a copy of dmake here that comes precompiled with emx 0.9a... i simply want
to (re)compile it with my emx 0.9d (if i remember it right)... in the dmake
stuff, there's a couple of make.cmd files... i choose to compile under emx...
looking at the proper make.cmd for the emx compilation, i see the following...

gcc -c -I. -Iemx -DOS2 -U__GNUC__ -Zmtd -O infer.c

but that line produces the following error...

H:\dmake >gcc -c -I. -Iemx -DOS2 -U__GNUC__ -Zmtd -O infer.c
In file included from extern.h:66,
                from infer.c:40:
emx\public.h:161: conflicting types for `_chdir'
H:\EMX\INCLUDE\stdlib.h:194: previous declaration of `_chdir'

ok... ??? i know what it says... i remember digging around and locating the
differences... i remember posting almost this exact question but i never got
any type of answers in assistance... this isn't my code... i simply want to
compile it...

one of my reasons for wanting to use dmake is that i've been unable to get any
other makes running and i don't have any kind of "unix toolboxes or utilities"
installed... yet... another project that i want to do is to (re)compile my
Apache web server... that'll be a fun one, to say the least <<GG>>

so, back up there... that's only one and i can only work thru one at a time ;-)

)\/(ark


* Origin: (1:3634/12)