Sorry, I forget to document this. BPQ now supports
sending information to an mqtt broker. This adds
dependencies on libjansson-dev and? libpaho-mqtt-dev. If you
can't find a package for libpaho-mqtt3a.a? you can build
without mqtt support:
make nomqtt. You may need a make clean first.
or install from source. This works for me:
git clone
cd paho.mqtt.c
cmake -Bbuild -H. -DPAHO_ENABLE_TESTING=OFF
-DPAHO_BUILD_STATIC=ON -DPAHO_WITH_SSL=OFF
-DPAHO_HIGH_PERFORMANCE=ON -DCMAKE_INSTALL_PREFIX=../install
cd build
cmake --build . --target install
Then copy to your lib directory. I use
sudo cp ./install/lib/libpaho-mqtt3a.a
/usr/lib/arm-linux-gnueabihf
or
sudo cp ./install/lib/libpaho-mqtt3a.a /usr/lib/or
i386-linux-gnu/
73, John
On 22/10/2024 05:24, Hari Hendaryanto wrote:
hi guys,
?
i was trying to build linbpq latest from source
obaint from jon's repository(git://vps1.g8bpq.net/linbpq)
my system is kinda ancient using debian buster on
armlogic s905.
?
previously i've never had any problem compiling the
source until version 6.0.24.42 August 2024.
now i have :(
?
gcc pngwtran.o pngrtran.o pngset.o pngrio.o
pngwio.o pngtrans.o pngrutil.o pngwutil.o pngread.o
pngwrite.o png.o pngerror.o pngget.o pngmem.o
APRSIconData.o AISCommon.o upnp.o APRSStdPages.o
HSMODEM.o WinRPR.o KISSHF.o TNCEmulators.o bpqhdlc.o
SerialPort.o adif.o WebMail.o utf8Routines.o VARA.o
LzFind.o Alloc.o LzmaDec.o LzmaEnc.o LzmaLib.o
Multicast.o ARDOP.o IPCode.o FLDigi.o linether.o
CMSAuth.o APRSCode.o BPQtoAGW.o KAMPactor.o
AEAPactor.o HALDriver.o MULTIPSK.o BBSHTMLConfig.o
ChatHTMLConfig.o BBSUtilities.o bpqaxip.o BPQINP3.o
BPQNRR.o cMain.o Cmd.o CommonCode.o HTMLCommonCode.o
compatbits.o config.o datadefs.o FBBRoutines.o
HFCommon.o Housekeeping.o HTTPcode.o kiss.o L2Code.o
L3Code.o L4Code.o lzhuf32.o MailCommands.o
MailDataDefs.o LinBPQ.o MailRouting.o MailTCP.o
MBLRoutines.o md5.o Moncode.o NNTPRoutines.o
RigControl.o TelnetV6.o WINMOR.o TNCCode.o UZ7HODrv.o
WPRoutines.o SCSTrackeMulti.o SCSPactor.o SCSTracker.o
HanksRT.o ?UIRoutines.o AGWAPI.o AGWMoncode.o DRATS.o
FreeDATA.o base64.o Events.o nodeapi.o mailapi.o
mqtt.o -Xlinker -Map=output.map -l:libminiupnpc.a -lrt
-lm -lz -l:libpaho-mqtt3a.a -l:libjansson.a -lpthread
-lconfig -lpcap -o linbpq
/usr/bin/ld: cannot find -l:libpaho-mqtt3a.a
/usr/bin/ld: cannot find -l:libjansson.a
collect2: error: ld returned 1 exit status
make: *** [makefile:35: linbpq] Error 1
?
i can manually installed libjansson.a static package
from deb package for armhf. then do ldconfig.
however i cannot find any libpaho-mqtt3a.a for my
debian buster anywhere.
?
any help would be appreciated.
?
Thanks in advance
Hari YD0BCX