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

Re: Language switching



"T. V. Raman" <raman@xxxxxxxxxxx> 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
are:

#$Id: Makefile 3963 2006-05-31 15:42:51Z raman $
CC=g++
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,
rdc
-- 
Robert D. Crawford                                      rdc1x@xxxxxxxxxxx

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@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"



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