Re: [Ekiga-devel-list] [Win32] Unable to compile ekiga for windows



Hi Eugen,

Ptlib mod :
previously I used 2.7 version without trouble. I changed my makefile to use trunk version and had following trouble :
'P_fd_set::P_fd_set(const P_fd_set&)' is private

Audio SHM:
I only modify this for compiling purposes. I need to check why I have this trouble.

I will check all this this week-end.

Best regards

Thierry

Le 29/01/2010 17:41, Eugen Dedu a écrit :
Thierry Simonnet wrote:
Hi,

I made 2 mods :

src/ptlib/include/ptlib/socket.h (line 495):
/*  private: */
   public:
     P_fd_set(const P_fd_set&) {}
     void operator=(const P_fd_set&) {}
};

src/ptlib/plugins/Makefile.in :
###############################audioSHM
#HAS_AUDIOSHM        = 1
HAS_AUDIOSHM        = 0

ifeq (1,$(HAS_AUDIOSHM))
SUBDIRS         += sound_shm
endif
Hi Thierry,

Sorry to reply so late and sorry for checking your patches :o)  Could
you please comment a bit your changes on P_fd_set?  In fact, I do not
understand why this patch is needed now, still socket.h (and
winsock.cxx) have not been modified since 8 months.  Also, the code
seems right.

For the shm patch: could you please prepare a correct patch?  Instead of
HAS_AUDIOSHM        = 1
we need
HAS_AUDIOSHM        = @HAS_SHM@
To correctly set up HAS_SHM we need to look in plugins/configure.in; the
OSS checking can be copied and modified for shm checking, but I do not
know precisely what to check.  I (or you) can then submit the patch
upstream.

New version is available at
http://www.pateam.org/archive/tmp/ekiga-win32/trunk/ekiga-setup-3.3.1-git-493_g19ca85e.exe


Please send me your feedback

Best regards

Thierry

On 01/18/2010 04:23 PM, Thierry Simonnet wrote:
Hi,

here is log using ptlib/opal trunk version :

make[2]: Entering directory `/root/win32/ptlib/src'
make DEBUG= P_SHAREDLIB=1 default_target
make[3]: Entering directory `/root/win32/ptlib/src'
[CC] ptlib/msos/winsock.cxx
/root/win32/ptlib/include/ptlib/socket.h: In member function 'PBoolean
PSocket::os_connect(sockaddr*, int)':
/root/win32/ptlib/include/ptlib/socket.h:495: error:
'P_fd_set::P_fd_set(const P_fd_set&)' is private
ptlib/msos/winsock.cxx:196: error: within this context
/root/win32/ptlib/include/ptlib/socket.h:495: error:
'P_fd_set::P_fd_set(const P_fd_set&)' is private
ptlib/msos/winsock.cxx:196: error: within this context
ptlib/msos/winsock.cxx:196: error:   initializing temporary from
result of 'P_fd_set::P_fd_set(SOCKET)'
/root/win32/ptlib/include/ptlib/socket.h:495: error:
'P_fd_set::P_fd_set(const P_fd_set&)' is private
ptlib/msos/winsock.cxx:197: error: within this context
/root/win32/ptlib/include/ptlib/socket.h:495: error:
'P_fd_set::P_fd_set(const P_fd_set&)' is private
ptlib/msos/winsock.cxx:197: error: within this context
ptlib/msos/winsock.cxx:197: error:   initializing temporary from
result of 'P_fd_set::P_fd_set(SOCKET)'
/root/win32/ptlib/include/ptlib/socket.h: In member function 'PBoolean
PSocket::os_accept(PSocket&, sockaddr*, int*)':
/root/win32/ptlib/include/ptlib/socket.h:495: error:
'P_fd_set::P_fd_set(const P_fd_set&)' is private
ptlib/msos/winsock.cxx:264: error: within this context
/root/win32/ptlib/include/ptlib/socket.h:495: error:
'P_fd_set::P_fd_set(const P_fd_set&)' is private
ptlib/msos/winsock.cxx:264: error: within this context
ptlib/msos/winsock.cxx:264: error:   initializing temporary from
result of 'P_fd_set::P_fd_set(SOCKET)'
/root/win32/ptlib/include/ptlib/socket.h: In member function 'PBoolean
PSocket::os_recvfrom(void*, int, int, sockaddr*, int*)':
/root/win32/ptlib/include/ptlib/socket.h:495: error:
'P_fd_set::P_fd_set(const P_fd_set&)' is private
ptlib/msos/winsock.cxx:294: error: within this context
/root/win32/ptlib/include/ptlib/socket.h:495: error:
'P_fd_set::P_fd_set(const P_fd_set&)' is private
ptlib/msos/winsock.cxx:294: error: within this context
ptlib/msos/winsock.cxx:294: error:   initializing temporary from
result of 'P_fd_set::P_fd_set(SOCKET)'
/root/win32/ptlib/include/ptlib/socket.h: In member function 'PBoolean
PSocket::os_sendto(const void*, int, int, sockaddr*, int)':
/root/win32/ptlib/include/ptlib/socket.h:495: error:
'P_fd_set::P_fd_set(const P_fd_set&)' is private
ptlib/msos/winsock.cxx:329: error: within this context
/root/win32/ptlib/include/ptlib/socket.h:495: error:
'P_fd_set::P_fd_set(const P_fd_set&)' is private
ptlib/msos/winsock.cxx:329: error: within this context
ptlib/msos/winsock.cxx:329: error:   initializing temporary from
result of 'P_fd_set::P_fd_set(SOCKET)'
make[3]: *** [/root/win32/ptlib/lib_mingw_x86/obj/winsock.o] Error 1
make[3]: Leaving directory `/root/win32/ptlib/src'
make[2]: *** [optshared] Error 2
make[2]: Leaving directory `/root/win32/ptlib/src'
make[1]: *** [optshared] Error 2
make[1]: Leaving directory `/root/win32/ptlib'
make: *** [/root/win32/lib/libpt_s.a] Error 2

Best regards

On 01/16/2010 12:00 PM, Eugen Dedu wrote:
Thierry Simonnet wrote:
Hello,

even if it is a little bit late, I wish you a Happy new year.

I have a lot of trouble compiling ekiga/trunk for windows. In
attachment make.log.

I tried to compile ekiga using opal and ptlib both in 2.7/3.7
version and trunk
version.
The compilation error seems not windows-specific.  Did you really try
svn/git unstable/trunk for all the three, not release versions?

I previously posted for the same trouble and had no answer.
Well, I think the best thing is that, with our help, you fix the windows
build yourself.

My wish for 2010 : a working trunk version for win32 ;-)
Me too :o)






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