Open GoogleCodeExporter opened 9 years ago
Same things happen in Both doubango 1.0 and doubango 2.0
Original comment by Alok.Pra...@gmail.com
on 19 Jan 2012 at 3:40
Centos is not officially supported.
About the errors: You forgot to link against "pthread". I guess "lintinySAK" is
static lib.
Original comment by boss...@yahoo.fr
on 19 Jan 2012 at 3:47
Which Linux Flavor Does Doubango officially Supports?
Original comment by Alok.Pra...@gmail.com
on 19 Jan 2012 at 3:52
hi..
I have been trying to build doubango's libraries since a week now.And iam
totally new to working on linux.My problem is tinySAK is not getting compiled
properly.Iam getting this error..
root@unameit-desktop:/media/8837f0ef-0feb-4161-87bb-29975626b125/doubango/tinySA
K# make -f droid-makefile
cc -c src/tsk_mutex.c -o src/tsk_mutex.o
src/tsk_mutex.c: In function ‘tsk_mutex_create_2’:
src/tsk_mutex.c:86: error: ‘PTHREAD_MUTEX_RECURSIVE’ undeclared (first use
in this function)
src/tsk_mutex.c:86: error: (Each undeclared identifier is reported only once
src/tsk_mutex.c:86: error: for each function it appears in.)
make: *** [src/tsk_mutex.o] Error 1
Remaining object files for tinySAK is getting created.
pls help.
Thanks
Original comment by havef...@gmail.com
on 20 Jan 2012 at 2:56
for this error Edit /usr/include/pthread.h and
replace PTHREAD_MUTEX_RECURSIVE_NP with PTHREAD_MUTEX_RECURSIVE
This is step i used to compile for Linux ( not android) might be helpful.
cd doubango/tinySAK
./configure
if you are getting Libtool error remove libtool from doubango/tinySAK
edit Makefile & src/Makefile and replace below line
LIBTOOL = $(SHELL) $(top_builddir)/libtool
with BELOW (assuming you have installed libtool in PC)
LIBTOOL = libtool
Original comment by Alok.Pra...@gmail.com
on 20 Jan 2012 at 4:28
or Can we change the PTHREAD_MUTEX_RECURSIVE in src/tsk_mutex.c to
PTHREAD_MUTEX_RECURSIVE_NP
Original comment by Alok.Pra...@gmail.com
on 21 Jan 2012 at 3:27
Summing Steps if someone want to Compile For PC.
Cd tinysak
Sh autogen.sh
./configure
replace THREAD_MUTEX_RECURSIVE in src/tsk_mutex.c to PTHREAD_MUTEX_RECURSIVE_NP
Edit tinySAK/src/Makefile & tinySAK/test/Makefile and replace
LIBTOOL = $(SHELL) $(top_builddir)/libtool with LIBTOOL= libtool
Edit tinySAK/test/Makefile and following
LDFLAGS =-lpthread
Original comment by Alok.Pra...@gmail.com
on 21 Jan 2012 at 4:17
@All
Linux is not officially supported yet.
Supported OSes: Android, iOS (iPhone, iPad, iPod), OSX and Windows (XP, Vista,
7).
Original comment by boss...@yahoo.fr
on 21 Jan 2012 at 9:39
Original issue reported on code.google.com by
Alok.Pra...@gmail.com
on 19 Jan 2012 at 3:39