Achaz / Achaz/imsdroid

Error while building native library on Ubuntu

Open
#422 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.