×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    2

    Errors compiling speex1.2-rc1 in Symbian 3th edition SDK

    Hi, I'm trying to compile speex1.2-rc1 for Symbian 3th edition.
    I get some errors:

    ***Invoking bldmake command
    perl.exe -S bldmake.pl bldfiles winscw

    \Users\Maurizio\University\ProgettoInterdisciplinare\speex-1.2rc1\speex-1.2rc1\symbian\BLD.INF FATAL ERROR(S):
    \Users\Maurizio\University\ProgettoInterdisciplinare\speex-1.2rc1\speex-1.2rc1\symbian\BLD.INF(37) : Exported source file \Users\Maurizio\University\ProgettoInterdisciplinare\speex-1.2rc1\speex-1.2rc1\include\speex\speex_config_types.h not found

    === BLDMAKE Command failed with error code 1 ===
    ***Stopping. Check the Problems view or Console output for errors.


    This is because in the bld.inf file there is:

    ..\include\speex\speex_config_types.h \epoc32\include\speex\speex_config_types.h
    while in that folder there is

    speex_config_types.h.in

    I tried to rename the file in
    speex_config_types.h
    And then I got this error:

    ***Invoking bldmake command
    perl.exe -S bldmake.pl bldfiles winscw

    Total Time: 0 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \Users\Maurizio\University\ProgettoInterdisciplinare\speex-1.2rc1\speex-1.2rc1\symbian\ export
    make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Users\Maurizio\University\ProgettoInterdisciplinare\speex-1.2rc1\speex-1.2rc1\symbian\EXPORT.make" EXPORT VERBOSE=-s
    make: Nothing to be done for `EXPORT'.

    Total Time: 1 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL \Users\Maurizio\University\ProgettoInterdisciplinare\speex-1.2rc1\speex-1.2rc1\symbian\ library winscw
    make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Users\Maurizio\University\ProgettoInterdisciplinare\speex-1.2rc1\speex-1.2rc1\symbian\WINSCW.make" LIBRARY VERBOSE=-s
    make -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Users\Maurizio\University\ProgettoInterdisciplinare\speex-1.2rc1\speex-1.2rc1\symbian\SPEEX\WINSCW\SPEEX.WINSCW" LIBRARY
    bits.c
    ..\libspeex\bits.c:48: declaration syntax error
    ..\libspeex\bits.c:49: declaration syntax error
    ..\libspeex\bits.c:54: declaration syntax error
    ..\libspeex\bits.c:56: declaration syntax error
    ..\libspeex\bits.c:58: identifier 'speex_bits_reset(struct SpeexBits *)' redeclared
    ..\libspeex\bits.c:58: was declared as: 'void (struct SpeexBits *)'
    ..\libspeex\bits.c:58: now declared as: 'int (...)'
    ..\libspeex\bits.c:59: identifier expected
    ..\libspeex\bits.c:59: '{' expected
    ..\libspeex\bits.c:61: expression syntax error
    ..\libspeex\bits.c:64: expression syntax error
    ..\libspeex\bits.c:68: illegal implicit conversion from 'int' to
    ..\libspeex\bits.c:68: 'struct SpeexBits *'
    ..\libspeex\bits.c:71: declaration syntax error

    ..\libspeex\bits.c:72: declaration syntax error
    User break, cancelled...
    ..\libspeex\bits.c:76: declaration syntax error
    ..\libspeex\bits.c:78: declaration syntax error
    ..\libspeex\bits.c:79: declaration syntax error
    ..\libspeex\bits.c:80: declaration syntax error
    ..\libspeex\bits.c:81: declaration syntax error
    ..\libspeex\bits.c:83: declaration syntax error
    ..\libspeex\bits.c:85: declaration syntax error
    ..\libspeex\bits.c:86: declaration syntax error
    ..\libspeex\bits.c:90: declaration syntax error
    ..\libspeex\bits.c:92: declaration syntax error
    ..\libspeex\bits.c:93: declaration syntax error
    ..\libspeex\bits.c:95: declaration syntax error
    ..\libspeex\bits.c:96: declaration syntax error
    ..\libspeex\bits.c:97: declaration syntax error
    ..\libspeex\bits.c:98: declaration syntax error
    ..\libspeex\bits.c:99: declaration syntax error
    ..\libspeex\bits.c:100: declaration syntax error
    ..\libspeex\bits.c:102: declaration syntax error
    ..\libspeex\bits.c:103: declaration syntax error
    ..\libspeex\bits.c:109: declaration syntax error
    ..\libspeex\bits.c:110: declaration syntax error
    ..\libspeex\bits.c:141: declaration syntax error
    ..\libspeex\bits.c:142: declaration syntax error
    ..\libspeex\bits.c:143: declaration syntax error
    ..\libspeex\bits.c:144: declaration syntax error
    ..\libspeex\bits.c:145: declaration syntax error
    ..\libspeex\bits.c:156: declaration syntax error
    ..\libspeex\bits.c:157: declaration syntax error
    ..\libspeex\bits.c:161: declaration syntax error
    ..\libspeex\bits.c:162: declaration syntax error
    ..\libspeex\bits.c:164: declaration syntax error
    ..\libspeex\bits.c:165: declaration syntax error
    ..\libspeex\bits.c:175: declaration syntax error
    ..\libspeex\bits.c:179: declaration syntax error
    ..\libspeex\bits.c:181: identifier 'speex_bits_flush(struct SpeexBits *)' redeclared
    ..\libspeex\bits.c:181: was declared as: 'void (struct SpeexBits *)'
    ..\libspeex\bits.c:181: now declared as: 'int (...)'
    ..\libspeex\bits.c:182: illegal function definition
    ..\libspeex\bits.c:183: undefined identifier 'i'
    ..\libspeex\bits.c:183: undefined identifier 'i'
    ..\libspeex\bits.c:183: undefined identifier 'i'
    ..\libspeex\bits.c:184: a pointer/array type was expected for this operation instead of 'int'
    ..\libspeex\bits.c:185: a pointer/array type was expected for this operation instead of 'int'
    ..\libspeex\bits.c:188: declaration syntax error
    ..\libspeex\bits.c:189: declaration syntax error
    ..\libspeex\bits.c:195: declaration syntax error
    ..\libspeex\bits.c:196: declaration syntax error
    ..\libspeex\bits.c:197: declaration syntax error
    ..\libspeex\bits.c:198: identifier 'speex_bits_insert_terminator(struct SpeexBits *)' redeclared
    ..\libspeex\bits.c:198: was declared as: 'void (struct SpeexBits *)'
    ..\libspeex\bits.c:198: now declared as: 'int (...)'
    ..\libspeex\bits.c:199: ';' expected
    ..\libspeex\bits.c:200: a pointer/array type was expected for this operation instead of 'int'
    ..\libspeex\bits.c:201: a pointer/array type was expected for this operation instead of 'int'
    ..\libspeex\bits.c:203: undefined identifier 'max_nchars'
    ..\libspeex\bits.c:206: undefined identifier 'i'
    ..\libspeex\bits.c:206: undefined identifier 'i'
    make[1]: *** [\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Users\Maurizio\University\ProgettoInterdisciplinare\speex-1.2rc1\speex-1.2rc1\symbian\SPEEX\WINSCW\udeb\bits.o] Error 2
    make: *** [LIBRARYSPEEX] Error 2
    Could someone help me?
    Thank you.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: Errors compiling speex1.2-rc1 in Symbian 3th edition SDK

    It may easily happen that you still have to execute the 'configure' script first (http://www.speex.org/docs/manual/spe...ual/node5.html). If you have some Linux/Unix box, you can try doing this configuration step there and get back the configured result, otherwise you can experiment with Cygwin/Mingw/etc.
    Or even "execute" the script manually (read what it would do and do it).

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    2

    Re: Errors compiling speex1.2-rc1 in Symbian 3th edition SDK

    Thank you,
    I executed the
    ./configure
    make
    make install
    without errors.

    The problem about the file "speex_config_types.h" is solved.

    Anyway I still got the other errors.

    I have Carbide 2.3.0.
    After the installation I import the Bld.inf file in the Symbian folder of speex1.2-rc1 as a project in Carbide with 3th edition sdk.

    When I build the project I got the follow console output:

    Code:
    ***Building project "speex" for configuration "Emulator Debug (WINSCW) [S60_3rd_FP2_SDK_v1.1]"
    
    ***Printing environment variables modified from default:
    MWCSYM2INCLUDES=C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;+C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK;
    PATH=C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Tools\Command_Line_Tools;C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\tools;C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\gcc\bin;C:/Program Files/Nokia/Carbide.c++ v2.3/jre/bin/client;C:/Program Files/Nokia/Carbide.c++ v2.3/jre/bin;C:\Perl\bin\;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Tools\Command_Line_Tools;C:\MCC18\bin;C:\MCC18\mpasm;C:\MCC18\bin;C:\Program Files\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microchip\MPLAB C32 Suite\bin;C:\Program Files\HI-TECH Software\PICC\PRO\9.65\bin;C:\Microchip Solutions\Microchip\MPLAB C32 Suite\bin;C:\Mircochip Solutions\Microchip\MPLAB C32 Suite\bin;C:\Mircochip Solutions\Microchip\MPLAB IDE\VDI;;C:\Program Files\Common Files\Symbian\tools;C:\Program Files\CSL Arm Toolchain\bin;C:\MCC18\mpasm;C:\MCC18\bin;C:\MCC18\mpasm;C:\MCC18\bin;C:\MCC18\bin;C:\MCC18\mpasm;C:\MCC18\bin;C:\MCC18\mpasm;C:\MCC18\bin;C:\cygwin\bin;
    =::=::\
    MWCINCLUDES=C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;+C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;C:\Program Files\Nokia\Carbide.c++ v2.3\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK;
    EPOCROOT=\S60\devices\S60_3rd_FP2_SDK_v1.1\
    NO_DEPENDENCIES=-nd
    MAKE=make -j 4
    
    Working Directory: C:/Users/Maurizio/University/ProgettoInterdisciplinare/speex/symbian
    
    
    ***Invoking bldmake command
    perl.exe -S bldmake.pl bldfiles winscw  
    
    Total Time: 2 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Users\Maurizio\University\ProgettoInterdisciplinare\speex\symbian\ export  
      make -r  -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Users\Maurizio\University\ProgettoInterdisciplinare\speex\symbian\EXPORT.make" EXPORT VERBOSE=-s
    copy "\Users\Maurizio\University\ProgettoInterdisciplinare\speex\include\speex\speex_config_types.h" "\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\include\speex\speex_config_types.h"
            1 file(s) copied.
    
    Total Time: 3 sec
    
    ***Generating abld makefile.
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Users\Maurizio\University\ProgettoInterdisciplinare\speex\symbian\ makefile winscw speex  
      make -r  -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Users\Maurizio\University\ProgettoInterdisciplinare\speex\symbian\WINSCW.make" MAKEFILESPEEX VERBOSE=-s
    perl -S makmake.pl -nd -D \Users\Maurizio\University\ProgettoInterdisciplinare\speex\symbian\SPEEX WINSCW  
    
    Total Time: 4 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Users\Maurizio\University\ProgettoInterdisciplinare\speex\symbian\ library winscw  
      make -r  -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Users\Maurizio\University\ProgettoInterdisciplinare\speex\symbian\WINSCW.make" LIBRARY VERBOSE=-s
    make -s  -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Users\Maurizio\University\ProgettoInterdisciplinare\speex\symbian\SPEEX\WINSCW\SPEEX.WINSCW" LIBRARY
    Creating \s60\devices\s60_3rd_fp2_sdk_v1.1\epoc32\build\users\maurizio\university\progettointerdisciplinare\speex\symbian\speex\winscw\udeb
    bits.c
    ..\libspeex\bits.c:48: declaration syntax error
    ..\libspeex\bits.c:49: declaration syntax error
    ..\libspeex\bits.c:54: declaration syntax error
    ..\libspeex\bits.c:56: declaration syntax error
    ..\libspeex\bits.c:58: identifier 'speex_bits_reset(struct SpeexBits *)' redeclared
    ..\libspeex\bits.c:58: was declared as: 'void (struct SpeexBits *)'
    ..\libspeex\bits.c:58: now declared as: 'int (...)'
    ..\libspeex\bits.c:59: identifier expected
    ..\libspeex\bits.c:59: '{' expected
    ..\libspeex\bits.c:61: expression syntax error
    ..\libspeex\bits.c:64: expression syntax error
    ..\libspeex\bits.c:68: illegal implicit conversion from 'int' to
    ..\libspeex\bits.c:68: 'struct SpeexBits *'
    ..\libspeex\bits.c:71: declaration syntax error
    ..\libspeex\bits.c:72: declaration syntax error
    ..\libspeex\bits.c:76: declaration syntax error
    ..\libspeex\bits.c:78: declaration syntax error
    ..\libspeex\bits.c:79: declaration syntax error
    ..\libspeex\bits.c:80: declaration syntax error
    ..\libspeex\bits.c:81: declaration syntax error
    ..\libspeex\bits.c:83: declaration syntax error
    ..\libspeex\bits.c:85: declaration syntax error
    ..\libspeex\bits.c:86: declaration syntax error
    ..\libspeex\bits.c:90: declaration syntax error
    ..\libspeex\bits.c:92: declaration syntax error
    ..\libspeex\bits.c:93: declaration syntax error
    ..\libspeex\bits.c:95: declaration syntax error
    ..\libspeex\bits.c:96: declaration syntax error
    ..\libspeex\bits.c:97: declaration syntax error
    ..\libspeex\bits.c:98: declaration syntax error
    ..\libspeex\bits.c:99: declaration syntax error
    ..\libspeex\bits.c:100: declaration syntax error
    ..\libspeex\bits.c:102: declaration syntax error
    ..\libspeex\bits.c:103: declaration syntax error
    ..\libspeex\bits.c:109: declaration syntax error
    ..\libspeex\bits.c:110: declaration syntax error
    ..\libspeex\bits.c:141: declaration syntax error
    ..\libspeex\bits.c:142: declaration syntax error
    ..\libspeex\bits.c:143: declaration syntax error
    ..\libspeex\bits.c:144: declaration syntax error
    ..\libspeex\bits.c:145: declaration syntax error
    ..\libspeex\bits.c:156: declaration syntax error
    ..\libspeex\bits.c:157: declaration syntax error
    ..\libspeex\bits.c:161: declaration syntax error
    ..\libspeex\bits.c:162: declaration syntax error
    ..\libspeex\bits.c:164: declaration syntax error
    ..\libspeex\bits.c:165: declaration syntax error
    ..\libspeex\bits.c:175: declaration syntax error
    ..\libspeex\bits.c:179: declaration syntax error
    ..\libspeex\bits.c:181: identifier 'speex_bits_flush(struct SpeexBits *)' redeclared
    ..\libspeex\bits.c:181: was declared as: 'void (struct SpeexBits *)'
    ..\libspeex\bits.c:181: now declared as: 'int (...)'
    ..\libspeex\bits.c:182: illegal function definition
    ..\libspeex\bits.c:183: undefined identifier 'i'
    ..\libspeex\bits.c:183: undefined identifier 'i'
    ..\libspeex\bits.c:183: undefined identifier 'i'
    ..\libspeex\bits.c:184: a pointer/array type was expected for this operation instead of 'int'
    ..\libspeex\bits.c:185: a pointer/array type was expected for this operation instead of 'int'
    ..\libspeex\bits.c:188: declaration syntax error
    ..\libspeex\bits.c:189: declaration syntax error
    ..\libspeex\bits.c:195: declaration syntax error
    ..\libspeex\bits.c:196: declaration syntax error
    ..\libspeex\bits.c:197: declaration syntax error
    ..\libspeex\bits.c:198: identifier 'speex_bits_insert_terminator(struct SpeexBits *)' redeclared
    ..\libspeex\bits.c:198: was declared as: 'void (struct SpeexBits *)'
    ..\libspeex\bits.c:198: now declared as: 'int (...)'
    ..\libspeex\bits.c:199: ';' expected
    ..\libspeex\bits.c:200: a pointer/array type was expected for this operation instead of 'int'
    ..\libspeex\bits.c:201: a pointer/array type was expected for this operation instead of 'int'
    ..\libspeex\bits.c:203: undefined identifier 'max_nchars'
    
    [...]

Similar Threads

  1. Camara in emulator for SDK Symbian 3. edition
    By madsbjoern in forum Symbian
    Replies: 1
    Last Post: 2007-01-03, 17:35
  2. NT 2000 and Series 60 SDK 1.0 for Symbian OS, Nokia edition?
    By rikymalti1 in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-06-26, 11:39
  3. C++Builder Mobile Edition doesn't recognize Symbian SDK
    By martin.novak in forum Symbian Tools & SDKs
    Replies: 9
    Last Post: 2003-04-14, 10:44
  4. Nokia 9200 Series Symbian OS SDK (Java edition) WHERE TO GET THIS
    By MeanSmilePro in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2003-04-06, 12:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×