• Compile Error

    From Rastus@1:103/705 to DOVE-Net_.Synchronet_Programming on Fri Oct 20 20:01:22 2023
    I'm not sure when this started.. I didn't notice it earlier because
    after the compilation terminates the exec baja stuff succeeds and the
    board seems to run normally. The only anomaly I've noticed, and it may
    be unrelated, is that when I try to get a /list in an IRC Client the
    only board that shows up is mine.

    I did run src/cleanall.sh before..

    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../userdat.c:3161:4: warning: ignoring return value of fread, declared
    with attribute warn_unused_result [-Wunused-result]
    fread(&subscan[i].cfg,sizeof(subscan[i].cfg),1,stream);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Compiling ../msgdate.c
    Compiling ../str_util.c
    ../str_util.c:37:10: fatal error: utf8.h: No such file or directory
    #include "utf8.h"
    ^~~~~~~~
    compilation terminated.
    ../../build/Common.gmake:457: recipe for target 'gcc.linux.x64.obj.release-mt/str_util.o' failed
    make: *** [gcc.linux.x64.obj.release-mt/str_util.o] Error 1

    ---
    Synchronet Electronic Warfare BBS | telnet://bbs.ewbbs.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Rastus on Fri Oct 20 20:01:22 2023
    Re: Compile Error
    By: Rastus to DOVE-Net_.Synchronet_Programming on Thu Sep 05 2019 09:11 pm

    I'm not sure when this started.. I didn't notice it earlier because
    after the compilation terminates the exec baja stuff succeeds and the
    board seems to run normally. The only anomaly I've noticed, and it may
    be unrelated, is that when I try to get a /list in an IRC Client the
    only board that shows up is mine.

    I did run src/cleanall.sh before..

    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../userdat.c:3161:4: warning: ignoring return value of fread, declared with attribute warn_unused_result [-Wunused-result]
    fread(&subscan[i].cfg,sizeof(subscan[i].cfg),1,stream);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    You can ignore warnings.

    Compiling ../msgdate.c
    Compiling ../str_util.c
    ../str_util.c:37:10: fatal error: utf8.h: No such file or directory
    #include "utf8.h"
    ^~~~~~~~

    You didn't run "cvs update -d" for your sbbs "src" directory.

    digital man

    Synchronet/BBS Terminology Definition #15:
    CVS = Concurrent Versioning System
    Norco, CA WX: 85.3F, 44.0% humidity, 11 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to mark lewis on Fri Oct 20 20:01:22 2023
    Re: Compile Error
    By: mark lewis to Rastus on Thu Sep 05 2019 11:29 pm


    On 2019 Sep 05 22:55:46, you wrote to Digital Man:

    You didn't run "cvs update -d" for your sbbs "src" directory.

    I followed the instructions, just as I have for quite some time, that are located on the wiki:

    they've not been updated...

    The wiki looks correct to me.

    digital man

    Synchronet "Real Fact" #5:
    Synchronet version 3 for Win32 development began in 1999.
    Norco, CA WX: 79.4F, 52.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rampage@1:103/705 to Digital Man on Fri Oct 20 20:01:22 2023
    Re: Compile Error
    By: Digital Man to mark lewis on Thu Sep 05 2019 21:33:16

    I followed the instructions, just as I have for quite some time, that are located on the wiki:

    they've not been updated...

    The wiki looks correct to me.

    my bad... i looked in the wrong page/section while in a hurry... of course it has been updated...

    i do miss the days of having a local document file and using vern beurg's LIST.COM to read and search with... that was my absolute goto with FD/RA/FE when those support echos were a lot more active :)


    )\/(ark

    ---
    Synchronet The SouthEast Star Mail HUB - SESTAR
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Rampage on Fri Oct 20 20:01:22 2023
    Re: Compile Error
    By: Rampage to Digital Man on Fri Sep 06 2019 07:12 am

    i do miss the days of having a local document file and using vern beurg's LIST.COM to read and search with... that was my absolute goto with FD/RA/FE when those support echos were a lot more active :)

    Yeah, I was big list.com user long ago. That's why the sysop command to view a file (e.g. from the main menu) is ;LIST. :-)

    digital man

    Synchronet/BBS Terminology Definition #78:
    UART = Universal Asynchronous Receiver/Transmitter
    Norco, CA WX: 75.5F, 65.0% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rastus@1:103/705 to Digital Man on Fri Oct 20 20:01:22 2023
    On 9/5/19 9:55 PM, Digital Man wrote:


    > Compiling ../msgdate.c
    > Compiling ../str_util.c
    > ../str_util.c:37:10: fatal error: utf8.h: No such file or directory
    > #include "utf8.h"
    > ^~~~~~~~

    You didn't run "cvs update -d" for your sbbs "src" directory.

    digital man


    Out of curiosity, this morning I downloaded the nightly sbbs_src
    archive, replaced 3rdp and src directories and tried the build again..
    and yet again the same error cropped up. I wasn't expecting that..

    My build script also builds the gtk* directories. After further
    investigation I found that it was gtkchat that was failing to build.
    However, I do not use gtkchat..

    I have been using the same 'build script' for several years. The reason
    I build the gtk apps was due my cleaning the source tree using "find .
    -name 'gcc.linux.*' | xargs rm -rf". I removed that command and now use
    the recently added cleanall script.

    All other gtk* directories compile OK.. but when changing into the
    gtkchat directory and trying a clean make this is the error..

    Compiling ../msgdate.c
    Compiling ../str_util.c
    ../str_util.c:37:10: fatal error: utf8.h: No such file or directory
    #include "utf8.h"
    ^~~~~~~~
    compilation terminated.
    ../../build/Common.gmake:457: recipe for target 'gcc.linux.x64.obj.release-mt/str_util.o' failed
    make: *** [gcc.linux.x64.obj.release-mt/str_util.o] Error 1

    I still have an issue with irc /list command only showing my BBS.. I
    have not investigated that issue further.. it may be unrelated.. I do
    not know..

    ---
    Synchronet Electronic Warfare BBS | telnet://bbs.ewbbs.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)