[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

start.S undefined reference to `main'



I'm attempting to compile the espeak server. I had to apply some changes to make the code compile at all, I found it in an archived post, this should be fixed by default. But now there are problems linking.


-----   Diff   -----

572c572
<       Tcl_SetVar2(interp,"langalias", (char*)(voices[i]->languages), buffer_i, 0);
---
>       Tcl_SetVar2(interp,"langalias", const_cast<char*>(voices[i]->languages), buffer_i, 0);
596c596
<       const char* aLangCode = 1 + voices[i]->languages;
---
>       const char* aLangCode = 1 + const_cast<char*>(voices[i]->languages);
607c607
<       Tcl_SetVar2(interp, "langlabel", buffer_j, (char*)(voices[i]->name), 0);
---
>       Tcl_SetVar2(interp, "langlabel", buffer_j, const_cast<char*>(voices[i]->name), 0);

----------


----- Compile Errors -----

libtool --mode=compile g++ -O2 -I/usr/include/espeak -fPIC  -DPIC -pedantic  -Wall -I/usr/include/tcl8.4 -c tclespeak.cpp
libtool: compile:  g++ -O2 -I/usr/include/espeak -fPIC -DPIC -pedantic -Wall -I/usr/include/tcl8.4 -c tclespeak.cpp  -fPIC -DPIC -o .libs/tclespeak.o
In file included from tclespeak.cpp:40:
/usr/include/tcl8.4/tcl.h:416: error: ISO C++ 1998 does not support ‘long long’
/usr/include/tcl8.4/tcl.h:417: error: ISO C++ 1998 does not support ‘long long’
tclespeak.cpp: In function ‘void initLanguage(Tcl_Interp*)’:
tclespeak.cpp:559: warning: deprecated conversion from string constant to ‘char*’
make: *** [tclespeak.lo] Error 1


If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog