[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] g729 in windows
From: |
Henrik Pauli |
Subject: |
Re: [Linphone-developers] g729 in windows |
Date: |
Wed, 06 Mar 2013 14:49:57 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 |
I've been trying to compile 9579f5f78241 and a4763c9506e6 (which is the
node that contains the autoconf fixes), ORTP and MEDIASTREAMER says yes
during ./configure, but during compilation only bcg729 is built,
msbcg729 isn't.
Running make in the msbcg729 directory breaks with the following:
/c/git/bcg729.git/msbcg729$ make
CCLD libmsbcg729.la
Creating library file: .libs/libmsbcg729.dll.a
.libs/libmsbcg729_la-bcg729_dec.o: In function `filter_postprocess':
c:\git\bcg729.git\msbcg729/bcg729_dec.c:75: undefined reference to
`ms_concealer_context_destroy'
.libs/libmsbcg729_la-bcg729_dec.o: In function `ms_queue_get':
c:/git/Linphone.install/include/mediastreamer2/msqueue.h:42: undefined
reference to `getq'
.libs/libmsbcg729_la-bcg729_dec.o: In function `filter_process':
c:\git\bcg729.git\msbcg729/bcg729_dec.c:52: undefined reference to `allocb'
c:\git\bcg729.git\msbcg729/bcg729_dec.c:53: undefined reference to
`mblk_meta_copy'
.libs/libmsbcg729_la-bcg729_dec.o: In function `ms_queue_put':
c:/git/Linphone.install/include/mediastreamer2/msqueue.h:46: undefined
reference to `putq'
.libs/libmsbcg729_la-bcg729_dec.o: In function `filter_process':
c:\git\bcg729.git\msbcg729/bcg729_dec.c:58: undefined reference to
`ms_concealer_inc_sample_time'
c:\git\bcg729.git\msbcg729/bcg729_dec.c:60: undefined reference to `freemsg'
c:\git\bcg729.git\msbcg729/bcg729_dec.c:63: undefined reference to
`ms_concealer_context_is_concealement_required'
c:\git\bcg729.git\msbcg729/bcg729_dec.c:64: undefined reference to `allocb'
.libs/libmsbcg729_la-bcg729_dec.o: In function `ms_queue_put':
c:/git/Linphone.install/include/mediastreamer2/msqueue.h:46: undefined
reference to `putq'
.libs/libmsbcg729_la-bcg729_dec.o: In function `filter_process':
c:\git\bcg729.git\msbcg729/bcg729_dec.c:69: undefined reference to
`ms_concealer_inc_sample_time'
.libs/libmsbcg729_la-bcg729_dec.o: In function `filter_preprocess':
c:\git\bcg729.git\msbcg729/bcg729_dec.c:43: undefined reference to
`ms_concealer_context_new'
.libs/libmsbcg729_la-bcg729_dec.o: In function `filter_init':
c:\git\bcg729.git\msbcg729/bcg729_dec.c:37: undefined reference to
`ortp_malloc0'
.libs/libmsbcg729_la-bcg729_dec.o: In function `filter_uninit':
c:\git\bcg729.git\msbcg729/bcg729_dec.c:80: undefined reference to
`ortp_free'
.libs/libmsbcg729_la-bcg729_enc.o: In function `ortp_warning':
c:/git/Linphone.install/include/ortp/logging.h:119: undefined reference
to `ortp_logv'
.libs/libmsbcg729_la-bcg729_enc.o: In function `ortp_message':
c:/git/Linphone.install/include/ortp/logging.h:111: undefined reference
to `ortp_logv'
.libs/libmsbcg729_la-bcg729_enc.o: In function `filter_add_fmtp':
c:\git\bcg729.git\msbcg729/bcg729_enc.c:95: undefined reference to
`fmtp_get_value'
c:\git\bcg729.git\msbcg729/bcg729_enc.c:102: undefined reference to
`fmtp_get_value'
.libs/libmsbcg729_la-bcg729_enc.o: In function `filter_postprocess':
c:\git\bcg729.git\msbcg729/bcg729_enc.c:78: undefined reference to
`ms_bufferizer_destroy'
.libs/libmsbcg729_la-bcg729_enc.o: In function `filter_process':
c:\git\bcg729.git\msbcg729/bcg729_enc.c:56: undefined reference to
`ms_bufferizer_put'
.libs/libmsbcg729_la-bcg729_enc.o: In function `ms_queue_get':
c:/git/Linphone.install/include/mediastreamer2/msqueue.h:42: undefined
reference to `getq'
.libs/libmsbcg729_la-bcg729_enc.o: In function `filter_process':
c:\git\bcg729.git\msbcg729/bcg729_enc.c:61: undefined reference to `allocb'
c:\git\bcg729.git\msbcg729/bcg729_enc.c:64: undefined reference to
`ms_bufferizer_read'
.libs/libmsbcg729_la-bcg729_enc.o: In function `ms_queue_put':
c:/git/Linphone.install/include/mediastreamer2/msqueue.h:46: undefined
reference to `putq'
.libs/libmsbcg729_la-bcg729_enc.o: In function `filter_preprocess':
c:\git\bcg729.git\msbcg729/bcg729_enc.c:45: undefined reference to
`ms_bufferizer_new'
.libs/libmsbcg729_la-bcg729_enc.o: In function `filter_init':
c:\git\bcg729.git\msbcg729/bcg729_enc.c:35: undefined reference to
`ortp_malloc0'
.libs/libmsbcg729_la-bcg729_enc.o: In function `libmsbcg729_init':
c:\git\bcg729.git\msbcg729/bcg729_enc.c:145: undefined reference to
`ms_filter_register'
c:\git\bcg729.git\msbcg729/bcg729_enc.c:146: undefined reference to
`ms_filter_register'
.libs/libmsbcg729_la-bcg729_enc.o: In function `filter_uninit':
c:\git\bcg729.git\msbcg729/bcg729_enc.c:83: undefined reference to
`ortp_free'
collect2: ld returned 1 exit status
make: *** [libmsbcg729.la] Error 1
So I guess I'm not supposed to run make from there :)
Building the 1.0.0 release on the same machine with the same configure
flags builds successfully.
2012.12.10. 11:46 keltezéssel, Guillaume Beraudo írta:
Hi Henrik,
Thanks for the patch.
I reworked the autoconf scripts.
Could you please check if it compiles on your system?
Cheers,
Guillaume Beraudo
On Fri, Dec 07, 2012 at 04:48:47PM +0100, Henrik Pauli wrote:
I finally managed to do it. The released bcg729 has some typos and
omissions in the Makefile.am files, but I managed to patch it and it
runs well. I compiled both linphone and the plugin with mingw, not
msvc, on windows, not cross compiling. autoreconf -i doesn't seem to
work under mingw/msys, so I couldn't compile the git tip version.
Here's the patch for everyone interested.
On 2012-12-07 15:53, Rodrigo Prat wrote:
Has any tried linphone with g729 in windows?
Date: Tue, 4 Dec 2012 17:22:59 +0100
From: address@hidden
To: address@hidden
Subject: Re: [Linphone-developers] g729 in windows
2012.11.30. 22:48 keltezéssel, Rodrigo Prat írta:
Hello,
I want to use linphone in windows with the g729 codec, as I see, the
windows installer is not available in the official page as the h264
codec wich is in the site.
How can a get it?
Thanks in advance.
I've been trying to compile it, but so far no luck getting it to work...
Also, the release is way older than the last commit in git, and even
that is half a year old......
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
diff -r deb256cd4edd msbcg729/Makefile.am
--- a/msbcg729/Makefile.am Wed Dec 05 10:55:24 2012 +0100
+++ b/msbcg729/Makefile.am Fri Dec 07 16:46:04 2012 +0100
@@ -11,8 +11,8 @@
$(MEDIASTREAMER_LIBS) \
$(top_builddir)/src/libbcg729.la
-libmsbcg729_la_LDFLAGS=-module -no-undefined
+libmsbcg729_la_LDFLAGS=-module -no-undefined -lmediastreamer -lortp
INCLUDES = -I$(top_srcdir)/include
-libmsbcg729_la_CFLAGS= $(ORTP_CFLAGS) $(MEDIASTREMER2_CFLAGS)
+libmsbcg729_la_CFLAGS= $(ORTP_CFLAGS) $(MEDIASTREAMER_CFLAGS)
-
+AM_LDFLAGS = -no-undefined
diff -r deb256cd4edd src/Makefile.am
--- a/src/Makefile.am Wed Dec 05 10:55:24 2012 +0100
+++ b/src/Makefile.am Fri Dec 07 16:46:04 2012 +0100
@@ -24,7 +24,7 @@
qLSP2LP.c \
utils.c
-libbcg729_la_LDFLAGS=-fvisibility=hidden
+libbcg729_la_LDFLAGS=-fvisibility=hidden -no-undefined
INCLUDES= -I$(top_srcdir)/include
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
- Re: [Linphone-developers] g729 in windows,
Henrik Pauli <=
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/06
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/06
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/21
- Re: [Linphone-developers] g729 in windows, Guillaume Beraudo, 2013/03/21
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/22
- Re: [Linphone-developers] g729 in windows, Guillaume Beraudo, 2013/03/25
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/27
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/27
- Re: [Linphone-developers] g729 in windows, Guillaume Beraudo, 2013/03/27
- Re: [Linphone-developers] g729 in windows, Henrik Pauli, 2013/03/27