Hello Robert, thanks for your tips.
There are some other problems. google says that the getopt function is in unistd.h. But i can't not compile espeak. I have downloades kpseaxxxs.zip. In this package is an getopt.c and a getopt.h.. thats was better, but in an if phrase with access and r_ok. If i comment this lines out, speak.cpp compiles. and in dictionary.cpp are functions iswalpha ... and must i put another lib on the libflag -l...? Quoestions over quoestions. Regards. Dietmar > [EMAIL PROTECTED] schrieb am 28.06.07: > Robert Riebisch wrote: >> Another solution is linking against GNU GLib, which has >> g_snprintf(). I could tell you more tomorrow. > 1) Grab `current/v2tk/glib126b.zip' from a DJGPP repository. > 2) Expand `glib126b.zip' to your DJGPP installation. > 3) Add the following to `src/speech.h'. > #ifdef __DJGPP__ > #include <glib.h> > #define snprintf g_snprintf > #endif > 4) Add `-lglib' to `LIBSx =' lines in `src/Makefile'. > 5) Add `-I/dev/env/DJDIR/lib/glib/include' to `CXXFLAGS=' line in > `src/Makefile'. > Robert Riebisch > -- > BTTR Software > http://www.bttr-software.de/ > ------------------------------------------------------------------- > ------ This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Freedos-user mailing list > Freedos-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freedos-user ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user