• cfroute

    From Angel Ripoll@2:34/999 to Todos on Wed Feb 19 20:38:16 2020
    Hola Todos!

    Is there anyone who uses cfroute and can tell me why he doesn't compile in the raspi?



    When I do the make (I used the huskymak.cfg from the debian folder), I get the following error:


    ------8<------8<----Principio de error_cfroute.txt-----8<------8<------8< root@raspberrypi:/usr/src/husky/cfroute# make
    g++ -I/usr/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -DUNIX -DNOSEMAPHORES -DSQUISHCFS -Isrc -c src/cfroute.cpp
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp:890:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    sprintf (storage,"%s"DIRSEPS"%s.",QQQOutboundDirectory,rname);
    ^
    src/netmail.cpp:924:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    sprintf (temp,"%s"DIRSEPS,OutboundDirectory);
    ^
    src/netmail.cpp:944:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    sprintf (temp,"%s.%03X"DIRSEPS,OutboundDirectory,destination.Zone);
    ^
    src/netmail.cpp:955:34: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    "%s.%03X"DIRSEPS,Domain,destination.Zone);
    ^
    src/netmail.cpp:963:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    sprintf (temp,"PNT"DIRSEPS"%08X.",destination.Point);
    ^
    In file included from src/cfroute.cpp:83:
    src/fastecho.cpp:51:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    strcpy (configpath,"."DIRSEPS);
    ^
    In file included from src/cfroute.cpp:8:
    src/platform.h:28:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    char *IDENTProgramName="CFR-UNX";
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: error: conflicting declaration of C function ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: previous declaration ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    src/cfroute.cpp:13:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    char *IDENTPos="a";
    ^~~
    In file included from src/cfroute.cpp:40:
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    };
    ^
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp:253:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    src/basic.cpp: In function ‘int GetFullQualifiedAddress(char*, S_FQAddress*, S_FQAddress*)’:
    src/basic.cpp:493:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    sprintf ("%u",&Compo[strlen (Compo)],Main->Node);
    ^ src/basic.cpp: In function ‘FILE* makedirandfopen(char*, const char*)’: src/basic.cpp:827:27: error: call of overloaded ‘adaptcase(char*&)’ is ambiguous
    adaptcase(filename);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:46:
    src/macro.cpp: In member function ‘int C_MacroContainer::Process(char*)’: src/macro.cpp:62:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    if (!cistrcmp (Token,"ENDDEFINE"))
    ^
    In file included from src/cfroute.cpp:50:
    src/config.cpp: In member function ‘int CConfigHandler::ReadLine(char*, long int*)’:
    src/config.cpp:125:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    if (cistrcmp (Check,";CFR")==0)
    ^
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp: In function ‘void FindAttachedFile(char*, int)’: src/netmail.cpp:93:29: error: call of overloaded ‘adaptcase(char*&)’ is ambiguous
    adaptcase(buffer); return;
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp:115:27: error: call of overloaded ‘adaptcase(char*&)’ is ambiguous
    adaptcase(buf2);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp:126:23: error: call of overloaded ‘adaptcase(char*&)’ is ambiguous
    adaptcase(buf2);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp:128:21: error: call of overloaded ‘adaptcase(char*&)’ is ambiguous
    adaptcase(buffer);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp: In function ‘int SubjectToFile(char*, char*, char*, int, int)’:
    src/netmail.cpp:137:27: error: call of overloaded ‘adaptcase(char [256])’ is ambiguous
    adaptcase(complete);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp: In function ‘int MSGToPKT(char*, char*, char*, S_FQAddress, S_FQAddress, S_FQAddress, int, int)’:
    src/netmail.cpp:220:31: error: call of overloaded ‘adaptcase(char [256])’ is ambiguous
    adaptcase(completepath);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp: In function ‘int GetVisibleInfo(char*, S_Visu*, C_StringList*, C_StringList*)’:
    src/netmail.cpp:717:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    while (FHandler.ReadUpTo (buffer,"\r\n")!=EBH_EOF)
    ^
    src/netmail.cpp: In function ‘void FindUniqueQQQ(char*)’: src/netmail.cpp:892:31: error: call of overloaded ‘adaptcase(char [80])’ is ambiguous
    adaptcase(temp);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp: In function ‘int GetSendType(S_Visu*, C_StringList*)’: src/netmail.cpp:1040:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    SL_Routeto->AddString (" Via: None (addressed to this system)\n");
    ^ src/netmail.cpp: In function ‘int DetermineRouteToSystem(S_Visu*, int, C_StringList*, S_FQAddress*, int*, char*, char*)’:
    src/netmail.cpp:1119:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    SL_Routeto->AddString ("Attributes caused message not to be processed.\n");
    ^ src/netmail.cpp:1132:79: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    SL_Routeto->AddString (" Via: None (no route defined for this message).\n");

    ^
    src/netmail.cpp: In function ‘int CheckAndCreateSem(char*)’: src/netmail.cpp:1223:31: error: call of overloaded ‘adaptcase(char*&)’ is ambiguous
    result = adaptcase(sav);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp: In function ‘void ReleaseSem(char*)’: src/netmail.cpp:1242:31: error: call of overloaded ‘adaptcase(char*&)’ is ambiguous
    result = adaptcase(sav);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp: In function ‘int PostAnalysis(S_Visu*, S_Control*)’: src/netmail.cpp:1317:100: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("----------------------------------------------------------------------------- -\n");

    ^
    src/netmail.cpp:1331:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("%s",x->SL_Header.GetString (count));
    ^ src/netmail.cpp:1334:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("%s",x->SL_ToWrite.GetString (count));
    ^ src/netmail.cpp:1336:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("%s",x->SL_Routeto.GetString (count));
    ^ src/netmail.cpp:1338:84: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("Warning: %s already processed here - possible loop.\n",x->define);

    ^
    src/netmail.cpp:1342:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("%s\n",x->SL_Via.GetString (count));
    ^ src/netmail.cpp:1346:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog("Mail is looping - we do not route it.\n");
    ^ src/netmail.cpp:1347:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog("\n");
    ^
    src/netmail.cpp:1356:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("\n");
    ^
    src/netmail.cpp:1373:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("File: %s%s\n",x->savepath,x->ext);
    ^
    src/netmail.cpp:1377:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Days[GetDOW()],dt.hours,dt.minutes,dt.seconds);
    ^ src/netmail.cpp:1378:100: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("----------------------------------------------------------------------------- -\n");

    ^
    src/netmail.cpp: In function ‘int AnalyzeNet(char*)’: src/netmail.cpp:1431:23: error: call of overloaded ‘adaptcase(char*&)’ is ambiguous
    adaptcase(path);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:77:
    src/netmail.cpp:1441:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    " the waypoint was busy.\n\n");
    ^ src/netmail.cpp:1455:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    "(%s).\n\n",x.savepath);
    ^ src/netmail.cpp:1469:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    "fileattach queue.\n");
    ^ src/netmail.cpp:1477:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    " filerequest queue.\n");
    ^ src/netmail.cpp:1484:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    x.define);
    ^
    src/netmail.cpp:1490:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    "as sent.\n",x.define);
    ^ src/netmail.cpp:1492:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("\n");
    ^
    In file included from src/cfroute.cpp:83:
    src/fastecho.cpp: In function ‘int FastEchoConfig()’: src/fastecho.cpp:58:29: error: call of overloaded ‘adaptcase(char [80])’ is ambiguous
    adaptcase(configpath);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:87:
    src/squish.cpp: In function ‘int SquishToPKT(HAREA, long unsigned int, char*, char*, S_FQAddress, S_FQAddress, S_FQAddress, int, int)’: src/squish.cpp:212:32: error: call of overloaded ‘adaptcase(char [256])’ is ambiguous
    adaptcase (completepath);
    ^
    In file included from /usr/include/smapi/msgapi.h:28,
    from src/cfroute.cpp:3: /usr/include/huskylib/huskylib.h:100:15: note: candidate: ‘void adaptcase(char*)’
    HUSKYEXT void adaptcase(char *);
    ^~~~~~~~~
    In file included from src/platform.h:42,
    from src/cfroute.cpp:8:
    src/dirute.h:67:5: note: candidate: ‘int adaptcase(char*)’
    int adaptcase (char *);
    ^~~~~~~~~
    In file included from src/cfroute.cpp:87:
    src/squish.cpp: In function ‘int AnalyzeSquishNet(HAREA, long unsigned int)’:
    src/squish.cpp:376:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    " the waypoint was busy.\n\n");
    ^ src/squish.cpp:387:71: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    "open/create PKT (%s).\n\n",x.savepath);
    ^ src/squish.cpp:399:63: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    " fileattach queue.\n");
    ^ src/squish.cpp:407:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    "update filerequest queue.\n");
    ^ src/squish.cpp:423:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    Log.WriteOnLog ("\n");
    ^
    src/cfroute.cpp: In function ‘int ReadRouteFile(char*)’: src/cfroute.cpp:225:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    if (!cistrcmp (Token," MACROEND "))
    ^
    src/cfroute.cpp:295:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    PendingTokens.AddString (" MACROEND ");
    ^
    src/cfroute.cpp:329:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    MacroHandler.Process ("ENDDEFINE");
    ^
    make: *** [Makefile:34: cfroute.o] Error 1 root@raspberrypi:/usr/src/husky/cfroute#
    ------8<------8<----Fin de error_cfroute.txt -----8<------8<------8<

    If i try with huskymak.cfg from cfroute root folder i get this:

    root@raspberrypi:/usr/src/husky/cfroute# make
    make: Se elimina la dependencia circular cfroute <- cfroute.
    gcc -I/usr/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -DUNIX -DSQUISHCFS -Isrc -c src/dirute.c
    gcc -I/usr/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -DUNIX -DSQUISHCFS -Isrc -c src/fecfg146.c
    g++ -I/usr/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -DUNIX -DSQUISHCFS -Isrc -c src/buffer.cpp
    g++ -I/usr/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -DUNIX -DSQUISHCFS -Isrc -c src/structs.cpp
    g++ -I/usr/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -DUNIX -DSQUISHCFS -Isrc -c src/inbounds.cpp
    g++ -s -ocfroute cfroute dirute fecfg146 buffer structs inbounds -L/usr/lib -lfidoconfig -lsmapi
    g++: error: cfroute: No existe el fichero o el directorio
    g++: error: dirute: No existe el fichero o el directorio
    g++: error: fecfg146: No existe el fichero o el directorio
    g++: error: buffer: No existe el fichero o el directorio
    g++: error: structs: No existe el fichero o el directorio
    g++: error: inbounds: No existe el fichero o el directorio
    make: *** [Makefile:40: cfroute] Error 1 root@raspberrypi:/usr/src/husky/cfroute#

    Can somebody help me?

    Saludos.

    Angel Ripoll
    aripoll(at)zruspas.org

    --- GoldED+/LNX 1.1.4.7
    * Origin: Zruspa's BBS. 91-7756442 Telnet: bbs.zruspas.org. (2:34/999)
  • From Frank Linhares@1:229/101 to Angel Ripoll on Wed Feb 19 15:10:14 2020
    Is there anyone who uses cfroute and can tell me why he doesn't compile in t he raspi?

    It won't compile on 64 bit systems. It is in the README.

    Linux/i386, FreeBSD/i386, OS/2, Win32, DOS.
    Presently does not work on big-endian systems, on 64 bit systems, or an
    systems that do not feature structure packing.

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://scinet-ftn.org

    --- Mystic BBS v1.12 A45 2020/02/12 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (1:229/101)
  • From Angel Ripoll@2:341/66 to Frank Linhares on Thu Feb 20 22:35:16 2020
    Hola Frank!

    Mircoles 19 Febrero 2020 15:05, Frank Linhares escribi a Angel Ripoll:


    Is there anyone who uses cfroute and can tell me why he doesn't
    compile in t he raspi?

    It won't compile on 64 bit systems. It is in the README.

    Thanks. I have not seen it anywhere

    Saludos.

    Angel Ripoll
    aripoll(at)zruspas.org

    --- GoldED+/LNX 1.1.4.7
    * Origin: Zruspa's BBS. 91-7756442 Telnet: bbs.zruspas.org. (2:341/66)
  • From Frank Linhares@1:229/101 to Angel Ripoll on Thu Feb 20 17:23:54 2020
    It won't compile on 64 bit systems. It is in the README.

    Thanks. I have not seen it anywhere

    I would love to have it running as I do some complex routing for my
    downlinks, but unless it gets updated, it's a no go.

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://scinet-ftn.org

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (1:229/101)