Quoting Ben Pfaff <b...@nicira.com>:
On Thu, May 22, 2014 at 02:04:07PM +0300, Zoi VASILIOU wrote:
I am trying to compile ovs-dpctl for arm architecture.
However the following error is showing:
Compile with this command:
arm-eabi-gcc -c -I. -I../include/
-I/home/zoi/android-ndk-r5b/platforms/android-8/arch-arm/usr/include/
-mandroid -ffunction-sections -fdata-sections -Os -g
--sysroot=/home/zoi/android-ndk-r5b/platforms/android-8/arch-arm/
-fPIC -fvisibility=hidden -D__NEW__ -g -D__ARM_ARCH_5__
-D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID
-DSK_RELEASE -DNDEBUG -UDEBUG -march=armv5te -mtune=xscale
-msoft-float -mthumb-interwork -fpic -ffunction-sections
-funwind-tables -fstack-protector -fmessage-length=0 -Bdynamic
ovs-dpctl.c -o ovs-dpctl.o
The error:
In file included from vlog.h:34,
from ovs-dpctl.c:52:
ovs-thread.h:74: error: expected specifier-qualifier-list before
'pthread_rwlock_t'
Line 74 of ovs-thread.h is blank on master. What version are you
building?
Searching on the web, i found that this error means that pthread.h is
missing. I open the ovs-thread.h and the #include <pthread.h> is there.
I tried to build the version 2.0.0 and 2.1.2. The same error is
appearing in both of them.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss