home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 651 
 Sean Rima to Vincent Coen 
 Soupgare and Spoon on Github 
 01 Jul 20 23:32:34 
 
REPLY: 2:250/1@fidonet 5efc9d30
MSGID: 2:263/1.1 5efd0f6c
CHRS: UTF-8 2
TZUTC: 0100
   Hello Vincent!

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

 VC> Hello Sean!

 VC> 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.


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

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

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

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

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

 VC>     ^

 VC> ----   lots cut but then ----

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

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

 VC> ----

 VC> program was generated and I can run it with -h

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

 VC> 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)
SEEN-BY: 1/123 15/0 16/101 19/25 33 36 38 50 20/4609 90/1 103/705
SEEN-BY: 106/101 201 633 987 116/18 120/331 340 601 123/131 140 124/5014
SEEN-BY: 124/5016 128/2 130/803 153/757 7715 154/10 203/0 218/700
SEEN-BY: 221/0 222/2 226/30 227/114 702 229/101 424 426 452 616 664
SEEN-BY: 229/981 1014 230/150 152 240/1120 5138 5832 5853 6309 249/206
SEEN-BY: 249/317 400 250/1 261/38 100 266/512 267/155 275/100 280/464
SEEN-BY: 280/5003 282/1031 1056 288/100 291/100 111 292/854 8125 310/31
SEEN-BY: 317/3 320/119 219 322/757 340/400 341/66 342/200 387/25 26
SEEN-BY: 387/27 396/45 423/120 633/280 640/1321 712/848 770/1 801/161
SEEN-BY: 801/189 2320/105 2432/390 2452/250 2454/119 3634/12 5020/715
SEEN-BY: 5020/1042
PATH: 263/1 222/2 261/38 396/45 280/464 240/5832 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca