• Soupgare and Spoon on Github

    From Sean Rima@2:263/1.1 to All on Tue Jun 30 18:22:50 2020

    Hello everybody!

    I uploaded both sources, including a change I made in spoon to github

    https://github.com/thecivvie/soupgate
    https://github.com/thecivvie/spoon

    I will add all the docs and stuff later on.


    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)
  • From Vincent Coen@2:250/1 to Sean Rima on Wed Jul 1 15:18:28 2020
    Hello Sean!

    Tuesday June 30 2020 18:22, you wrote to All:


    Hello everybody!

    I uploaded both sources, including a change I made in spoon to github

    https://github.com/thecivvie/soupgate
    https://github.com/thecivvie/spoon

    I will add all the docs and stuff later on.


    I now get both to compile but get a lot of warning mesasges such as for soup :

    soupgate.c:121:7: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    FILE *logf = NULL;
    ^~~~
    In file included from config.c:38:
    soupgate.h:393:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    In file included from lists.c:38:
    soupgate.h:393:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    In file included from pkt.c:38:
    soupgate.h:393:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    In file included from import.c:38:
    soupgate.h:393:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    In file included from export.c:38:
    soupgate.h:393:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~


    For spoon I get a lot more but here is a wee example:

    poon.cpp:60:7: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    FILE *logf = NULL;
    ^~~~
    spoon.cpp: In function ‘void checkdir(char*)’:
    spoon.cpp:143:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    logprintf("FATAL ERROR: subdirectory %s does not exist\n", dir);
    ^
    In file included from config.cpp:38:
    spoon.h:188:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    In file included from keyboard.cpp:38:
    spoon.h:188:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    In file included from nntp.cpp:38:
    spoon.h:188:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    nntp.cpp: In function ‘int getnntpanswer(Socket&, int)’:
    nntp.cpp:63:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    logprintf("Timeout - NNTP host did not answer\n");
    ^
    nntp.cpp:71:84: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    logprintf("NNTPUSER not specified - NNTP host returned: %s", sock.szOutBuf);

    ^

    ---- lots cut but then ----

    Lots more with undefined references but the bottom of the err file has :

    /usr/bin/ld: socket.cpp:(.text+0x20af): undefined reference to `operator new[](unsigned long)'
    /usr/bin/ld: /home/vince/tmp/ccTJym8m.o: in function `Socket::Close()': socket.cpp:(.text+0x21b4): undefined reference to `operator delete[](void*)' /usr/bin/ld: socket.cpp:(.text+0x21de): undefined reference to `operator delete[](void*)'
    /usr/bin/ld: /home/vince/tmp/ccTJym8m.o: in function `__static_initialization_and_destruction_0(int, int)': socket.cpp:(.text+0x2266): undefined reference to `std::ios_base::Init::Init()'
    /usr/bin/ld: socket.cpp:(.text+0x2275): undefined reference to `std::ios_base::Init::~Init()'
    /usr/bin/ld: /home/vince/tmp/ccTJym8m.o:(.eh_frame+0x8b): undefined reference to `__gxx_personality_v0'
    collect2: error: ld returned 1 exit status

    ----

    program was generated and I can run it with -h

    Gcc is v8.4 on Mageia v7.1 X64 distro if it helps :).

    Both was built using the makesp / makesg scripts as a normal user.


    Vincent

    --- Mageia Linux v7.1 X64/Mbse v1.0.7.13/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Sean Rima@2:263/1.1 to Vincent Coen on Wed Jul 1 23:32:34 2020
    Hello Vincent!

    01 Jul 20 15:18, you wrote to me:

    Hello Sean!

    Tuesday June 30 2020 18:22, you wrote to All:


    Hello everybody!

    I uploaded both sources, including a change I made in spoon to
    github

    https://github.com/thecivvie/soupgate
    https://github.com/thecivvie/spoon

    I will add all the docs and stuff later on.


    I now get both to compile but get a lot of warning mesasges such as
    for soup :

    soupgate.c:121:7: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    FILE *logf = NULL;
    ^~~~
    In file included from config.c:38:
    soupgate.h:393:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    In file included from lists.c:38:
    soupgate.h:393:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    In file included from pkt.c:38:
    soupgate.h:393:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    In file included from import.c:38:
    soupgate.h:393:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~
    In file included from export.c:38:
    soupgate.h:393:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch]
    extern FILE *logf;
    ^~~~

    I think it needs time to go through and sort these out

    For spoon I get a lot more but here is a wee example:

    poon.cpp:60:7: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch] FILE *logf = NULL;
    ^~~~
    spoon.cpp: In function ‘void checkdir(char*)’:
    spoon.cpp:143:69: warning: ISO C++ forbids converting a string
    constant to ‘char*’ [-Wwrite-strings]
    logprintf("FATAL ERROR: subdirectory %s does not exist\n",
    dir);
    ^
    In file included from config.cpp:38:
    spoon.h:188:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch] extern FILE *logf;
    ^~~~
    In file included from keyboard.cpp:38:
    spoon.h:188:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch] extern FILE *logf;
    ^~~~
    In file included from nntp.cpp:38:
    spoon.h:188:14: warning: built-in function ‘logf’ declared as non-function [-Wbuiltin-declaration-mismatch] extern FILE *logf;
    ^~~~
    nntp.cpp: In function ‘int getnntpanswer(Socket&, int)’: nntp.cpp:63:55: warning: ISO C++ forbids converting a string constant
    to ‘char*’ [-Wwrite-strings]
    logprintf("Timeout - NNTP host did not answer\n");
    ^
    nntp.cpp:71:84: warning: ISO C++ forbids converting a string constant
    to ‘char*’ [-Wwrite-strings]
    logprintf("NNTPUSER not specified - NNTP host returned: %s", sock.szOutBuf);

    ^

    ---- lots cut but then ----

    Lots more with undefined references but the bottom of the err file has
    :

    /usr/bin/ld: socket.cpp:(.text+0x20af): undefined reference to
    `operator new[](unsigned long)' /usr/bin/ld:
    /home/vince/tmp/ccTJym8m.o: in function
    `Socket::Close()': socket.cpp:(.text+0x21b4): undefined reference to `operator delete[](void*)' /usr/bin/ld: socket.cpp:(.text+0x21de): undefined reference to `operator delete[](void*)' /usr/bin/ld: /home/vince/tmp/ccTJym8m.o: in
    function `__static_initialization_and_destruction_0(int,
    int)': socket.cpp:(.text+0x2266): undefined reference to
    `std::ios_base::Init::Init()' /usr/bin/ld: socket.cpp:(.text+0x2275): undefined reference to `std::ios_base::Init::~Init()' /usr/bin/ld: /home/vince/tmp/ccTJym8m.o:(.eh_frame+0x8b): undefined reference to `__gxx_personality_v0'
    collect2: error: ld returned 1 exit status

    ----

    program was generated and I can run it with -h

    Gcc is v8.4 on Mageia v7.1 X64 distro if it helps :).

    Both was built using the makesp / makesg scripts as a normal user.


    Havw to check that out. Can you get the packets to import into MBSE. Husjy doesnt like the packets

    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)
  • From Vincent Coen@2:250/1 to Sean Rima on Thu Jul 2 23:07:03 2020
    Hello Sean!

    Wednesday July 01 2020 23:32, you wrote to me:


    program was generated and I can run it with -h

    Gcc is v8.4 on Mageia v7.1 X64 distro if it helps :).

    Both was built using the makesp / makesg scripts as a normal
    user.


    Havw to check that out. Can you get the packets to import into MBSE.
    Husjy doesnt like the packets

    Got no data to test it with yet and at the moment I am heavily into manual writing or amending not many 6 of 'em - around 1000+ pages.

    Mind you it would help if I can get some features working with Libreoffice 6.4.

    Getting too old for this s??t.




    Vincent

    --- Mageia Linux v7.1 X64/Mbse v1.0.7.13/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Sean Rima@2:263/1.1 to Vincent Coen on Fri Jul 3 22:51:10 2020

    Hello Vincent!

    02 Jul 20 23:07, you wrote to me:

    program was generated and I can run it with -h

    Gcc is v8.4 on Mageia v7.1 X64 distro if it helps :).

    Both was built using the makesp / makesg scripts as a normal
    user.


    Havw to check that out. Can you get the packets to import into
    MBSE. Husjy doesnt like the packets

    Got no data to test it with yet and at the moment I am heavily into
    manual writing or amending not many 6 of 'em - around 1000+ pages.

    Mind you it would help if I can get some features working with
    Libreoffice 6.4.

    Getting too old for this s??t.

    Aren't we all. I am going to find a spare Pi and stick BBBS onto it for testing

    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)
  • From Vincent Coen@2:250/1 to Sean Rima on Sat Jul 4 16:02:51 2020
    Hello Sean!

    Friday July 03 2020 22:51, you wrote to me:


    Hello Vincent!

    02 Jul 20 23:07, you wrote to me:

    program was generated and I can run it with -h

    Gcc is v8.4 on Mageia v7.1 X64 distro if it helps :).

    Both was built using the makesp / makesg scripts as a normal
    user.


    Havw to check that out. Can you get the packets to import into
    MBSE. Husjy doesnt like the packets

    Got no data to test it with yet and at the moment I am heavily
    into manual writing or amending not many 6 of 'em - around 1000+
    pages.

    Mind you it would help if I can get some features working with
    Libreoffice 6.4.

    Getting too old for this s??t.

    Aren't we all. I am going to find a spare Pi and stick BBBS onto it
    for testing

    Have to do the same but with mbse so that elist has a backup.
    Did have mbse on it but had to reload the O/S for some reason it failed to boot
    correctly (to HDD).

    If they ever sort out booting with a pi4 I will get and switch to it but they do seem to be running in very slow mode :)

    May be too many educational programmers and not enough commercial ones or at least the Programmmer Manager/director!


    Vincent

    --- Mageia Linux v7.1 X64/Mbse v1.0.7.13/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Sean Rima@2:263/1.1 to Vincent Coen on Sat Jul 4 18:58:38 2020

    Hello Vincent!

    04 Jul 20 16:02, you wrote to me:

    program was generated and I can run it with -h

    Gcc is v8.4 on Mageia v7.1 X64 distro if it helps :).

    Both was built using the makesp / makesg scripts as a normal
    user.


    Havw to check that out. Can you get the packets to import into
    MBSE. Husjy doesnt like the packets

    Got no data to test it with yet and at the moment I am heavily
    into manual writing or amending not many 6 of 'em - around 1000+
    pages.

    Mind you it would help if I can get some features working with
    Libreoffice 6.4.

    Getting too old for this s??t.

    Aren't we all. I am going to find a spare Pi and stick BBBS onto it
    for testing

    Have to do the same but with mbse so that elist has a backup.
    Did have mbse on it but had to reload the O/S for some reason it
    failed to boot correctly (to HDD).

    If they ever sort out booting with a pi4 I will get and switch to it
    but they do seem to be running in very slow mode :)

    May be too many educational programmers and not enough commercial ones
    or at least the Programmmer Manager/director!

    Seems it works ok on a Pi :) Going to test now

    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)
  • From Vincent Coen@2:250/1 to Sean Rima on Sat Jul 4 22:37:59 2020
    Hello Sean!

    Saturday July 04 2020 18:58, you wrote to me:


    Havw to check that out. Can you get the packets to import into
    MBSE. Husjy doesnt like the packets

    Got no data to test it with yet and at the moment I am heavily
    into manual writing or amending not many 6 of 'em - around
    1000+ pages.

    Mind you it would help if I can get some features working with
    Libreoffice 6.4.

    Getting too old for this s??t.

    Aren't we all. I am going to find a spare Pi and stick BBBS onto
    it for testing

    Have to do the same but with mbse so that elist has a backup.
    Did have mbse on it but had to reload the O/S for some reason it
    failed to boot correctly (to HDD).

    If they ever sort out booting with a pi4 I will get and switch to
    it but they do seem to be running in very slow mode :)

    May be too many educational programmers and not enough commercial
    ones or at least the Programmmer Manager/director!

    Seems it works ok on a Pi :) Going to test now

    I am sure that a 3B+ works well and a lot better with a HDD as boot.

    I only use a SD to source the o/s then switch to a USB connected HDD via X850 board and case, works well but I don't have it running often as stick to a AMD 8 core and Linux for my bread and butter work.


    Vincent

    --- Mageia Linux v7.1 X64/Mbse v1.0.7.13/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Sean Rima@2:263/1.1 to Vincent Coen on Sun Jul 5 01:17:18 2020

    Hello Vincent!

    04 Jul 20 22:37, you wrote to me:

    May be too many educational programmers and not enough
    commercial ones or at least the Programmmer Manager/director!

    Seems it works ok on a Pi :) Going to test now

    I am sure that a 3B+ works well and a lot better with a HDD as boot.

    I only use a SD to source the o/s then switch to a USB connected HDD
    via X850 board and case, works well but I don't have it running often
    as stick to a AMD 8 core and Linux for my bread and butter work.

    I put Spoon and Soupgate onto a 3B, imported the soup files and then sftp the packets across manually. Tossed ok.

    So it is 64 bit that is causing the issue :)\

    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)
  • From Sean Rima@2:263/1.1 to Vincent Coen on Sun Jul 5 02:12:20 2020

    Hello Vincent!

    04 Jul 20 22:37, you wrote to me:

    I am sure that a 3B+ works well and a lot better with a HDD as boot.

    I only use a SD to source the o/s then switch to a USB connected HDD
    via X850 board and case, works well but I don't have it running often
    as stick to a AMD 8 core and Linux for my bread and butter work.

    Solution

    in the makesg file add -m32 after the gcc. You may need to apt install gcc-multilib

    This seems to make it work on a 64 bit sysyem.Â


    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)