On Sun, Jan 16, 2000 at 07:19:54PM -0800, G. Crimp wrote: > Hi, > > I'm trying to compile the newest version of dxpc on two different > machines (one is running Deb 2.0, the other Deb 2.1). When I get to the > `make' step, neither machine will compile. I appear to be missing some > header files (I think, I know little of C). I don't know what packages I > need to install to get the missing files. Here's the make output from both > machines (slightly different on each). > > ----------------- start errors on Deb 2.0 box ----------------------- > # make > gcc -c -g -O2 -DX_DISPLAY_MISSING=1 -DACCEPT_SOCKLEN_T=int main.C > main.C:1: iostream.h: No such file or directory > main.C:26: X11/Xproto.h: No such file or directory > In file included from main.C:36: > util.H:4: fstream.h: No such file or directory > make: *** [main.o] Error 1 > # > > ----------------- end Deb 2.0 box, start Deb 2.1 box ----------------- > > # make > gcc -c -g -O2 -DX_DISPLAY_MISSING=1 -DACCEPT_SOCKLEN_T=int main.C > main.C:26: X11/Xproto.h: No such file or directory > make: *** [main.o] Error 1 > # > > ------------------ end make errors for both boxes -------------------- > > Any solutions ?
Yes, you need to use g++ to compile these programs. They are C++, not C. So you need to have the relevant C++ development debs. Looks like you also need the X development debs. -- +----------------------------------------------------+ | Eric G. Miller egm2@jps.net | | GnuPG public key: http://www.jps.net/egm2/gpg.asc | +----------------------------------------------------+