By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,148 Members | 1,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,148 IT Pros & Developers. It's quick & easy.

Wrapping libjingle

P: n/a
everyone, I'm trying to write my first own application with
Libjingle, but when i compile the code I've this errors:

In file included from call.cpp:1:
call.h:2:44: error: talk/base/physicalsocketserver.h: No such file or
directory
In file included from call.h:3,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/base/ssladapter.h:31:35: error:
talk/base/asyncsocket.h: No such file or directory
In file included from call.h:4,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:31:32: error:
talk/p2p/base/port.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:32:36: error:
talk/xmpp/xmpppassword.h: No such file or directory
In file included from call.h:5,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:31:42: error:
talk/xmpp/xmppclientsettings.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:32:30: error:
talk/base/thread.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:33:42: error:
talk/examples/login/xmpppump.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:34:44: error:
talk/examples/login/xmppsocket.h: No such file or directory
In file included from call.h:6,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:33:31: error:
talk/base/sigslot.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:34:27: error:
talk/xmpp/jid.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:35:35: error:
talk/xmpp/saslhandler.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:36:35: error:
talk/xmpp/prexmppauth.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:37:36: error:
talk/xmpp/xmpppassword.h: No such file or directory
In file included from call.h:7,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:25:35: error:
talk/p2p/base/session.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:26:43: error:
talk/p2p/client/sessionclient.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:27:34: error:
talk/xmpp/xmppclient.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:28:39: error:
talk/examples/call/status.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:29:40: error:
talk/examples/call/console.h: No such file or directory
In file included from call.h:8,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/examples/call/console.h:23:30: error:
talk/base/thread.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/console.h:24:36: error:
talk/base/messagequeue.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/console.h:59:44: warning:
no newline at end of file
/usr/src/libjingle-0.3.0/talk/base/ssladapter.h:37: error: expected
class-name before '{' token
/usr/src/libjingle-0.3.0/talk/base/ssladapter.h:39: error: expected `)'
before '*' token
/usr/src/libjingle-0.3.0/talk/base/ssladapter.h:51: error: expected
';' before '(' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:42: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:42: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:42: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:43: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:43: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:43: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:44: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:44: error: ISO
C++ forbids declaration of 'XmppPassword' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:45: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:45: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:45: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:46: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:46: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:46: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:48: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:48: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:48: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:51: error:
'cricket::ProtocolType' has not been declared
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:52: error:
'cricket::ProxyType' has not been declared
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:53: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:53: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:53: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:56: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:56: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:56: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:57: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:57: error: ISO
C++ forbids declaration of 'XmppPassword' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:59: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:59: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:59: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:60: error:
expected `;' before 'const'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:60: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:60: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:60: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:61: error:
expected `;' before 'const'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:61: error: ISO
C++ forbids declaration of 'XmppPassword' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:61: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:62: error:
expected `;' before 'const'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:62: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:62: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:62: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:63: error:
expected `;' before 'const'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:63: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:63: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:63: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:64: error:
expected `;' before 'bool'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:65: error: ISO
C++ forbids declaration of 'SocketAddress' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:65: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:65: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:66: error:
expected `;' before 'cricket'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:66: error:
'ProtocolType' in namespace 'cricket' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:67: error:
'ProxyType' in namespace 'cricket' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:68: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:68: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:68: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:69: error:
expected `;' before 'int'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:71: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:71: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:71: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:72: error:
expected `;' before 'const'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:72: error: ISO
C++ forbids declaration of 'XmppPassword' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:72: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:74: error:
expected `;' before 'private'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:75: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:76: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:77: error:
'XmppPassword' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:78: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:79: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:82: error:
'SocketAddress' in namespace 'cricket' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:83: error:
'ProtocolType' in namespace 'cricket' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:84: error:
'ProxyType' in namespace 'cricket' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:85: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:88: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:89: error:
'XmppPassword' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In constructor
'buzz::XmppClientSettings::XmppClientSettings()':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:39: error:
class 'buzz::XmppClientSettings' does not have any field named
'protocol_'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:39: error:
'PROTO_TCP' is not a member of 'cricket'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:40: error:
class 'buzz::XmppClientSettings' does not have any field named
'proxy_'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:40: error:
'PROXY_NONE' is not a member of 'cricket'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_user(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:42: error:
'user_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:42: error:
'user' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_host(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:43: error:
'host_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:43: error:
'host' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_pass(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:44: error:
'pass_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:44: error:
'pass' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_auth_cookie(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:45: error:
'auth_cookie_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:45: error:
'cookie' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_resource(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:46: error:
'resource_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:46: error:
'resource' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_server(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:49: error:
'server_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:49: error:
'server' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_protocol(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:51: error:
'protocol_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_proxy(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:52: error:
'proxy_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_proxy_host(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:53: error:
'proxy_host_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:53: error:
'host' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_proxy_user(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:56: error:
'proxy_user_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:56: error:
'user' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_proxy_pass(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:57: error:
'proxy_pass_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:57: error:
'pass' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h: At global
scope:
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:38: error:
expected class-name before ',' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:38: error:
expected class-name before ',' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:38: error:
expected class-name before '{' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:43: error:
using-declaration for non-member at class scope
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:43: error:
expected ';' before '*' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:45: error:
expected `;' before 'void'
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:51: error:
ISO C++ forbids declaration of 'XmppPump' with no type
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:51: error:
expected ';' before '*' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:53: error:
'buzz::XmppEngine' has not been declared
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:53: error:
'State' has not been declared
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:54: error:
'cricket::Message' has not been declared
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:39: error:
expected class-name before '{' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:44: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:44: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:47: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:52: error:
'CaptchaChallenge' in namespace 'buzz' does not name a type
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:61: error: ISO
C++ forbids declaration of 'SaslMechanism' with no type
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:61: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:61: error:
'SaslMechanism' declared as a 'virtual' field
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:61: error:
expected ';' before '*' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:65: error:
'Jid' in namespace 'buzz' does not name a type
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:66: error:
'XmppPassword' in namespace 'buzz' does not name a type
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:46: error:
'Jid' in namespace 'buzz' does not name a type
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:47: error:
'Show' in class 'buzz::Status' does not name a type
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:51: error:
'sigslot' has not been declared
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:51: error:
expected template-name before '<' token
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:51: error:
expected `{' before '<' token
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:51: error:
expected unqualified-id before '<' token
/usr/src/libjingle-0.3.0/talk/examples/call/console.h:33: error:
expected class-name before '{' token

These errore are concerned to these includes:

#ifdef __cplusplus
#include "talk/base/physicalsocketserver.h"
#include "/usr/src/libjingle-0.3.0/talk/base/ssladapter.h"
#include "/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/call/console.h"

My app is in another directory, but I've tried including with relative
path (having a No such file or directory error) or absolute path
(having no more No such file or directory error for these file but
having the same error for the file included by the first). I' ve tried
changing the envirorment variables CPATH and CPLUS_INCLUDE_PATH but
with no result.
Sorry if this may be a stupid error, but I'm a little newbie to this...

Jun 13 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Raffounz wrote:
everyone, I'm trying to write my first own application with
Libjingle, but when i compile the code I've this errors:

In file included from call.cpp:1:
call.h:2:44: error: talk/base/physicalsocketserver.h: No such file or
directory
In file included from call.h:3,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/base/ssladapter.h:31:35: error:
talk/base/asyncsocket.h: No such file or directory
In file included from call.h:4,
from call.cpp:1:
[snip]
These errore are concerned to these includes:

#ifdef __cplusplus
#include "talk/base/physicalsocketserver.h"
#include "/usr/src/libjingle-0.3.0/talk/base/ssladapter.h"
#include "/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/call/console.h"

My app is in another directory, but I've tried including with relative
path (having a No such file or directory error) or absolute path
(having no more No such file or directory error for these file but
having the same error for the file included by the first). I' ve tried
changing the envirorment variables CPATH and CPLUS_INCLUDE_PATH but
with no result.
Sorry if this may be a stupid error, but I'm a little newbie to this...


Try to add the directory /usr/src/libjingle-0.3.0 to the include path on
your compiler command line. What that is depends on your compiler. Most
often, it's something like -I followed by the directory name.

Jun 13 '06 #2

P: n/a
Ok, now it works... my error was that I add the path /usr/src ratehr
than /usr/src/libjingle-0.3.0 as a parameter of the -I option in gcc...
Thanks!!

Jun 13 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.