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

Re: Language switching

"T. V. Raman" <raman@users.sf.net> writes:

> Just applied the patch. Please make sure everything works as expected.

I am running into an issue here that could very well be my own fault.  

First, here are the errors I get:

libtool --mode=compile g++ -g   -O2 -fPIC  -DPIC -pedantic -ansi -Wall   -I/usr/include/tcl8.3 -I/usr/include/tclx8.3 -c langswitch.cpp
 g++ -g -O2 -fPIC -DPIC -pedantic -ansi -Wall -I/usr/include/tcl8.3 -I/usr/include/tclx8.3 -c langswitch.cpp  -fPIC -DPIC -o .libs/langswitch.o
langswitch.cpp:241: error: redefinition of 'struct langInfo'
langswitch.cpp:14: error: previous definition of 'struct langInfo'
langswitch.cpp:249: error: conflicting declaration 'LANGUAGE_MAX_LABEL'
langswitch.cpp:22: error: 'LANGUAGE_MAX_LABEL' has a previous declaration as '<anonymous enum> LANGUAGE_MAX_LABEL'
langswitch.cpp:252: error: redefinition of 'langInfo TheLanguages []'
langswitch.cpp:25: error: 'langInfo TheLanguages [33]' previously defined here
langswitch.cpp: In function 'ECILanguageDialect initLanguage(Tcl_Interp*, ECILanguageDialect*, int)':
langswitch.cpp:292: error: redefinition of 'ECILanguageDialect initLanguage(Tcl_Interp*, ECILanguageDialect*, int)'
langswitch.cpp:65: error: 'ECILanguageDialect initLanguage(Tcl_Interp*, ECILanguageDialect*, int)' previously defined here
langswitch.cpp: In function 'const char* getAnnotation(Tcl_Interp*, int*)':
langswitch.cpp:353: error: redefinition of 'const char* getAnnotation(Tcl_Interp*, int*)'
langswitch.cpp:169: error: 'const char* getAnnotation(Tcl_Interp*, int*)' previously defined here
langswitch.cpp: In function 'char* convertFromUTF8(Tcl_Interp*, const char*)':
langswitch.cpp:373: error: redefinition of 'char* convertFromUTF8(Tcl_Interp*, const char*)'
langswitch.cpp:189: error: 'char* convertFromUTF8(Tcl_Interp*, const char*)' previously defined here
make: *** [langswitch.lo] Error 1

Could this be caused by the changes I have to make to my
linux-outloud/Makefile?  Here is the top of the file, where my changes

#$Id: Makefile 3963 2006-05-31 15:42:51Z raman $
PREFIX = /home/rdc
libparentdir = ${PREFIX}/share/emacs/site-lisp
libdir =$(libparentdir)/emacspeak/servers/linux-outloud
CFLAGS=   -g   -O2 -fPIC  -DPIC -pedantic -ansi -Wall   -I/usr/include/tcl8.3 -I/usr/include/tclx8.3
LIBS= -ltclx8.3 -ltcl8.3 -ldl

Thanks for any help,
Robert D. Crawford                                      rdc1x@comcast.net

Q:	What do you call the money you pay to the government when
	you ride into the country on the back of an elephant?
A:	A howdah duty.

To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help"

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

priestdo@cs.vassar.edu No Soliciting!

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

Emacspeak Files | Emacspeak Blog | Search the archive