[Android] [PATCH] android: build gnutls

Rafaël Carré funman at videolan.org
Tue Mar 6 18:49:23 CET 2012


Le 2012-03-06 03:57, 某因幡 a écrit :
> Did you forget libnettle and gmp?

Hum yes, I missed those.

> And I also get:
> .././vlc/contrib/arm-linux-androideabi/lib/libgnutls.a(gnutls_global.o):
> In function `gnutls_global_init':
> gnutls_global.c:(.text+0x23c): undefined reference to `gl_sockets_startup'
> .././vlc/contrib/arm-linux-androideabi/lib/libgnutls.a(gnutls_global.o):
> In function `gnutls_global_deinit':
> gnutls_global.c:(.text+0x59c): undefined reference to `gl_sockets_cleanup'
> So it seems gl is not bypassed.

Yeah gl/ is not built at all but the rest of the gnutls build still
depend on it.

There's definitely something weird going on.
I don't know why linking succeeds for me.

Which compiler are you using?

Default NDK?
Which version of the NDK?



What do you need gnutls for?

I tried to add https:// URL handler:

diff --git a/vlc-android/AndroidManifest.xml
b/vlc-android/AndroidManifest.xml
index 735679c..d352301 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -72,6 +72,7 @@

                 <data android:mimeType="video/*" />
                 <data android:mimeType="video/*" android:scheme="http" />
+                <data android:scheme="https" />
                 <data android:mimeType="video/*" android:scheme="rtsp" />
                 <data android:mimeType="video/*" android:scheme="file" />
                 <data android:mimeType="video/*" android:scheme="mms" />


But when opening a wikipedia video over https, I can't choose VLC
because Opera launchs automatically.



Please give me all the details so I can find what's going on.


More information about the Android mailing list