home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 650 
 Vincent Coen to Sean Rima 
 Soupgare and Spoon on Github 
 01 Jul 20 15:18:28 
 
REPLY: 2:263/1.1 5efb7578
MSGID: 2:250/1@fidonet 5efc9d30
CHRS: UTF-8 2
TZUTC: 0100
TID: MBSE-FIDO 1.0.7.17 (GNU/Linux-x86_64)
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)
SEEN-BY: 1/123 90/1 120/340 601 123/131 226/30 227/114 702 229/101
SEEN-BY: 229/424 426 452 616 664 981 1014 240/5832 249/206 317 400
SEEN-BY: 292/854 317/3 322/757 342/200 633/280
PATH: 250/1 261/38 218/700 103/705 280/464 229/101 426


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

(c) 1994,  bbs@darkrealms.ca