Skip to Content.
Sympa Menu

emacspeak - [Emacspeak] How can I compile Emacspeak when I get failed to set dynamic section sizes: bad value?

Subject: Emacspeak discussion list

List archive

[Emacspeak] How can I compile Emacspeak when I get failed to set dynamic section sizes: bad value?


Chronological Thread 
  • From: Esben Stien <b0ef AT esben-stien.name>
  • To: emacspeak AT emacspeak.net
  • Subject: [Emacspeak] How can I compile Emacspeak when I get failed to set dynamic section sizes: bad value?
  • Date: Sun, 01 Sep 2024 15:02:20 +0200


I have trouble getting Emacspeak to work, so I will try to compile it
and see if it makes a difference, but of course, I ran into problems
compiling it;)

I'm on NixOS.

$ make CXXFLAGS="-fPIC
-I/nix/store/1d7l8d6wp74izjxq8q47d2nvg9qy9ald-tcl-8.6.13/include
-I/nix/store/l1xbmrjhnw7wh59vlpadryddq0n639c8-espeak-ng-1.51.1/include"
LDFLAGS="-L/nix/store/1d7l8d6wp74izjxq8q47d2nvg9qy9ald-tcl-8.6.13/lib
-L/nix/store/l1xbmrjhnw7wh59vlpadryddq0n639c8-espeak-ng-1.51.1/lib" espeak
g++ -L/nix/store/1d7l8d6wp74izjxq8q47d2nvg9qy9ald-tcl-8.6.13/lib
-L/nix/store/l1xbmrjhnw7wh59vlpadryddq0n639c8-espeak-ng-1.51.1/lib -shared -o
tclespeak.so tclespeak.o -ltcl8.6 -lespeak-ng
/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin/ld:
tclespeak.o: relocation R_X86_64_32 against `.rodata' can not be used when
making a shared object; recompile with -fPIC
/nix/store/7v7g86ml0ri171gfcrs1d442px5bi1p3-binutils-2.41/bin/ld: failed to
set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:27: tclespeak.so] Error 1
Can't build espeak server!

Any pointers as to what I can try here?;)

--
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
sip:b0ef@ e e
jid:b0ef@ n n



Archive powered by MHonArc 2.6.19+.

Top of Page