How can I run loudmouth on symbian?

27 views
Skip to first unread message

解冰

unread,
Aug 24, 2009, 6:35:30 AM8/24/09
to Loudmouth Dev
I have installed symbian sdk 3rd and carbide C++ on my computer.Now I
want to use Loudmouth on them.How can I do?What change should be made?
Can anyone give me a detailed answer?

Ganesh Kundapur

unread,
Aug 24, 2009, 10:49:58 AM8/24/09
to loudmo...@googlegroups.com
Hi,
  You need to port the loudmouth on symbian to use it. Put the EXPORT_C and IMPORT_C to the exported api's in header file and in implementation file.

Otherwise install the OpenC package from the forum.nokia.com which may contain ported loudmouth.

Br,
Ganesh

解冰

unread,
Aug 24, 2009, 10:37:05 PM8/24/09
to Loudmouth Dev
Thank you for your answer!I have done just as you say and installed
Open C package.But I still don't know how to compile them.
I have downloaded the loudmouth-1.4.3.tar.bz2 and loudmouth-1.4.3-
win.zip.Oberviously,loudmouth-1.4.3-win.zip can't be used on
symbian.Now the problem is how can I port loudmouth on symbian?How to
port the lots of .c and .h files on symbian?
Thank you!
> > Can anyone give me a detailed answer?- 隐藏被引用文字 -
>
> - 显示引用的文字 -

Ganesh Kundapur

unread,
Aug 25, 2009, 3:01:22 AM8/25/09
to loudmo...@googlegroups.com
1.4.1 loudmouth port is attached with this mail.
loudmouth.rar

Dennis Schridde

unread,
Aug 25, 2009, 3:02:09 AM8/25/09
to loudmo...@googlegroups.com
Am Dienstag, 25. August 2009 04:37:05 schrieb 解冰:
> Now the problem is how can I port loudmouth on symbian?How to
> port the lots of .c and .h files on symbian?
First step: Try to compile and fix all errors.
Second step: Try to run unit tests and fix all errors.
Third step: Try to run an app and fix all errors.

That is how I would do it.

Regards,
Dennis

signature.asc

解冰

unread,
Aug 26, 2009, 5:54:15 AM8/26/09
to Loudmouth Dev
Hello everyone
Thank you for your answers.
I created a new DLL-type project and put all the .c and .h files in
proper directories.Beside this,I create a configure.h manually and
compile them.Now I face a problem.
In some files such as "lm-message-node.h",there are some words:
#if !defined(LM_INSIDE_LOUDMOUTH_H)&&!defined(LM_COMPILATION)
#error "only <loudmouth/loudmouth.h> can be included directly,this
file may disappear or change contents"
#endif

when I build the project,errors occurs.
The errors are:
1 preprocessor #error directive
2 c:\symbian\carbide\workspace\two\src\lm-sasl.c:28
3 #error "only <loudmouth/loudmouth.h> can be included directly,this
file may disappear or change contents"
4 illegal implicit conversion from 'int' to
5 'const char *'

Are there anyone can tell me why ?Who can solve the problem?



and so on
>  signature.asc
> < 1K查看下载

Dennis Schridde

unread,
Aug 26, 2009, 6:20:44 AM8/26/09
to loudmo...@googlegroups.com
Am Mittwoch, 26. August 2009 11:54:15 schrieb 解冰:
> Hello everyone
> Thank you for your answers.
> I created a new DLL-type project and put all the .c and .h files in
> proper directories.Beside this,I create a configure.h manually and
> compile them.Now I face a problem.
> In some files such as "lm-message-node.h",there are some words:
> #if !defined(LM_INSIDE_LOUDMOUTH_H)&&!defined(LM_COMPILATION)
> #error "only <loudmouth/loudmouth.h> can be included directly,this
> file may disappear or change contents"
> #endif
>
> when I build the project,errors occurs.
> The errors are:
> 1 preprocessor #error directive
> 2 c:\symbian\carbide\workspace\two\src\lm-sasl.c:28
> 3 #error "only <loudmouth/loudmouth.h> can be included directly,this
> file may disappear or change contents"
> 4 illegal implicit conversion from 'int' to
> 5 'const char *'
>
> Are there anyone can tell me why ?Who can solve the problem?
Do what the error message says. Include only loudmouth/loudmouth.h.
signature.asc

解冰

