Missing Separator Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/5/4 Samer Faour <smf18 at aub.edu.lb>:
> No, not using Vista. Here are the relevant lines:
>
> Line 74:
> INCDIR = $(INCLUDE_OPTION) ..\pjlib\include $(INCLUDE_OPTION)
> ..\..\..\Symbian\9.1\S60_3rd_MR_3\EPOC32\include $(INCLUDE_OPTION)
> ..\..\..\Symbian\9.1\S60_3rd_MR_3\EPOC32\include\libc
> $(INCLUDE_OPTION)
> ..\..\..\Symbian\9.1\S60_3rd_MR_3\epoc32\include\variant
> $(INCLUDE_OPTION) "operable program or batch file.
>
> Line 75:
> ..\lib\gcc\arm-none-symbianelf\3.4.3\include"
>

Something strange with line 74:
$(INCLUDE_OPTION) *"operable program or batch file.*
there should be no such kind of string,
then the double quote is closed in line 75 which means
*"operable program or batch file.*
and
*..\lib\gcc\arm-none-symbianelf\3.4.3\include"*
interpreted as single entry of (path) string.

So the makefile is broken.

>
> Well OK a few interesting fixes. I noticed that
> arm-none-symbianelf-gcc-3.4.3 is missing the .exe extension at the end
> in the C:\Program Files\CSL Arm Toolchain\bin which is obviously
> something significant since it is a binary and should be a .exe and
> not a .3 extension, but it didn't solve the error.

hm.. this is seems to be different problem, anyway it's been solved.

>
> Now I tried building for the emulator (which should work) but there
> was a problem with the includes.
>
> 1st there were two errors in errno.c which were resolved by copying
> portaudio.h from "third_party\portaudio\include" to
> "pjmedia\src\pjmedia"
>
> Then, another error appeared and was resolved by copying
> resamplesubs.h from "third_party\resample\include" to
> "pjmedia\src\pjmedia"
>

This should be related to the makefile problems.
The makefile is not generated properly, so the include paths and macros
definitions may be broken.

> This resulted in 19 errors and 12 warnings:
>
> Errors caused tool to abort.
> mwldsym2.exe: referenced from '_pjsua_media_subsys_init' in
> pjsua_media.c:85 (pjsua_lib.lib)
> mwldsym2.exe: Undefined symbol: '_pjmedia_codec_ilbc_init'
> mwldsym2.exe: referenced from '_pjsua_media_subsys_init' in
> pjsua_media.c:113 (pjsua_lib.lib)
> mwldsym2.exe: Undefined symbol: '_pjmedia_codec_g722_init'
> mwldsym2.exe: referenced from '_pjsua_media_subsys_init' in
> pjsua_media.c:143 (pjsua_lib.lib)
> mwldsym2.exe: Undefined symbol: '_pjmedia_codec_l16_init'
> mwldsym2.exe: referenced from '_pjsua_media_subsys_init' in
> pjsua_media.c:153 (pjsua_lib.lib)
> make[1]: ***
> [\Symbian\9.1\S60_3rd_MR_3\EPOC32\RELEASE\WINSCW\UDEB\symbian_ua.exe]
> Error 1
> make: *** [TARGETSYMBIAN_UA] Error 2
> mwldsym2.exe: Undefined symbol: '_pjmedia_codec_speex_deinit'
> mwldsym2.exe: referenced from '_pjsua_media_subsys_destroy' in
> pjsua_media.c:501 (pjsua_lib.lib)
> mwldsym2.exe: Undefined symbol: '_pjmedia_codec_g722_deinit'
> mwldsym2.exe: referenced from '_pjsua_media_subsys_destroy' in
> pjsua_media.c:513 (pjsua_lib.lib)
> mwldsym2.exe: Undefined symbol: '_pjmedia_codec_l16_deinit'
> mwldsym2.exe: referenced from '_pjsua_media_subsys_destroy' in
> pjsua_media.c:517 (pjsua_lib.lib)
> mwldsym2.exe: Undefined symbol: '_pjmedia_srtp_setting_default'
> mwldsym2.exe: referenced from '_pjsua_media_channel_init' in
> pjsua_media.c:801 (pjsua_lib.lib)
> mwldsym2.exe: Undefined symbol: '_pjmedia_transport_srtp_create'
> mwldsym2.exe: referenced from '_pjsua_media_channel_init' in
> pjsua_media.c:804 (pjsua_lib.lib)
> mwldsym2.exe: Undefined symbol: '_Pa_GetErrorText'
> mwldsym2.exe: referenced from '_pjmedia_strerror' in errno.c:188
(pjsdp.lib)
> mwldsym2.exe: Undefined symbol: 'char const * get_libsrtp_errstr(int)
> (?get_libsrtp_errstr@@YAPBDH at Z)'
> mwldsym2.exe: referenced from '_pjmedia_strerror' in errno.c:206
(pjsdp.lib)
> mwldsym2.exe: Undefined symbol: '_res_GetXOFF'
> mwldsym2.exe: referenced from '_pjmedia_resample_create' in
> resample_resample.c:88 (pjmedia.lib)
> mwldsym2.exe: Undefined symbol: '_res_Resample'
> mwldsym2.exe: referenced from '_pjmedia_resample_run' in
> resample_resample.c:192 (pjmedia.lib)
> mwldsym2.exe: Undefined symbol: '_res_SrcLinear'
> mwldsym2.exe: referenced from '_pjmedia_resample_run' in
> resample_resample.c:201 (pjmedia.lib)
> mwldsym2.exe: Undefined symbol: '_speex_aec_cancel_echo'
> mwldsym2.exe: referenced from '.data' in echo_common.obj (pjmedia.lib)
> mwldsym2.exe: Undefined symbol: '_speex_aec_capture'
> mwldsym2.exe: referenced from '.data' in echo_common.obj (pjmedia.lib)
> mwldsym2.exe: Undefined symbol: '_speex_aec_playback'
> mwldsym2.exe: referenced from '.data' in echo_common.obj (pjmedia.lib)
> mwldsym2.exe: Undefined symbol: '_speex_aec_destroy'
> mwldsym2.exe: referenced from '.data' in echo_common.obj (pjmedia.lib)
> mwldsym2.exe: Undefined symbol: '_speex_aec_create'
> mwldsym2.exe: referenced from '.data' in echo_common.obj (pjmedia.lib)
> make[1]: Leaving directory `C:/project/AISEbiBenny/build.symbian'
>

This also seems to be related to the makefile problems.
Here, the macros definitions seems to be improperly defined
since by default, Speex APIs are not called in the symbian build.

> My only conclusion is that the includes and paths need to be fixed
> somehow. This is not a programming environment issue. Command line
> tools give the same problems.
>
> Sorry for being a burden. Maybe I could revert the SVN to the last
> successful Symbian build if you know which revision that was. Thanks.
>

I would prefer to suggest you to fix the makefile first:
1. change active dir to 'build.symbian' in the command prompt.
2. clean the intermediate files by 'abld clean'
3. clean the makefiles first by 'bldmake clean'
4. rebuild the makefiles by 'bldmake bldfiles'
5. make sure the generated makefiles are fine, at least check the PJLIB.GCCE
line 74-75 above, check if the strange string is gone.
6. if makefiles are fine, continue the compilation using 01.bat (or
Carbide).

I have also just tried to clean and rebuild the symbian port using the
latest SVN and it built fine.

Regards,
nanang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080504/619862dc/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux