OpenBCM V1.13 (Linux)

Packet Radio Mailbox

DB0FHN

[JN59NK Nuernberg]

 Login: GUEST





  
I0OJJ  > BPQ      30.04.20 10:49l 183 Lines 7540 Bytes #999 (7) @ WW
BID : U4UI0OJJ_006
Read: DJ6UX DF7EAV GUEST
Subj: Re^4: Compiling LinBPQ Beta...:^)
Path: DB0FHN<DB0RBS<DB0ERF<IZ3LSV<IR1UAW<I0OJJ
Sent: 200430/0836z @:I0OJJ.ITA.EU [Rome] obcm1.08-5-g2f4a LT:007
From: I0OJJ @ I0OJJ.ITA.EU (Gustavo)
To:   BPQ @ WW
X-Info: Sent with login password

Hi,

>Hi Gustavo
>
>I have changed the thread topic as this is not about compiling on 64bit linux
;)
>
>Also another tip I received via a PM:
>
>You should be able to load linbpq in GDB and start it, rather than the other
way around.
>
>gdb linnpq
>(gdb) run
>...
>seg fault
>(gdb) bt
>
>
>> Hi Red,
>> 
>> nope, the segfault happens *during* boot of linbpq
>> and NOT when it runs, so no 'bdg' debug procedure
>> may by set up.
>>  
>
>Thanks to G7TAJ for the info.
>
>73
>Red
------------

the 'gdb' gave no results since "No stack." found, as follows.

GNU gdb (GDB) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-slackware-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./linbpq...done.
(gdb) continue
The program is not being run.
(gdb) back full
No stack.
(gdb) quit
--------------

The linbpq sources compile shows big failures during
the compile process and the obtained executable
results cut in dimension of about the 40% with respect
to that supplied by G8BPQ; results follows below.

Confirm again that the 'linbpq' executable supllied
by G8BPB, apart the faukt on IPROUTE, run OK and
found it a bit improved on setup procedure with
respect some years ago :)

--
73 and ciao, gustavo i0ojj/ir0aab/ir0eq

-------------
gcc -DLINBPQ -MMD -g   -c -o adif.o adif.c
gcc -DLINBPQ -MMD -g   -c -o bpqhdlc.o bpqhdlc.c
gcc -DLINBPQ -MMD -g   -c -o SerialPort.o SerialPort.c
gcc -DLINBPQ -MMD -g   -c -o WebMail.o WebMail.c
gcc -DLINBPQ -MMD -g   -c -o utf8Routines.o utf8Routines.c
gcc -DLINBPQ -MMD -g   -c -o VARA.o VARA.c
gcc -DLINBPQ -MMD -g   -c -o LzFind.o LzFind.c
gcc -DLINBPQ -MMD -g   -c -o Alloc.o Alloc.c
gcc -DLINBPQ -MMD -g   -c -o LzmaDec.o LzmaDec.c
gcc -DLINBPQ -MMD -g   -c -o LzmaEnc.o LzmaEnc.c
gcc -DLINBPQ -MMD -g   -c -o LzmaLib.o LzmaLib.c
gcc -DLINBPQ -MMD -g   -c -o Multicast.o Multicast.c
gcc -DLINBPQ -MMD -g   -c -o ARDOP.o ARDOP.c
gcc -DLINBPQ -MMD -g   -c -o IPCode.o IPCode.c
gcc -DLINBPQ -MMD -g   -c -o FLDigi.o FLDigi.c
FLDigi.c: In function 'ExtProc':
FLDigi.c:584:47: warning: passing argument 3 of 'SendXMLCommand' makes pointer
from integer without a cast [-Wint-conversion]
      SendXMLCommand(TNC, "modem.set_carrier", atoi(&buff->L2DATA[5]), 'I');
                                               ^
FLDigi.c:97:6: note: expected 'char *' but argument is of type 'int'
 VOID SendXMLCommand(struct TNCINFO * TNC, char * Command, char * Value, char
ParamType);
      ^
gcc -DLINBPQ -MMD -g   -c -o linether.o linether.c
gcc -DLINBPQ -MMD -g   -c -o TNCEmulators.o TNCEmulators.c
gcc -DLINBPQ -MMD -g   -c -o CMSAuth.o CMSAuth.c
gcc -DLINBPQ -MMD -g   -c -o APRSCode.o APRSCode.c
gcc -DLINBPQ -MMD -g   -c -o BPQtoAGW.o BPQtoAGW.c
gcc -DLINBPQ -MMD -g   -c -o KAMPactor.o KAMPactor.c
gcc -DLINBPQ -MMD -g   -c -o AEAPactor.o AEAPactor.c
gcc -DLINBPQ -MMD -g   -c -o HALDriver.o HALDriver.c
gcc -DLINBPQ -MMD -g   -c -o MULTIPSK.o MULTIPSK.c
gcc -DLINBPQ -MMD -g   -c -o BBSHTMLConfig.o BBSHTMLConfig.c
gcc -DLINBPQ -MMD -g   -c -o ChatHTMLConfig.o ChatHTMLConfig.c
gcc -DLINBPQ -MMD -g   -c -o HTMLCommonCode.o HTMLCommonCode.c
gcc -DLINBPQ -MMD -g   -c -o BBSUtilities.o BBSUtilities.c
gcc -DLINBPQ -MMD -g   -c -o bpqaxip.o bpqaxip.c
gcc -DLINBPQ -MMD -g   -c -o BPQINP3.o BPQINP3.c
gcc -DLINBPQ -MMD -g   -c -o BPQNRR.o BPQNRR.c
gcc -DLINBPQ -MMD -g   -c -o cMain.o cMain.c
cMain.c:1473:0: warning: "LINE_MAX" redefined
 #define LINE_MAX 256
 ^
