Subj : header files on warp4 cd? To : mark lewis From : David Noon Date : Sat Nov 25 2000 12:54 pm Hi mark, Replying to a message of mark lewis to David Noon: 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. ml> hummm... i have those... in the past, i have tried compiling programs ml> that are supposed to compile under emx... but i've always had ml> problems... it's been a year or so and i've completely forgotten all ml> the specifics... but i do remember that i had problems that seemingly ml> could be attributed to not having the headers, libraries, etc... ml> necessary... Make sure you have EMX 0.9d with fix pack #3 applied. 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: ml> yup, got all that... ml> welp, here, lets try this... ml> i've a copy of dmake here that comes precompiled with emx 0.9a... i ml> simply want to (re)compile it with my emx 0.9d (if i remember it ml> right)... in the dmake stuff, there's a couple of make.cmd files... i ml> choose to compile under emx... looking at the proper make.cmd for the ml> emx compilation, i see the following... ml> gcc -c -I. -Iemx -DOS2 -U__GNUC__ -Zmtd -O infer.c ml> but that line produces the following error... ml> H:\dmake >gcc -c -I. -Iemx -DOS2 -U__GNUC__ -Zmtd -O infer.c ml> In file included from extern.h:66, ml> from infer.c:40: ml> emx\public.h:161: conflicting types for `_chdir' ml> H:\EMX\INCLUDE\stdlib.h:194: previous declaration of `_chdir' This is a bug in EMX, but it seems to be fixed in fix pack #3. In fact, public.h appears to have disappeared. ml> ok... ??? i know what it says... i remember digging around and ml> locating the differences... i remember posting almost this exact ml> question but i never got any type of answers in assistance... this ml> isn't my code... i simply want to compile it... Apply fix pack #3 to EMX. ml> one of my reasons for wanting to use dmake is that i've been unable to ml> get any other makes running and i don't have any kind of "unix ml> toolboxes or utilities" installed... yet... another project that i ml> want to do is to (re)compile my Apache web server... that'll be a fun ml> one, to say the least <> Yuk. ml> so, back up there... that's only one and i can only work thru one at a ml> time ;-) I have the source to DMAKE here. I'll have a go at compiling it and see what happens. Regards Dave --- FleetStreet 1.25.1 * Origin: My other computer is an IBM S/390 (2:257/609.5) .