unread,
Aug 26, 2009, 10:27:34 PM8/26/09
to Loudmouth Dev
There are all the errors.
Creation Time Description Resource Path Location Type
1251339876062 preprocessor #error directive lm-error.h two/inc line 25
C/C++ Problem
1251339876093 #error "Only <loudmouth/loudmouth.h> can be included
directly, this file may disappear or change contents." lm-error.h two/
inc line 25 C/C++ Problem
1251339876203 preprocessor #error directive lm-sock.h two/inc line 27
C/C++ Problem
1251339876234 #error "Only <loudmouth/loudmouth.h> can be included
directly, this file may di\sappear or change contents." lm-sock.h two/
inc line 27 C/C++ Problem
1251339876296 preprocessor #error directive lm-message.h two/inc line
25 C/C++ Problem
1251339876328 #error "Only <loudmouth/loudmouth.h> can be included
directly, this file may disappear or change contents." lm-message.h
two/inc line 25 C/C++ Problem
1251339876343 preprocessor #error directive lm-message-node.h two/inc
line 25 C/C++ Problem
1251339876375 #error "Only <loudmouth/loudmouth.h> can be included
directly, this file may disappear or change contents." lm-message-
node.h two/inc line 25 C/C++ Problem
1251339876390 (included from: lm-message-node.h two/inc line 25 C/C++
Problem
1251339876421 C:\Symbian\Carbide\workspace\two\inc\lm-message.h:28 lm-
message-node.h two/inc line 25 C/C++ Problem
1251339876437 C:\Symbian\Carbide\workspace\two\inc\lm-internals.h:30
lm-message-node.h two/inc line 25 C/C++ Problem
1251339876468 C:\Symbian\Carbide\workspace\two\src\lm-connection.c:43)
lm-message-node.h two/inc line 25 C/C++ Problem
1251339876484 preprocessor #error directive lm-message-handler.h two/
inc line 25 C/C++ Problem
1251339876515 #error "Only <loudmouth/loudmouth.h> can be included
directly, this file may disappear or change contents." lm-message-
handler.h two/inc line 25 C/C++ Problem
1251339876531 preprocessor #error directive lm-connection.h two/inc
line 25 C/C++ Problem
1251339876562 #error "Only <loudmouth/loudmouth.h> can be included
directly, this file may disappear or change contents." lm-connection.h
two/inc line 25 C/C++ Problem
1251339876578 (included from: lm-connection.h two/inc line 25 C/C++
Problem
1251339876609 C:\Symbian\Carbide\workspace\two\inc\lm-message-
handler.h:28 lm-connection.h two/inc line 25 C/C++ Problem
1251339876625 C:\Symbian\Carbide\workspace\two\inc\lm-internals.h:31
lm-connection.h two/inc line 25 C/C++ Problem
1251339876656 C:\Symbian\Carbide\workspace\two\src\lm-connection.c:43)
lm-connection.h two/inc line 25 C/C++ Problem
1251339876671 preprocessor #error directive lm-proxy.h two/inc line 24
C/C++ Problem
1251339876703 #error "Only <loudmouth/loudmouth.h> can be included
directly, this file may disappear or change contents." lm-proxy.h two/
inc line 24 C/C++ Problem
1251339876718 (included from: lm-proxy.h two/inc line 24 C/C++ Problem
1251339876750 C:\Symbian\9.2\S60_3rd_FP1_7\EPOC32\include\stdapis
\loudmouth\lm-connection.h:29 lm-proxy.h two/inc line 24 C/C++ Problem
1251339876765 C:\Symbian\Carbide\workspace\two\inc\lm-message-
handler.h:28 lm-proxy.h two/inc line 24 C/C++ Problem
1251339876796 C:\Symbian\Carbide\workspace\two\inc\lm-internals.h:31
lm-proxy.h two/inc line 24 C/C++ Problem
1251339876812 C:\Symbian\Carbide\workspace\two\src\lm-connection.c:43)
lm-proxy.h two/inc line 24 C/C++ Problem
1251339876843 preprocessor #error directive lm-ssl.h two/inc line 27 C/
C++ Problem
1251339876859 #error "Only <loudmouth/loudmouth.h> can be included
directly, this file may disappear or change contents." lm-ssl.h two/
inc line 27 C/C++ Problem
1251339876890 (included from: lm-ssl.h two/inc line 27 C/C++ Problem
1251339876906 C:\Symbian\9.2\S60_3rd_FP1_7\EPOC32\include\stdapis
\loudmouth\lm-connection.h:30 lm-ssl.h two/inc line 27 C/C++ Problem
1251339876937 C:\Symbian\Carbide\workspace\two\inc\lm-message-
handler.h:28 lm-ssl.h two/inc line 27 C/C++ Problem
1251339876953 C:\Symbian\Carbide\workspace\two\inc\lm-internals.h:31
lm-ssl.h two/inc line 27 C/C++ Problem
1251339877015 C:\Symbian\Carbide\workspace\two\src\lm-connection.c:43)
lm-ssl.h two/inc line 27 C/C++ Problem
1251339877046 C:\Symbian\Carbide\workspace\two\src\lm-message-
handler.c:23) lm-message-node.h two/inc line 25 C/C++ Problem
1251339877062 C:\Symbian\Carbide\workspace\two\src\lm-message-
handler.c:23) lm-connection.h two/inc line 25 C/C++ Problem
1251339877093 C:\Symbian\Carbide\workspace\two\src\lm-message-
handler.c:23) lm-proxy.h two/inc line 24 C/C++ Problem
1251339877109 C:\Symbian\Carbide\workspace\two\src\lm-message-
handler.c:23) lm-ssl.h two/inc line 27 C/C++ Problem
1251339877140 preprocessor #error directive lm-utils.h two/inc line 25
C/C++ Problem
1251339877156 #error "Only <loudmouth/loudmouth.h> can be included
directly, this file may di\sappear or change contents." lm-utils.h two/
inc line 25 C/C++ Problem
1251339877187 preprocessor #error directive lm-sasl.h two/inc line 25
C/C++ Problem
1251339877203 #error "Only <loudmouth/loudmouth.h> can be included
directly, this file may disappear or change contents." lm-sasl.h two/
inc line 25 C/C++ Problem


