[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ccrtp-devel] Problems building ccRtp for win32
From: |
Sigrid Thijs |
Subject: |
[Ccrtp-devel] Problems building ccRtp for win32 |
Date: |
Wed, 30 Jun 2004 17:21:50 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 |
Hi,
I also encountered some problems compiling ccRTP with msvc 6.0.
1) I got the following error compiling duplex.cpp:
error C2247: 'Error' not accessible because 'ost::UDPSocket' uses
'public' to inherit from
'ost::Socket'
I changed the return type of the following function
UDPTransmit::Error RTPDuplex::connect(const InetHostAddress &ia,
tpport_t port)
to RTPDUplex::Error.
2) compiling 'queue.cpp':
error C2065: 'O_RDONLY' : undeclared identifier
So I added at the top of this file the following include line:
#include <fcntl.h>
Now the code compiles but I get a bunch of linking errors:
ccgnu2d.lib(ccgnu2d.dll) : error LNK2005: "public: class ost::Thread &
__thiscall ost::Thread::operator=(class ost::Thread const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj
ccgnu2d.lib(ccgnu2d.dll) : error LNK2005: "public: __thiscall
ost::Mutex::Mutex(class ost::Mutex const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj
ccgnu2d.lib(ccgnu2d.dll) : error LNK2005: "public: __thiscall
ost::Thread::Thread(class ost::Thread const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj
ccgnu2d.lib(ccgnu2d.dll) : error LNK2005: "public: class ost::Mutex &
__thiscall ost::Mutex::operator=(class ost::Mutex const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj
ccgnu2d.lib(ccgnu2d.dll) : error LNK2005: "public: __thiscall
ost::IOException::IOException(class ost::IOException const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj
ccgnu2d.lib(ccgnu2d.dll) : error LNK2005: "public: class
ost::IOException & __thiscall ost::IOException::operator=(class
ost::IOException const &)" (address@hidden@@address@hidden@@Z)
already defined in control.obj
ccgnu2d.lib(ccgnu2d.dll) : error LNK2005: "public: __thiscall
ost::ThreadLock::ThreadLock(class ost::ThreadLock const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj
ccgnu2d.lib(ccgnu2d.dll) : error LNK2005: "public: class ost::ThreadLock
& __thiscall ost::ThreadLock::operator=(class ost::ThreadLock const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj
ccgnu2d.lib(ccgnu2d.dll) : warning LNK4006: "public: class ost::Thread &
__thiscall ost::Thread::operator=(class ost::Thread const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj;
second definition ignored
ccgnu2d.lib(ccgnu2d.dll) : warning LNK4006: "public: __thiscall
ost::Mutex::Mutex(class ost::Mutex const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj; second
definition ignored
ccgnu2d.lib(ccgnu2d.dll) : warning LNK4006: "public: __thiscall
ost::Thread::Thread(class ost::Thread const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj; second
definition ignored
ccgnu2d.lib(ccgnu2d.dll) : warning LNK4006: "public: class ost::Mutex &
__thiscall ost::Mutex::operator=(class ost::Mutex const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj; second
definition ignored
ccgnu2d.lib(ccgnu2d.dll) : warning LNK4006: "public: __thiscall
ost::IOException::IOException(class ost::IOException const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj;
second definition ignored
ccgnu2d.lib(ccgnu2d.dll) : warning LNK4006: "public: class
ost::IOException & __thiscall ost::IOException::operator=(class
ost::IOException const &)" (address@hidden@@address@hidden@@Z)
already defined in control.obj; second definition ignored
ccgnu2d.lib(ccgnu2d.dll) : warning LNK4006: "public: __thiscall
ost::ThreadLock::ThreadLock(class ost::ThreadLock const &)"
(address@hidden@@address@hidden@@Z) already defined in control.obj; second
definition ignored
ccgnu2d.lib(ccgnu2d.dll) : warning LNK4006: "public: class
ost::ThreadLock & __thiscall ost::ThreadLock::operator=(class
ost::ThreadLock const &)" (address@hidden@@address@hidden@@Z) already
defined in control.obj; second definition ignored
Creating library Debug/ccrtp1.lib and object Debug/ccrtp1.exp
rtppkt.obj : error LNK2001: unresolved external symbol "private: static
bool ost::Mutex::_debug" (address@hidden@ost@@0_NA)
socket.obj : error LNK2001: unresolved external symbol "private: static
bool ost::Mutex::_debug" (address@hidden@ost@@0_NA)
members.obj : error LNK2001: unresolved external symbol "private: static
bool ost::Mutex::_debug" (address@hidden@ost@@0_NA)
outqueue.obj : error LNK2001: unresolved external symbol "private:
static bool ost::Mutex::_debug" (address@hidden@ost@@0_NA)
pool.obj : error LNK2001: unresolved external symbol "private: static
bool ost::Mutex::_debug" (address@hidden@ost@@0_NA)
rtcppkt.obj : error LNK2001: unresolved external symbol "private: static
bool ost::Mutex::_debug" (address@hidden@ost@@0_NA)
control.obj : error LNK2001: unresolved external symbol "private: static
bool ost::Mutex::_debug" (address@hidden@ost@@0_NA)
data.obj : error LNK2001: unresolved external symbol "private: static
bool ost::Mutex::_debug" (address@hidden@ost@@0_NA)
duplex.obj : error LNK2001: unresolved external symbol "private: static
bool ost::Mutex::_debug" (address@hidden@ost@@0_NA)
incqueue.obj : error LNK2001: unresolved external symbol "private:
static bool ost::Mutex::_debug" (address@hidden@ost@@0_NA)
rtppkt.obj : error LNK2001: unresolved external symbol "private: static
unsigned int ost::Thread::_autostack" (address@hidden@ost@@0IA)
socket.obj : error LNK2001: unresolved external symbol "private: static
unsigned int ost::Thread::_autostack" (address@hidden@ost@@0IA)
members.obj : error LNK2001: unresolved external symbol "private: static
unsigned int ost::Thread::_autostack" (address@hidden@ost@@0IA)
outqueue.obj : error LNK2001: unresolved external symbol "private:
static unsigned int ost::Thread::_autostack" (address@hidden@ost@@0IA)
pool.obj : error LNK2001: unresolved external symbol "private: static
unsigned int ost::Thread::_autostack" (address@hidden@ost@@0IA)
rtcppkt.obj : error LNK2001: unresolved external symbol "private: static
unsigned int ost::Thread::_autostack" (address@hidden@ost@@0IA)
control.obj : error LNK2001: unresolved external symbol "private: static
unsigned int ost::Thread::_autostack" (address@hidden@ost@@0IA)
data.obj : error LNK2001: unresolved external symbol "private: static
unsigned int ost::Thread::_autostack" (address@hidden@ost@@0IA)
duplex.obj : error LNK2001: unresolved external symbol "private: static
unsigned int ost::Thread::_autostack" (address@hidden@ost@@0IA)
incqueue.obj : error LNK2001: unresolved external symbol "private:
static unsigned int ost::Thread::_autostack" (address@hidden@ost@@0IA)
I've tried the suggestions proposed in
http://lists.gnu.org/archive/html/ccrtp-devel/2003-06/msg00000.html, but
it didn't solve the problem.
Has anybody some suggestions to solve this?
Sigrid
- [Ccrtp-devel] Problems building ccRtp for win32,
Sigrid Thijs <=