Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Paho Build help

Hi Julian,

I've taken a look at the makefile and what Ian says is correct (not
surprisingly!). What is happening is on Linux 32-bit builds the
standard Linux x86 32-bit library is built but it also attempts to
make Arm builds for glibc and uclibc. You presumably don't need these
last two but the Linux x86 library should have been built. To stop
building the Arm libraries you could use the patch below on
build/Makefile

Cheers,

Roger


--- Makefile.orig       2012-08-31 17:14:07.813214000 +0100
+++ Makefile    2012-08-31 17:14:13.545213999 +0100
@@ -70,7 +70,7 @@
   MQTTLIB_ARM_GLIBC = linux_ARM_glibc/lib${MQTTLIB}.so
   MQTTLIB_ARM_UCLIBC = linux_ARM_uclibc/lib${MQTTLIB}.so

-all: ${MQTTLIB_IA32} ${MQTTLIB_ARM_GLIBC} ${MQTTLIB_ARM_UCLIBC}
+all: ${MQTTLIB_IA32}

 ${MQTTLIB_IA32}: ${SOURCE_FILES} ${HEADERS}
        -mkdir linux_ia32


Back to the top