[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnuspeech-contact] libGnuSpeech.so: undefined reference to `GSCurre
From: |
Robert Slover |
Subject: |
Re: [gnuspeech-contact] libGnuSpeech.so: undefined reference to `GSCurrentContext' |
Date: |
Sat, 24 Mar 2012 18:06:02 -0400 |
I haven't been able to mess with GNUStep in quite a while, but still read the
lists. I don't believe GSCurrentContext() has gone anywhere, and it is still
in the documentation last generated on September 29 (
http://www.gnustep.org/resources/documentation/Developer/Gui/Reference/Functions.html#function$GSCurrentContext
). However, it is part of the GUI library, and I do not see '-lgnustep-gui'
in the linker flags. IIRC, that's to be expected for a "tool"; generally that
means "without a GUI". It seems strange to me that libGnuSpeech.so would need
GUI symbols. Still, you might try adding the GUI library to the linker flags,
and see where that gets you.
--Robert
On Mar 24, 2012, at 5:22 PM, bigd wrote:
> Hi,
> Trying to build r669 of Gnuspeech on Linux. I've followed the instructions in
> the install file, and got this error when it gets to building GnuSpeechCLI.
> Went in there and
> did a `make messages=yes', in case it might help. Anyone have some idea
> what's going on or how to fix it? I see it hasn't been modified in a while,
> maybe something in
> GNUStep got changed? Anyway, below is what I get when compiling GnuSpeechCLI:
> This is gnustep-make 2.6.1. Type 'make print-gnustep-make-help' for help.
> cp -u ../../Frameworks/GnuSpeech/TextProcessing/2.0eMainDictionary.dict .
> cp -u ../../Frameworks/GnuSpeech/TextProcessing/SpecialAcronyms.plist .
> cp -u ../../Frameworks/GnuSpeech/TextProcessing/TTSSuffixList.txt .
> Making all for tool GnuSpeechCLI...
> i686-pc-linux-gnu-gcc -rdynamic -Wl,-O1 -Wl,--as-needed -shared-libgcc
> -fexceptions -fgnu-runtime -o obj/GnuSpeechCLI \
> ./obj/GnuSpeechCLI.obj/main.m.o
> ./obj/GnuSpeechCLI.obj/PhoneToSpeech.m.o
> ./obj/GnuSpeechCLI.obj/TextToPhone.m.o
> ./obj/GnuSpeechCLI.obj/TextToSpeech.m.o \
> -L/home/bigd/GNUstep/Library/Libraries -L/usr/local/lib
> -L/usr/lib -lMonetExtensions -lGnuSpeech -lGnuSpeechTube -lgnustep-base
> -lpthread -lobjc
> -lm
> /home/bigd/GNUstep/Library/Libraries/libGnuSpeech.so: undefined reference to
> `GSCurrentContext'
> collect2: ld returned 1 exit status
> make[3]: *** [obj/GnuSpeechCLI] Error 1
> make[2]: *** [internal-tool-all_] Error 2
> make[1]: *** [GnuSpeechCLI.all.tool.variables] Error 2
> make: *** [internal-all] Error 2
>
> I'm using GNUStep 1.20.1 on Gentoo, with gcc 4.5.3.
>
> Thanks,
> KJ4UFX
> {.i doi .tcikoritys. mi cuxna ba'e do}
>
>
> _______________________________________________
> gnuspeech-contact mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnuspeech-contact