In file included from /usr/include/limits.h:147:0,
                 from
/usr/lib/gcc/i586-slackware-linux/5.5.0/include-fixed/limits.h:168,
                 from
/usr/lib/gcc/i586-slackware-linux/5.5.0/include-fixed/syslimits.h:7,
                 from
/usr/lib/gcc/i586-slackware-linux/5.5.0/include-fixed/limits.h:34,
                 from /usr/include/bits/socket.h:29,
                 from /usr/include/sys/socket.h:38,
                 from compatbits.h:64,
                 from CHeaders.h:9,
                 from cMain.c:37:
/usr/include/bits/posix2_lim.h:81:0: note: this is the location of the previous
definition
 #define LINE_MAX  _POSIX2_LINE_MAX
 ^
gcc -DLINBPQ -MMD -g   -c -o Cmd.o Cmd.c
gcc -DLINBPQ -MMD -g   -c -o CommonCode.o CommonCode.c
gcc -DLINBPQ -MMD -g   -c -o compatbits.o compatbits.c
gcc -DLINBPQ -MMD -g   -c -o config.o config.c
gcc -DLINBPQ -MMD -g   -c -o datadefs.o datadefs.c
gcc -DLINBPQ -MMD -g   -c -o FBBRoutines.o FBBRoutines.c
gcc -DLINBPQ -MMD -g   -c -o HFCommon.o HFCommon.c
gcc -DLINBPQ -MMD -g   -c -o Housekeeping.o Housekeeping.c
gcc -DLINBPQ -MMD -g   -c -o HTTPcode.o HTTPcode.c
gcc -DLINBPQ -MMD -g   -c -o kiss.o kiss.c
gcc -DLINBPQ -MMD -g   -c -o L2Code.o L2Code.c
gcc -DLINBPQ -MMD -g   -c -o L3Code.o L3Code.c
gcc -DLINBPQ -MMD -g   -c -o L4Code.o L4Code.c
gcc -DLINBPQ -MMD -g   -c -o lzhuf32.o lzhuf32.c
gcc -DLINBPQ -MMD -g   -c -o MailCommands.o MailCommands.c
gcc -DLINBPQ -MMD -g   -c -o MailDataDefs.o MailDataDefs.c
gcc -DLINBPQ -MMD -g   -c -o LinBPQ.o LinBPQ.c
gcc -DLINBPQ -MMD -g   -c -o MailRouting.o MailRouting.c
gcc -DLINBPQ -MMD -g   -c -o MailTCP.o MailTCP.c
gcc -DLINBPQ -MMD -g   -c -o MBLRoutines.o MBLRoutines.c
gcc -DLINBPQ -MMD -g   -c -o md5.o md5.c
gcc -DLINBPQ -MMD -g   -c -o Moncode.o Moncode.c
gcc -DLINBPQ -MMD -g   -c -o NNTPRoutines.o NNTPRoutines.c
gcc -DLINBPQ -MMD -g   -c -o RigControl.o RigControl.c
gcc -DLINBPQ -MMD -g   -c -o TelnetV6.o TelnetV6.c
gcc -DLINBPQ -MMD -g   -c -o WINMOR.o WINMOR.c
gcc -DLINBPQ -MMD -g   -c -o TNCCode.o TNCCode.c
gcc -DLINBPQ -MMD -g   -c -o UZ7HODrv.o UZ7HODrv.c
gcc -DLINBPQ -MMD -g   -c -o WPRoutines.o WPRoutines.c
gcc -DLINBPQ -MMD -g   -c -o SCSTrackeMulti.o SCSTrackeMulti.c
gcc -DLINBPQ -MMD -g   -c -o SCSPactor.o SCSPactor.c
gcc -DLINBPQ -MMD -g   -c -o SCSTracker.o SCSTracker.c
gcc -DLINBPQ -MMD -g   -c -o HanksRT.o HanksRT.c
gcc -DLINBPQ -MMD -g   -c -o UIRoutines.o UIRoutines.c
gcc -DLINBPQ -MMD -g   -c -o AGWAPI.o AGWAPI.c
gcc -DLINBPQ -MMD -g   -c -o AGWMoncode.o AGWMoncode.c
gcc adif.o bpqhdlc.o SerialPort.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 TNCEmulators.o CMSAuth.o APRSCode.o BPQtoAGW.o KAMPactor.o
AEAPactor.o HALDriver.o MULTIPSK.o BBSHTMLConfig.o ChatHTMLConfig.o
HTMLCommonCode.o BBSUtilities.o bpqaxip.o BPQINP3.o BPQNRR.o cMain.o Cmd.o
CommonCode.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 -Xlinker -Map=output.map -lrt -lm -lpthread
-lconfig -lpcap -o linbpq
sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq		
 


Read previous mail | Read next mail


 01.10.2026 19:03:46lGo back Go up