On 8月26日, 下午6时20分, Dennis Schridde <devuran...@gmx.net> wrote:
> Am Mittwoch, 26. August 2009 11:54:15 schrieb 解冰:
>
>  signature.asc
> < 1K查看下载
> Do what the error message says. Include only loudmouth/loudmouth.h.- 隐藏被引用文字 -
>
> - 显示引用的文字 -

Ganesh Kundapur

unread,
Aug 27, 2009, 2:18:14 AM8/27/09
to loudmo...@googlegroups.com
Hi,
   Did you get the same build error with the ported loudmouth code that i sent?

Can you compare your port with the one that i sent if no build errors from mine?

Br,
Ganesh
Message has been deleted

解冰

unread,
Aug 27, 2009, 3:12:35 AM8/27/09
to Loudmouth Dev
Oh,I see.Thank you!
> > > - 显示引用的文字 -- 隐藏被引用文字 -
>
> - 显示引用的文字 -

Ganesh Kundapur

unread,
Aug 27, 2009, 3:18:13 AM8/27/09
to loudmo...@googlegroups.com
Uncompress it by using WinRAR 3.62

2009/8/27 解冰 <xieyf2...@163.com>

I have downloaded your 'loudmouth.rar'.It's a pity that it can't be
decompressed.So I didn't use your file at all.

These are all the errors I knocked.What's the problem?Thank you!

Description     Resource        Path    Location        Type
(included from: lm-message-node.h       two/inc line 25 C/C++ Problem
(included from: lm-connection.h two/inc line 25 C/C++ Problem
(included from: lm-proxy.h      two/inc line 24 C/C++ Problem
(included from: lm-ssl.h        two/inc line 27 C/C++ Problem
#error "Only <loudmouth/loudmouth.h> can be included directly, this
file may di\sappear or change contents."        lm-sock.h       two/inc line 27 C/C+
+ Problem
#error "Only <loudmouth/loudmouth.h> can be included directly, this
file may di\sappear or change contents."        lm-utils.h      two/inc line 25 C/C
++ Problem
#error "Only <loudmouth/loudmouth.h> can be included directly, this
file may disappear or change contents." lm-message.h    two/inc line 25 C/
C++ Problem
#error "Only <loudmouth/loudmouth.h> can be included directly, this
file may disappear or change contents." lm-message-node.h       two/inc line
25      C/C++ Problem
#error "Only <loudmouth/loudmouth.h> can be included directly, this
file may disappear or change contents." lm-message-handler.h    two/inc
line 25 C/C++ Problem
#error "Only <loudmouth/loudmouth.h> can be included directly, this
file may disappear or change contents." lm-connection.h two/inc line
25      C/C++ Problem
#error "Only <loudmouth/loudmouth.h> can be included directly, this
file may disappear or change contents." lm-proxy.h      two/inc line 24 C/C+
+ Problem
#error "Only <loudmouth/loudmouth.h> can be included directly, this
file may disappear or change contents." lm-ssl.h        two/inc line 27 C/C++
Problem
#error "Only <loudmouth/loudmouth.h> can be included directly, this
file may disappear or change contents." lm-sasl.h       two/inc line 25 C/C+
+ Problem
C:\Symbian\9.2\S60_3rd_FP1_7\EPOC32\include\stdapis\loudmouth\lm-
connection.h:29 lm-proxy.h      two/inc line 24 C/C++ Problem
C:\Symbian\9.2\S60_3rd_FP1_7\EPOC32\include\stdapis\loudmouth\lm-
connection.h:30 lm-ssl.h        two/inc line 27 C/C++ Problem
C:\Symbian\9.2\S60_3rd_FP1_7\EPOC32\include\stdapis\loudmouth\lm-
message.h:28    lm-message-node.h       two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\inc\lm-internals.h:30  lm-message-

node.h  two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\inc\lm-internals.h:31  lm-connection.h
two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\inc\lm-internals.h:31  lm-proxy.h      two/

inc     line 24 C/C++ Problem
C:\Symbian\Carbide\workspace\two\inc\lm-internals.h:31  lm-ssl.h        two/

inc     line 27 C/C++ Problem
C:\Symbian\Carbide\workspace\two\inc\lm-message-handler.h:28    lm-
connection.h    two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\inc\lm-message-handler.h:28    lm-
proxy.h two/inc line 24 C/C++ Problem
C:\Symbian\Carbide\workspace\two\inc\lm-message-handler.h:28    lm-ssl.h

two/inc line 27 C/C++ Problem
C:\Symbian\Carbide\workspace\two\inc\lm-message-queue.h:25      lm-message-

node.h  two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\inc\lm-message.h:28    lm-message-node.h

two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-connection.c:43)        lm-message-

node.h  two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-connection.c:43)        lm-
connection.h    two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-connection.c:43)        lm-proxy.h
two/inc line 24 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-connection.c:43)        lm-ssl.h        two/

