-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 CN wrote: | Stephen, | | Thank you for your help. I believe I am using the mingw: | $ which c++ | /cygdrive/c/MinGW/bin/c++
Try "which g++" instead. Your makefile is using g++, not c++. Also, there is something fishy about HAVE_GETOPT_H in your generated config.h. That is *defined* in the example I have in front of me. | After the above I have configured with: | $CPPFLAGS="-Ic:/gnuwin32/include -Ic:/MinGW-packages/include" | $LDFLAGS="-Lc:/gnuwin32/lib -Lc:/MinGW-packages/include" | $export CPPFLAGS LDFLAGS | | I have one change wrt your mingw.txt: instead of bison 1.75, I am using | bison 1.875b. The latter does not appear to have the compile errors of | bison 1.875-1. | | Here is my config.h | * config.h. Generated by configure. */ | #ifndef __config_H /* -*- c++ -*- */ | #define __config_H | /* | * Copyright (c) 2001 Stephen Williams ([EMAIL PROTECTED]) | * | ... | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA | */ | #ifdef HAVE_CVS_IDENT | #ident "$Id: config.h.in,v 1.11 2004/10/04 01:10:52 steve Exp $" | #endif | | #if defined(__cplusplus) | # if !defined(__GNUC__) | using namespace std; | # elif (__GNUC__ == 3) | using namespace std; | # endif | #endif | | /* # undef NEED_LU */ | /* # undef NEED_TU */ | /* # undef WLU */ | /* # undef WTU */ | /* # undef HAVE_TIMES */ | # define HAVE_IOSFWD 1 | /* # undef HAVE_GETOPT_H */ | /* # undef HAVE_LIBIBERTY_H */ | # define HAVE_MALLOC_H 1 | /* # undef HAVE_DLFCN_H */ | /* # undef HAVE_DL_H */ | /* # undef HAVE_FCHMOD */ | /* # undef HAVE_LIBREADLINE */ | # define HAVE_LIBZ 1 | # define HAVE_LIBBZ2 1 | /* # undef HAVE_SYS_WAIT_H */ | /* # undef WORDS_BIGENDIAN */ | | /* | * $Log: config.h.in,v $ rt gcc 3.0. (Stephan Boettcher) | * | */ | #endif // __config_H | | | Cordially, CN - -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCwyXzrPt1Sc2b3ikRAhzHAKDErRZKtaIYJsAmQMq7BdxxTNeTTgCgrs6D dtV31JKFah/cNokoA0jsCFM= =wlGI -----END PGP SIGNATURE-----