prowebsite / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

Error while building native library on Ubuntu #422

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (wireshark) or Android log (DDMS output)
if you want quick response

What steps will reproduce the problem?
1.Build the native library with the steps mentioned at 
http://code.google.com/p/imsdroid/wiki/Building_Source#Building_Native_libraries
 on ubuntu

2. root.mk file will look like 
export ANDROID_NDK_ROOT=/root/android-ndk-r8c
export ANDROID_SDK_ROOT=/root/Deepali/android-sdk-linux
export ANDROID_PLATFORM=android-3.2
export ANDROID_HOST=linux-x86
export ANDROID_GCC_VER=4.4.3

3. Got following errors

src/tsk_time.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'tsk_time_epoch'
src/tsk_time.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'tsk_time_now'
In file included from src/tsk.h:48,
                 from src/tsk.c:25:
src/tsk_timer.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'tsk_timer_id_t'
src/tsk_timer.h:65: error: expected declaration specifiers or '...' before 
'tsk_timer_id_t'
src/tsk_timer.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'tsk_timer_manager_schedule'
In file included from src/tsk.h:48,
                 from src/tsk.c:25:
src/tsk_timer.h:76: error: expected declaration specifiers or '...' before 
'tsk_timer_id_t'
src/tsk_timer.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'tsk_timer_mgr_global_schedule'
src/tsk_timer.h:84: error: expected ')' before 'id'
In file included from src/tsk.h:49,
                 from src/tsk.c:25:
src/tsk_condwait.h:45: error: expected declaration specifiers or '...' before 
'uint64_t'
In file included from src/tsk.h:52,
                 from src/tsk.c:25:
src/tsk_thread.h:37: error: expected ')' before 'ms'
src/tsk_thread.h:39: error: expected declaration specifiers or '...' before 
'int32_t'
src/tsk_thread.h:40: error: expected ')' before 'priority'
In file included from src/tsk.h:59,
                 from src/tsk.c:25:
src/tsk_ppfcs16.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'tsk_pppfcs16'
In file included from src/tsk.h:60,
                 from src/tsk.c:25:
src/tsk_sha1.h:95: error: expected specifier-qualifier-list before 'uint32_t'
src/tsk_sha1.h:114: error: expected ';', ',' or ')' before '*' token
src/tsk_sha1.h:116: error: expected ')' before '*' token
In file included from src/tsk.h:61,
                 from src/tsk.c:25:
src/tsk_md5.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'tsk_md5digest_t'
src/tsk_md5.h:79: error: expected specifier-qualifier-list before 'uint32_t'
src/tsk_md5.h:86: error: expected declaration specifiers or '...' before 
'uint8_t'
src/tsk_md5.h:87: error: expected ')' before 'digest'
src/tsk_md5.h:88: error: expected ')' before 'buf'
In file included from src/tsk.h:62,
                                                                                                                                                      73,1           0%

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by deepali....@gmail.com on 12 Dec 2012 at 8:29