gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnokii not compiling for ARM.


From: ajay.s.kumar
Subject: gnokii not compiling for ARM.
Date: Tue, 7 Jun 2011 16:05:23 +0530

Hi,

 

I am trialing to cross compile gnokii for arm platform.

 

Following are the configure options:

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

    --with-bluetooth="mysysroot/sysroot/usr/lib/ -lbluetooth" \

    --disable-smsd     \

    --enable-fulldebug \

    --enable-xdebug    \

    --enable-rlpdebug  \

    --with-x

 

Fails with make showing following:

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

make[3]: Entering directory `/home/xxxx/Downloads/gnokii/gnokiiFormyself/gnokii-0.6.29_NEW/common/phones'

/bin/sh ../../libtool   --tag=CC   --mode=compile /XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/x86-linux2/arm-none-linux-gnueabi-armv6jel_vfp-xxxxxxxxx-gcc -DCOMPILI

NG_LIBGNOKII -I. -I../../include    -I../../include  -L/XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/sysroot/lib/ -L/XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/sysroot/usr/lib/ -g -mcpu=arm1136jf-s -O2 -pipe -ggdb3 -Wall -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing  -I/XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/sysroot/usr/lib/ -lbluetooth/net -I/XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/sysroot/usr/lib/ -lbluetooth/  -MT libPHONES_la-generic.lo -MD -MP -MF .deps/libPHONES_la-generic.Tpo -c -o libPHONES_la-generic.lo `test -f 'generic.c' || echo './'`generic.c

libtool: compile:  /XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/x86-linux2/arm-none-linux-gnueabi-armv6jel_vfp-xxxxxxxxx-gcc -DCOMPILING_LIBGNOKII -I. -I../../include -I../../include -L/XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/sysroot/lib/ -L/XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/sysroot/usr/lib/ -g -mcpu=arm1136jf-s -O2 -pipe -ggdb3 -Wall -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -I/XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/sysroot/usr/lib/ -lbluetooth/net -I/XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/sysroot/usr/lib/ -lbluetooth/ -MT libPHONES_la-generic.lo -MD -MP -MF .deps/libPHONES_la-generic.Tpo -c generic.c  -fPIC -DPIC -o .libs/libPHONES_la-generic.o

In file included from ../../include/gnokii-internal.h:38,

                 from generic.c:39:

../../include/compat.h:147: error: expected identifier or '(' before '__extension__'

../../include/compat.h:191: error: conflicting types for 'gettimeofday'

/XXXX/arm/sysroot/xxxxxxxxxxxxxxxxxx/x86-linux2/../sysroot/usr/include/sys/time.h:73: note: previous declaration of 'gettimeofday' was here

../../include/compat.h:195: error: expected identifier or '(' before '__extension__'

../../include/compat.h:195: error: expected identifier or '(' before ')' token

make[3]: *** [libPHONES_la-generic.lo] Error 1

 

Kindly suggest to resolve this issue.

 

Thanks & Regards,

AK



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]