1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
| cd ~/paho_test/workspace/mqtt/paho.mqtt.c make clean make -j 16 ---> mkdir -p build/output/samples mkdir -p build/output/test mkdir -p build echo OSTYPE is Linux sed -e "s/@CLIENT_VERSION@/1.3.13/g" -e "s/@BUILD_TIMESTAMP@/Mon Apr 29 12:37:39 CST 2024/g" src/VersionInfo.h.in > build/VersionInfo.h OSTYPE is Linux arm-linux-gnueabihf-gcc -g -fPIC -D_GNU_SOURCE -Os -Wall -fvisibility=hidden -Ibuild -DPAHO_MQTT_EXPORTS=1 -o build/output/libpaho-mqtt3c.so.1.3 src/Heap.c src/LinkedList.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/SHA1.c src/MQTTPersistence.c src/MQTTProperties.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTTime.c src/MQTTPacketOut.c src/Socket.c src/WebSocket.c src/Clients.c src/OsWrapper.c src/Thread.c src/MQTTPacket.c src/Base64.c src/Log.c src/StackTrace.c src/MQTTReasonCodes.c src/utf-8.c src/SocketBuffer.c src/Proxy.c src/Tree.c src/MQTTClient.c -shared -Wl,-init,MQTTClient_init -Wl,--start-group -pthread -lanl -Wl,--end-group -Wl,-soname,libpaho-mqtt3c.so.1 # arm-linux-gnueabihf-gcc -g -fPIC -D_GNU_SOURCE -Os -Wall -fvisibility=hidden -Ibuild -DPAHO_MQTT_EXPORTS=1 -o build/output/libpaho-mqtt3cs.so.1.3 src/Heap.c src/LinkedList.c src/SSLSocket.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/SHA1.c src/MQTTPersistence.c src/MQTTProperties.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTTime.c src/MQTTPacketOut.c src/Socket.c src/WebSocket.c src/Clients.c src/OsWrapper.c src/Thread.c src/MQTTPacket.c src/Base64.c src/Log.c src/StackTrace.c src/MQTTReasonCodes.c src/utf-8.c src/SocketBuffer.c src/Proxy.c src/Tree.c src/MQTTClient.c -DOPENSSL -shared -Wl,--start-group -pthread -lanl -ldl -lssl -lcrypto -Wl,--end-group -Wl,-init,MQTTClient_init -Wl,-soname,libpaho-mqtt3cs.so.1 -Wl,-no-whole-archive arm-linux-gnueabihf-gcc -g -fPIC -D_GNU_SOURCE -Os -Wall -fvisibility=hidden -Ibuild -DPAHO_MQTT_EXPORTS=1 -o build/output/libpaho-mqtt3a.so.1.3 src/Heap.c src/LinkedList.c src/MQTTAsyncUtils.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/MQTTAsync.c src/SHA1.c src/MQTTPersistence.c src/MQTTProperties.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTTime.c src/MQTTPacketOut.c src/Socket.c src/WebSocket.c src/Clients.c src/OsWrapper.c src/Thread.c src/MQTTPacket.c src/Base64.c src/Log.c src/StackTrace.c src/MQTTReasonCodes.c src/utf-8.c src/SocketBuffer.c src/Proxy.c src/Tree.c -shared -Wl,-init,MQTTAsync_init -Wl,--start-group -pthread -lanl -Wl,--end-group -Wl,-soname,libpaho-mqtt3a.so.1 # arm-linux-gnueabihf-gcc -g -fPIC -D_GNU_SOURCE -Os -Wall -fvisibility=hidden -Ibuild -DPAHO_MQTT_EXPORTS=1 -o build/output/libpaho-mqtt3as.so.1.3 src/Heap.c src/LinkedList.c src/SSLSocket.c src/MQTTAsyncUtils.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/MQTTAsync.c src/SHA1.c src/MQTTPersistence.c src/MQTTProperties.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTTime.c src/MQTTPacketOut.c src/Socket.c src/WebSocket.c src/Clients.c src/OsWrapper.c src/Thread.c src/MQTTPacket.c src/Base64.c src/Log.c src/StackTrace.c src/MQTTReasonCodes.c src/utf-8.c src/SocketBuffer.c src/Proxy.c src/Tree.c -DOPENSSL -shared -Wl,--start-group -pthread -lanl -ldl -lssl -lcrypto -Wl,--end-group -Wl,-init,MQTTAsync_init -Wl,-soname,libpaho-mqtt3as.so.1 -Wl,-no-whole-archive arm-linux-gnueabihf-gcc -g -fPIC -D_GNU_SOURCE -Os -Wall -fvisibility=hidden -Ibuild -DPAHO_MQTT_EXPORTS=1 -o build/output/libpaho-mqtt3cs.so.1.3 src/Heap.c src/LinkedList.c src/SSLSocket.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/SHA1.c src/MQTTPersistence.c src/MQTTProperties.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTTime.c src/MQTTPacketOut.c src/Socket.c src/WebSocket.c src/Clients.c src/OsWrapper.c src/Thread.c src/MQTTPacket.c src/Base64.c src/Log.c src/StackTrace.c src/MQTTReasonCodes.c src/utf-8.c src/SocketBuffer.c src/Proxy.c src/Tree.c src/MQTTClient.c -shared -Wl,--start-group -pthread -lanl -ldl -lssl -lcrypto -Wl,--end-group -Wl,-init,MQTTClient_init -Wl,-soname,libpaho-mqtt3cs.so.1 -Wl,-no-whole-archive arm-linux-gnueabihf-gcc -g -fPIC -D_GNU_SOURCE -Os -Wall -fvisibility=hidden -Ibuild -DPAHO_MQTT_EXPORTS=1 -o build/output/libpaho-mqtt3as.so.1.3 src/Heap.c src/LinkedList.c src/SSLSocket.c src/MQTTAsyncUtils.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/MQTTAsync.c src/SHA1.c src/MQTTPersistence.c src/MQTTProperties.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTTime.c src/MQTTPacketOut.c src/Socket.c src/WebSocket.c src/Clients.c src/OsWrapper.c src/Thread.c src/MQTTPacket.c src/Base64.c src/Log.c src/StackTrace.c src/MQTTReasonCodes.c src/utf-8.c src/SocketBuffer.c src/Proxy.c src/Tree.c -shared -Wl,--start-group -pthread -lanl -ldl -lssl -lcrypto -Wl,--end-group -Wl,-init,MQTTAsync_init -Wl,-soname,libpaho-mqtt3as.so.1 -Wl,-no-whole-archive src/WebSocket.c:124:13: warning: ‘uuid_unparse’ defined but not used [-Wunused-function] static void uuid_unparse( uuid_t uu, char *out ) ^~~~~~~~~~~~ src/WebSocket.c:124:13: warning: ‘uuid_unparse’ defined but not used [-Wunused-function] static void uuid_unparse( uuid_t uu, char *out ) ^~~~~~~~~~~~ src/WebSocket.c:124:13: warning: ‘uuid_unparse’ defined but not used [-Wunused-function] static void uuid_unparse( uuid_t uu, char *out ) ^~~~~~~~~~~~ src/WebSocket.c:124:13: warning: ‘uuid_unparse’ defined but not used [-Wunused-function] static void uuid_unparse( uuid_t uu, char *out ) ^~~~~~~~~~~~ ln -s libpaho-mqtt3c.so.1.3 build/output/libpaho-mqtt3c.so.1 ln -s libpaho-mqtt3c.so.1 build/output/libpaho-mqtt3c.so arm-linux-gnueabihf-gcc -DNOSTACKTRACE -DNOLOG_MESSAGES src/Thread.c -g -o build/output/test/test1 src/../test/test1.c -lpaho-mqtt3c -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -DNOSTACKTRACE -DNOLOG_MESSAGES src/Thread.c -g -o build/output/test/test15 src/../test/test15.c -lpaho-mqtt3c -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -DNOSTACKTRACE -DNOLOG_MESSAGES src/Thread.c -g -o build/output/test/test2 src/../test/test2.c -lpaho-mqtt3c -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -DNOSTACKTRACE -DNOLOG_MESSAGES src/Thread.c -g -o build/output/test/sync_client_test src/../test/sync_client_test.c -lpaho-mqtt3c -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -DNOSTACKTRACE -DNOLOG_MESSAGES src/Thread.c -g -o build/output/test/test_mqtt4sync src/../test/test_mqtt4sync.c -lpaho-mqtt3c -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -DNOSTACKTRACE -DNOLOG_MESSAGES src/Thread.c -g -o build/output/test/test10 src/../test/test10.c -lpaho-mqtt3c -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output ln -s libpaho-mqtt3cs.so.1.3 build/output/libpaho-mqtt3cs.so.1 ln -s libpaho-mqtt3cs.so.1 build/output/libpaho-mqtt3cs.so arm-linux-gnueabihf-gcc -o build/output/samples/MQTTClient_publish src/samples/MQTTClient_publish.c -lpaho-mqtt3cs -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -o build/output/samples/MQTTClient_publish_async src/samples/MQTTClient_publish_async.c -lpaho-mqtt3cs -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -o build/output/samples/MQTTClient_subscribe src/samples/MQTTClient_subscribe.c -lpaho-mqtt3cs -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -o build/output/samples/paho_cs_pub src/samples/paho_cs_pub.c -lpaho-mqtt3cs -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output src/samples/pubsub_opts.c arm-linux-gnueabihf-gcc -o build/output/samples/paho_cs_sub src/samples/paho_cs_sub.c -lpaho-mqtt3cs -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output src/samples/pubsub_opts.c arm-linux-gnueabihf-gcc -g -o build/output/test/test3 src/../test/test3.c -lpaho-mqtt3cs -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output # arm-linux-gnueabihf-gcc -o build/output/samples/MQTTClient_publish src/samples/MQTTClient_publish.c -lpaho-mqtt3cs # arm-linux-gnueabihf-gcc -o build/output/samples/MQTTClient_publish_async src/samples/MQTTClient_publish_async.c -lpaho-mqtt3cs # arm-linux-gnueabihf-gcc -o build/output/samples/MQTTClient_subscribe src/samples/MQTTClient_subscribe.c -lpaho-mqtt3cs # arm-linux-gnueabihf-gcc -o build/output/samples/paho_cs_pub src/samples/paho_cs_pub.c -lpaho-mqtt3cs src/samples/pubsub_opts.c # arm-linux-gnueabihf-gcc -o build/output/samples/paho_cs_sub src/samples/paho_cs_sub.c -lpaho-mqtt3cs src/samples/pubsub_opts.c # arm-linux-gnueabihf-gcc -g -o build/output/test/test3 src/../test/test3.c -lpaho-mqtt3cs ln -s libpaho-mqtt3a.so.1.3 build/output/libpaho-mqtt3a.so.1 ln -s libpaho-mqtt3a.so.1 build/output/libpaho-mqtt3a.so arm-linux-gnueabihf-gcc -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output -o build/output/paho_c_version -lpaho-mqtt3a src/MQTTVersion.c -ldl arm-linux-gnueabihf-gcc -g -o build/output/test/test4 src/../test/test4.c -lpaho-mqtt3a -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -g -o build/output/test/test45 src/../test/test45.c -lpaho-mqtt3a -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -g -o build/output/test/test6 src/../test/test6.c -lpaho-mqtt3a -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -g -o build/output/test/test9 src/../test/test9.c -lpaho-mqtt3a -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -g -o build/output/test/test95 src/../test/test95.c -lpaho-mqtt3a -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -g -o build/output/test/test_mqtt4async src/../test/test_mqtt4async.c -lpaho-mqtt3a -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -g -o build/output/test/test11 src/../test/test11.c -lpaho-mqtt3a -I src -Wl,--start-group -pthread -lanl -Wl,--end-group -L build/output ln -s libpaho-mqtt3as.so.1.3 build/output/libpaho-mqtt3as.so.1 ln -s libpaho-mqtt3as.so.1 build/output/libpaho-mqtt3as.so arm-linux-gnueabihf-gcc -o build/output/samples/MQTTAsync_subscribe src/samples/MQTTAsync_subscribe.c -lpaho-mqtt3as -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -o build/output/samples/MQTTAsync_publish src/samples/MQTTAsync_publish.c -lpaho-mqtt3as -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output arm-linux-gnueabihf-gcc -o build/output/samples/paho_c_pub src/samples/paho_c_pub.c -lpaho-mqtt3as -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output src/samples/pubsub_opts.c arm-linux-gnueabihf-gcc -o build/output/samples/paho_c_sub src/samples/paho_c_sub.c -lpaho-mqtt3as -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output src/samples/pubsub_opts.c arm-linux-gnueabihf-gcc -g -o build/output/test/test5 src/../test/test5.c -lpaho-mqtt3as -I src -Wl,--start-group -pthread -lanl -lssl -lcrypto -Wl,--end-group -L build/output # arm-linux-gnueabihf-gcc -o build/output/samples/MQTTAsync_subscribe src/samples/MQTTAsync_subscribe.c -lpaho-mqtt3as # arm-linux-gnueabihf-gcc -o build/output/samples/MQTTAsync_publish src/samples/MQTTAsync_publish.c -lpaho-mqtt3as # arm-linux-gnueabihf-gcc -o build/output/samples/paho_c_sub src/samples/paho_c_sub.c -lpaho-mqtt3as src/samples/pubsub_opts.c # arm-linux-gnueabihf-gcc -o build/output/samples/paho_c_pub src/samples/paho_c_pub.c -lpaho-mqtt3as src/samples/pubsub_opts.c # arm-linux-gnueabihf-gcc -g -o build/output/test/test5 src/../test/test5.c -lpaho-mqtt3as
|