kripken/speak.js — Issue #18: Silent build failure
Author: icidasset
Created: 2012-02-28 10:10:31+00:00
State: open

I want to build speak.js from source with multiple languages, only tried to add french for now, but somehow it fails silently.

This is the last part of the output I get:

```bash
espeak.cpp:358:4: warning: conversion from string literal to 'char *' is deprecated
[-Wdeprecated-writable-strings]
{"ipa", no_argument, 0, 0x10a},
^
12 warnings generated.
mv libespeak.so libespeak.so.1.1.45
/bin/ln -sf libespeak.so.1.1.45 libespeak.so.1
/bin/ln -sf libespeak.so.1 libespeak.so
/root/sources/emscripten/em++ -o espeak espeak.o -lstdc++ -L . -lespeak
llvm-ld: error: Cannot link in module '/tmp/tmpkzZ3iN/libespeak.a(x_speak_lib.o)': Linking globals named '_Z13GetFileLengthPKc': symbol multiply defined!
emscripten
root@debian:~/sources/speak.js/src# ls -l
total 8772
-rwxrwxrwx 1 root root 3562 Dec 13 01:13 Makefile
-rwxrwxrwx 1 root root 71 Dec 13 01:13 StdAfx.h
-rwxr-xr-x 1 root root 86 Dec 13 04:16 a.out
…
```

(Don't mind the file timestamp, it doesn't update)