¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Slackware 15 Build Fail


 

Trying to get the latest and greatest, since it has been a while since
I compiled a fresh binary on my slackware box. Looks like it is
looking for a library related to The Internet of Things client
"libpaho-mqtt3a" (or at least the library for it). I am thinking this
is a new dependency that does not come bundled with Slackware 15.
Unfortunately not in the Slackbuilds 3rd party repo.

gcc -DLINBPQ -MMD -g -rdynamic -fcommon -fasynchronous-unwind-tables
-c -o RHP.o RHP.c

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 RHP.o -Xlinker
-Map=output.map -l:libminiupnpc.so -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

Please advise :D



--
Thanks,
Chris Maness


 

¿ªÔÆÌåÓý

Have you seen



It details the latest dependencies and info on building without MQTT support and building libpaho-mqtt-dev if it is not included in your system.

73,
John



On 21/05/2025 02:36, Chris Maness KQ6UP via groups.io wrote:

Trying to get the latest and greatest, since it has been a while since
I compiled a fresh binary on my slackware box.  Looks like it is
looking for a library related to The Internet of Things client
"libpaho-mqtt3a" (or at least the library for it).  I am thinking this
is a new dependency that does not come bundled with Slackware 15.
Unfortunately not in the Slackbuilds 3rd party repo.

gcc -DLINBPQ -MMD -g -rdynamic -fcommon -fasynchronous-unwind-tables
-c -o RHP.o RHP.c

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 RHP.o -Xlinker
-Map=output.map -l:libminiupnpc.so -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

Please advise :D





 

Yes, that is helpful. A suggestion for the document would be a quick
mention about either making symbolic links from library.so to
library.a for Slackware, or any other platform that uses shared object
libraries. Or editing the makefile changing .a depends to .so. I
almost forgot about that when compiling this last time.

Thanks, John.
Chris KQ6UP

On Tue, May 20, 2025 at 10:25?PM John G8BPQ via groups.io
<john.wiseman@...> wrote:

Have you seen



It details the latest dependencies and info on building without MQTT support and building libpaho-mqtt-dev if it is not included in your system.

73,
John



On 21/05/2025 02:36, Chris Maness KQ6UP via groups.io wrote:

Trying to get the latest and greatest, since it has been a while since
I compiled a fresh binary on my slackware box. Looks like it is
looking for a library related to The Internet of Things client
"libpaho-mqtt3a" (or at least the library for it). I am thinking this
is a new dependency that does not come bundled with Slackware 15.
Unfortunately not in the Slackbuilds 3rd party repo.

gcc -DLINBPQ -MMD -g -rdynamic -fcommon -fasynchronous-unwind-tables
-c -o RHP.o RHP.c

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 RHP.o -Xlinker
-Map=output.map -l:libminiupnpc.so -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

Please advise :D






--
Thanks,
Chris Maness