#32 Compilation of src/speech.c fails on SVN May 25, 2009

gpsdrive-svn
open
nobody
cmake (3)
5
2009-05-25
2009-05-25
No

Compilation of speech.c of the SVN of 8am, Monday 25 May 2009 fails with the following errors:

% make
[ 1%] Built target friendsd
[ 3%] Building C object src/CMakeFiles/gpsdrive.dir/speech.o
/vol/src/apps/gpsdrive/gpsdrive-svn090525/src/speech.c: In function ‘speech_set_module’:
/vol/src/apps/gpsdrive/gpsdrive-svn090525/src/speech.c:218: error: ‘SPDVoice’ undeclared (first use in this function)
/vol/src/apps/gpsdrive/gpsdrive-svn090525/src/speech.c:218: error: (Each undeclared identifier is reported only once
/vol/src/apps/gpsdrive/gpsdrive-svn090525/src/speech.c:218: error: for each function it appears in.)
/vol/src/apps/gpsdrive/gpsdrive-svn090525/src/speech.c:218: error: ‘t_buf’ undeclared (first use in this function)
/vol/src/apps/gpsdrive/gpsdrive-svn090525/src/speech.c: In function ‘speech_init’:
/vol/src/apps/gpsdrive/gpsdrive-svn090525/src/speech.c:290: warning: assignment makes pointer from integer without a cast
make[2]: *** [src/CMakeFiles/gpsdrive.dir/speech.o] Error 1
make[1]: *** [src/CMakeFiles/gpsdrive.dir/all] Error 2
make: *** [all] Error 2
%

Build system is Fedora 10 with Fedora packages for Mapnik, SQLite, GDA, and speechd. Devel packages are installed.

Cheers, Beaky.

Discussion

  • Issue seems to be to do with SPDVoice not having been introduced until libspeechd version 0.6.7; package supplied with Fedora 10 is 0.6.6. Upgrading....

     
  • Looks like the necessary update to speech-director to 0.6.7 is to be included into Fedora 11. The SRPM can be retrieved from the fedoraproject.org site and builds OK on Fedora 10.

    That part of the code now builds OK.

    Cheers.
    Beaky.

     
  • Hamish B
    Hamish B
    2009-05-25

    • labels: --> cmake
    • milestone: --> gpsdrive-svn
     
  • Hamish B
    Hamish B
    2009-05-25

    yeah, if you look in the debian/control file you will see:
    libspeechd-dev (>= 0.6.7)

    we need to find a Fedora person to put together a modern .spec file. (hint)

    Hamish

     
  • Hamish B
    Hamish B
    2009-05-25

    min req ver of speechd added to the INSTALL file in SVN.

     
  • Hamish

    Once I have actually got a working version, I'd be happy to work on a Fedora spec file. I'm actually pretty familiar with those and since I'm doing the build on my laptop at the moment, I should be able to test a clean Fedora build on my server, which is also Fedora 10.

    Cheers
    Beaky

     
  • Hamish B
    Hamish B
    2009-05-27

    > I'd be happy to work on a Fedora spec file. I'm actually pretty familiar with those

    brilliant!

    I'd suggest to start with shutting off whatever causes you problems by editing DefineOptions.cmake to make a base working copy, then turn things back on one by one.

    Hamish