couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 김동경 <style9...@gmail.com>
Subject Building CouchDB on Android
Date Thu, 25 Apr 2013 10:44:54 GMT
Hi folks

I am trying to build couchDB for Android.
I referred to this link:
(http://wiki.apache.org/couchdb/Installing_on_Android).

I could build dependent libraries but failed to build couchDB itself.
I succeeded to "configure" the source but whenever I do "make", I got below
errors.
It looks that there are some problem in multi.h in curl 7.20.0 library.
I could build curl_7.20.0.
However I am not sure I did it properly,
because it should be built for Android, not normal Linux.

If anyone give any tips to me, it will be great help.
Thanks in advance.

Best regards
Dongkyoung.

======================================================================
    make  all-recursive
    make[1]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb'
    Making all in bin
    make[2]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/bin'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/bin'
    Making all in etc
    make[2]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc'
    Making all in couchdb
    make[3]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/couchdb'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/couchdb'
    Making all in default
    make[3]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/default'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/default'
    Making all in init
    make[3]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/init'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/init'
    Making all in launchd
    make[3]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/launchd'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/launchd'
    Making all in logrotate.d
    make[3]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/logrotate.d'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/logrotate.d'
    Making all in windows
    make[3]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/windows'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc/windows'
    make[3]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc'
    make[2]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/etc'
    Making all in src
    make[2]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/src'
    Making all in couchdb
    make[3]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/src/couchdb'
    Making all in priv
    make[4]: Entering directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/src/couchdb/priv'
    arm-eabi-gcc -DHAVE_CONFIG_H -I. -I../../..   -D_XOPEN_SOURCE
-L/home/style95/workspace/couchdb_android/build/deps/couchdb/../mozilla-central/js/src
-L/usr/local/lib -L/opt/local/lib
-I/home/style95/workspace/couchdb_android/build/deps/couchdb/../otp_rel/usr/include
-I/home/style95/workspace/couchdb_android/build/deps/couchdb/../mozilla-central/js/src/dist/include
-DXP_UNIX   -D_BSD_SOURCE
-I/home/style95/workspace/couchdb_android/build/deps/couchdb/../curl-7.20.0/include
-DCURL_STATICLIB
-I/home/style95/software/android/android-ndk-r4c/build/platforms/android-8/arch-arm/usr/include/
-I/home/style95/workspace/couchdb_android/build/deps/ndk/android-ndk-r4c/build/platforms/android-8/arch-x86/usr/include/sys/
-MT couchjs-http.o -MD -MP -MF .deps/couchjs-http.Tpo -c -o couchjs-http.o
`test -f 'couch_js/http.c' || echo './'`couch_js/http.c
    In file included from
/home/style95/workspace/couchdb_android/build/deps/couchdb/../curl-7.20.0/include/curl/curl.h:1976,
                     from couch_js/http.c:17:

/home/style95/workspace/couchdb_android/build/deps/couchdb/../curl-7.20.0/include/curl/multi.h:132:
error: expected declaration specifiers or '...' before 'fd_set'

/home/style95/workspace/couchdb_android/build/deps/couchdb/../curl-7.20.0/include/curl/multi.h:133:
error: expected declaration specifiers or '...' before 'fd_set'

/home/style95/workspace/couchdb_android/build/deps/couchdb/../curl-7.20.0/include/curl/multi.h:134:
error: expected declaration specifiers or '...' before 'fd_set'
    couch_js/http.c:369: warning: initialization from incompatible pointer
type
    couch_js/http.c:374: warning: excess elements in struct initializer
    couch_js/http.c:374: warning: (near initialization for
'CouchHTTPFunctions[0]')
    couch_js/http.c:375: warning: excess elements in struct initializer
    couch_js/http.c:375: warning: (near initialization for
'CouchHTTPFunctions[1]')
    couch_js/http.c:376: warning: excess elements in struct initializer
    couch_js/http.c:376: warning: (near initialization for
'CouchHTTPFunctions[2]')
    couch_js/http.c:377: warning: excess elements in struct initializer
    couch_js/http.c:377: warning: (near initialization for
'CouchHTTPFunctions[3]')
    make[4]: *** [couchjs-http.o] Error 1
    make[4]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/src/couchdb/priv'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/src/couchdb'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory
`/home/style95/workspace/couchdb_android/build/deps/couchdb'
    make: *** [all] Error 2

======================================================================

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message