• 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)