inc     line 27 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-message-handler.c:23)   lm-
message-node.h  two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-message-handler.c:23)   lm-
connection.h    two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-message-handler.c:23)   lm-
proxy.h two/inc line 24 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-message-handler.c:23)   lm-ssl.h

two/inc line 27 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-message-node.c:24)      lm-message-
node.h  two/inc line 25 C:\Symbian\Carbide\workspace\two\src\lm-message-
node.c:24)      lm-connection.h two/inc line 25 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-message-node.c:24)      lm-proxy.h

two/inc line 24 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-message-node.c:24)      lm-ssl.h

two/inc line 27 C/C++ Problem
C:\Symbian\Carbide\workspace\two\src\lm-message-queue.c:23)     lm-message-

node.h  two/inc line 25 C/C++ Problem
preprocessor #error directive   lm-sock.h       two/inc line 27 C/C++ Problem
preprocessor #error directive   lm-message.h    two/inc line 25 C/C++
Problem
preprocessor #error directive   lm-message-node.h       two/inc line 25 C/C++
Problem
preprocessor #error directive   lm-message-handler.h    two/inc line 25 C/C+
+ Problem
preprocessor #error directive   lm-connection.h two/inc line 25 C/C++
Problem
preprocessor #error directive   lm-proxy.h      two/inc line 24 C/C++ Problem
preprocessor #error directive   lm-ssl.h        two/inc line 27 C/C++ Problem
preprocessor #error directive   lm-utils.h      two/inc line 25 C/C++ Problem
preprocessor #error directive   lm-sasl.h       two/inc line 25 C/C++ Problem

On 8月27日, 下午2时18分, Ganesh Kundapur <ganesh.kunda...@gmail.com> wrote:
> > > - 显示引用的文字 -- 隐藏被引用文字 -
>
> - 显示引用的文字 -


解冰

unread,
Aug 27, 2009, 5:09:14 AM8/27/09
to Loudmouth Dev
I import your project in carbide C++ V2.0 and then build it.
Some errors occur.These errors are:

BLDMAKE ERROR: ERROR: cpp.exe returned non-zero exit status (8448)
loudmouth Unknown C/C++ Problem
bldmake returned with exit value = 1 loudmouth Unknown Carbide.c++
Build Problem

Can you tell me why?How can I solve it?

Thank you very much!



On 8月27日, 下午3时18分, Ganesh Kundapur <ganesh.kunda...@gmail.com> wrote:
> Uncompress it by using WinRAR 3.62...
>
> 阅读更多 >>
>
> 2009/8/27 解冰 <xieyf20080...@163.com>
> > > > 1251339876796- 隐藏被引用文字 -
>
> - 显示引用的文字 -

Ganesh Kundapur

unread,
Aug 27, 2009, 5:21:56 AM8/27/09
to loudmo...@googlegroups.com
Which sdk you are using?

In bld.inf file
#include <path\platform_paths.hrh>



Search for the path of "platform_paths.hrh" and update the same in mmp file

2009/8/27 解冰 <xieyf2...@163.com>

Ganesh Kundapur

unread,
Aug 27, 2009, 5:22:21 AM8/27/09
to loudmo...@googlegroups.com
I mean find the path of platform_paths.hrh and add the path in bld.inf

2009/8/27 Ganesh Kundapur <ganesh....@gmail.com>
Reply all
Reply to author
Forward
0 new messages