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

RE: compiling outloud on 64 bit ubuntu



Hmm

This is sad to hear.

I guess I'll give it a go but it sounds tricky.

What other synths are people using?  I find that espeak whilst it sounds ok
says capital a bit much and isn't as fast as viavoice.

Do you know why your attempt failed in the end?

Can anyone else make any suggestions as to how to proceed?

Regards

Bart
-----Original Message-----
From: Bill Cox [mailto:waywardgeek@gmail.com] 
Sent: Wednesday, December 16, 2009 9:49 AM
To: Bart Bunting
Subject: Re: compiling outloud on 64 bit ubuntu

I worked pretty hard on it and eventually gave up.  The problem is you
have to link the entire think as a 32 bit library, because the IBM TTS
libraries are only available in 32-bit.  That forces you to build your
own TCL library in 32-bit to link with it.  I got it compiling, but
never running.

Bill

On Tue, Dec 15, 2009 at 4:29 PM, Bart Bunting <bart@ursys.com.au> wrote:
> Hi all,
>
>
>
> I am trying to get outloud to compile under 64 bit ubuntu.
>
>
>
> I have looked through the archives and can?t find the explanation I am
> looking for.  Back in July there was some discussion of the issue.
>
>
>
> I have installed the 32 bit compat libraries and tried the compile again.
>
> I also modified the cflags+ in the Makefile to:
>
> CFLAGS+= -g    -m32 -O2 -fPIC  -DPIC  -pedantic -ansi -Wall 
-Wno-long-long
> -I$(TCL_INCLUDE)
>
> Adding the ?m32 flag as suggested by Jason.
>
>
>
> Now when I compile I get the following:
>
>
>
> make
>
> g++ -g    -m32 -O2 -fPIC  -DPIC  -pedantic -ansi -Wall  -Wno-long-long
> -I/usr/include/tcl8.4   -c -o langswitch.o langswitch.cpp
>
> g++ -g    -m32 -O2 -fPIC  -DPIC  -pedantic -ansi -Wall  -Wno-long-long
> -I/usr/include/tcl8.4   -c -o atcleci.o atcleci.cpp
>
> g++ -shared -o atcleci.so langswitch.o atcleci.o -ltcl8.4 -lasound -ldl
>
> /usr/bin/ld: i386 architecture of input file `langswitch.o' is
incompatible
> with i386:x86-64 output
>
> /usr/bin/ld: i386 architecture of input file `atcleci.o' is incompatible
> with i386:x86-64 output
>
> langswitch.o: In function `convertFromUTF8(Tcl_Interp*, char const*)':
>
> /home/bart/emacs/lisp/emacspeak/servers/linux-outloud/langswitch.cpp:197:
> undefined reference to `operator new[](unsigned int)'
>
> /usr/bin/ld: final link failed: Invalid operation
>
> collect2: ld returned 1 exit status
>
> make: *** [atcleci.so] Error 1
>
>
>
> and if I add ?m32 to the libs line I get:
>
> g++ -shared -o atcleci.so langswitch.o atcleci.o -m32 -ltcl8.4 -lasound
> -ldl
>
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../libtcl8.4.so when searching
for
> -ltcl8.4
>
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/4.4.2/../../../libtcl8.4.a when searching
for
> -ltcl8.4
>
> /usr/bin/ld: skipping incompatible /usr/lib/libtcl8.4.so when searching
for
> -ltcl8.4
>
> /usr/bin/ld: skipping incompatible /usr/lib/libtcl8.4.a when searching for
> -ltcl8.4
>
> /usr/bin/ld: cannot find -ltcl8.4
>
> collect2: ld returned 1 exit status
>
> make: *** [atcleci.so] Error 1
>
>
>
> I am clearly missing something here.  Any suggestions?  Has anyone got
this
> working?
>
>
>
> Regards
>
>
>
> Bart
>
>

-----------------------------------------------------------------------------
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