• Problems doing an update compile of my BBS

    From Geo@1:103/705 to All on Fri Apr 28 11:09:16 2017
    Hi All,
    perhaps I put this in the wrong sub originally 8-/. I'm sure you guy's have some ideas 8-)

    I have been attempting to do an update compile as per the documentation in the wiki on my Centos 6.8
    based system. I have tried bother the clean method and the standard method and even blowing away the src
    directory entirely!.

    I always seem to stop with the following error.

    I certainly no C programmer unfortunately, even though I'm surrounded by them daily. 8-)

    Any thoughts?

    Thanks.......

    Output below.


    Compiling smblib.c
    In file included from smblib.h:69,
    from smblib.c:50:
    smbdefs.h:437: warning: declaration does not declare anything
    smbdefs.h:441: warning: declaration does not declare anything
    smbdefs.h:442: warning: declaration does not declare anything
    smblib.c: In function usmb_init_idx|:
    smblib.c:1635: error: uidxrec_t| has no member named usubj|
    smblib.c:1639: error: uidxrec_t| has no member named uto|
    smblib.c:1641: error: uidxrec_t| has no member named uto|
    smblib.c:1643: error: uidxrec_t| has no member named ufrom|
    smblib.c:1645: error: uidxrec_t| has no member named ufrom|
    smblib.c:1647: error: uidxrec_t| has no member named uvotes|
    smblib.c:1648: error: uidxrec_t| has no member named uremsg|
    smblib.c:1650: error: uidxrec_t| has no member named uto|
    smblib.c:1651: error: uidxrec_t| has no member named ufrom|
    smblib.c: In function usmb_voted_already|:
    smblib.c:1700: error: uidxrec_t| has no member named uremsg|
    make[1]: *** [gcc.linux.x64.obj.release/smblib.o] Error 1
    make[1]: Leaving directory `/usr/local/sbbs/src/smblib'
    make: *** [smblib] Error 2
    [sbbs@Manifold sbbs3]$
    --------------------------------------
    Regards........Geo
    oooOOOooo
    --------------------------------------
    Regards........Geo
    oooOOOooo

    ---
    * Synchronet * The Dungeon BBS - Risen from the ashes! - Canberra, Australia
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Geo@1:103/705 to All on Fri May 19 13:46:54 2017
    Has anyone else come across this behaviour trying to compile under Linux on an already installed system?


    Hi All,
    perhaps I put this in the wrong sub originally 8-/. I'm sure you guy's have some ideas 8-)

    I have been attempting to do an update compile as per the documentation in the wiki on my Centos 6.8
    based system. I have tried bother the clean method and the standard method and even blowing away the src
    directory entirely!.

    I always seem to stop with the following error.

    I certainly no C programmer unfortunately, even though I'm surrounded by them daily. 8-)

    Any thoughts?

    Thanks.......

    Output below.


    Compiling smblib.c
    In file included from smblib.h:69,
    from smblib.c:50:
    smbdefs.h:437: warning: declaration does not declare anything
    smbdefs.h:441: warning: declaration does not declare anything
    smbdefs.h:442: warning: declaration does not declare anything
    smblib.c: In function usmb_init_idx|:
    smblib.c:1635: error: uidxrec_t| has no member named usubj|
    smblib.c:1639: error: uidxrec_t| has no member named uto|
    smblib.c:1641: error: uidxrec_t| has no member named uto|
    smblib.c:1643: error: uidxrec_t| has no member named ufrom|
    smblib.c:1645: error: uidxrec_t| has no member named ufrom|
    smblib.c:1647: error: uidxrec_t| has no member named uvotes|
    smblib.c:1648: error: uidxrec_t| has no member named uremsg|
    smblib.c:1650: error: uidxrec_t| has no member named uto|
    smblib.c:1651: error: uidxrec_t| has no member named ufrom|
    smblib.c: In function usmb_voted_already|:
    smblib.c:1700: error: uidxrec_t| has no member named uremsg|
    make[1]: *** [gcc.linux.x64.obj.release/smblib.o] Error 1
    make[1]: Leaving directory `/usr/local/sbbs/src/smblib'
    make: *** [smblib] Error 2
    [sbbs@Manifold sbbs3]$
    --------------------------------------
    Regards........Geo
    oooOOOooo
    --------------------------------------
    Regards........Geo
    oooOOOooo
    --------------------------------------
    Regards........Geo
    oooOOOooo

    ---
    * Synchronet * The Dungeon BBS - Risen from the ashes! - Canberra, Australia
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From KK4QBN@1:103/705 to Geo on Fri May 19 14:29:46 2017
    Re: Re: Problems doing an update compile of my BBS
    By: Geo to All on Fri May 19 2017 01:46 pm

    Has anyone else come across this behaviour trying to compile under Linux on an already installed system?
    smblib.c:1635: error: uidxrec_t| has no member named usubj|
    smblib.c:1639: error: uidxrec_t| has no member named uto|
    smblib.c:1641: error: uidxrec_t| has no member named uto|
    smblib.c:1643: error: uidxrec_t| has no member named ufrom|

    WTF, it looks like it is trying to RUN smbutil instead of compiling a new version..

    do a 'make clean' before recompiling.. backup first ofcourse.

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Geo@1:103/705 to KK4QBN on Mon May 22 15:01:38 2017
    Re: Re: Problems doing an update compile of my BBS
    By: KK4QBN to Geo on Fri May 19 2017 14:29:47


    Re: Re: Problems doing an update compile of my BBS
    By: Geo to All on Fri May 19 2017 01:46 pm

    Has anyone else come across this behaviour trying to compile under Linu on an already installed system?
    smblib.c:1635: error: uidxrec_t| has no member named usubj|
    smblib.c:1639: error: uidxrec_t| has no member named uto|
    smblib.c:1641: error: uidxrec_t| has no member named uto|
    smblib.c:1643: error: uidxrec_t| has no member named ufrom|

    WTF, it looks like it is trying to RUN smbutil instead of compiling a new version..

    do a 'make clean' before recompiling.. backup first ofcourse.

    Hi Tim,

    Hmm weird, I was pretty sure I did. Although it may have been from a
    directory above. Thanks for the hint. I will try again, and see if the executable is still in there after the clean, if so I will try make clean from inside that directory.

    Lets see how that goes.

    It would certainly explain why a fresh build works but a build ontop of a establised BBS doesn't.

    Thanks again.
    --------------------------------------
    Regards........Geo
    oooOOOooo

    ---
    * Synchronet * The Dungeon BBS - Risen from the ashes! - Canberra, Australia
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Geo on Sat Jun 3 13:51:46 2017
    Re: Problems doing an update compile of my BBS
    By: Geo to All on Fri Apr 28 2017 11:09 am

    Compiling smblib.c
    In file included from smblib.h:69,
    from smblib.c:50:
    smbdefs.h:437: warning: declaration does not declare anything
    smbdefs.h:441: warning: declaration does not declare anything

    Sounds like your source files (e.g. smbdefs.h in this case) got corrupted. Perhaps a bad merge during a "cvs update"?

    Did you use CVS or tarball (.tgz) method of updating the source code files?

    digital man

    Synchronet "Real Fact" #12:
    Synchronet was the first BBS software to ship with built-in RIPscrip support. Norco, CA WX: 84.0oF, 46.0% humidity, 16 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.00-Win32
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Keith Matthews@3:712/620 to Digital Man on Wed Jun 7 13:51:02 2017
    Re: Problems doing an update compile of my BBS
    By: Digital Man to Geo on Sat Jun 03 2017 13:51:47

    Re: Problems doing an update compile of my BBS
    By: Geo to All on Fri Apr 28 2017 11:09 am

    Compiling smblib.c
    In file included from smblib.h:69,
    from smblib.c:50:
    smbdefs.h:437: warning: declaration does not declare anything smbdefs.h:441: warning: declaration does not declare anything

    Sounds like your source files (e.g. smbdefs.h in this case) got corrupted. Perhaps a bad merge during a "cvs update"?

    Did you use CVS or tarball (.tgz) method of updating the source code files?

    Hiya DM, thanks for the reply,

    I used CVS to update the source tree, pretty much as per the process
    described for unix/linux on the wiki. 8-)

    Thx

    --------------------------------------
    Regards........Geo
    oooOOOooo
    --- SBBSecho 2.27-Linux
    * Origin: The Dungeon BBS, Canberra, Australia (3:712/620)
  • From Digital Man@1:103/705 to Keith Matthews on Tue Jun 6 21:47:28 2017
    Re: Problems doing an update compile of my BBS
    By: Keith Matthews to Digital Man on Wed Jun 07 2017 01:51 pm

    Re: Problems doing an update compile of my BBS
    By: Digital Man to Geo on Sat Jun 03 2017 13:51:47

    Re: Problems doing an update compile of my BBS
    By: Geo to All on Fri Apr 28 2017 11:09 am

    Compiling smblib.c
    In file included from smblib.h:69,
    from smblib.c:50:
    smbdefs.h:437: warning: declaration does not declare anything smbdefs.h:441: warning: declaration does not declare anything

    Sounds like your source files (e.g. smbdefs.h in this case) got corrupted. Perhaps a bad merge during a "cvs update"?

    Did you use CVS or tarball (.tgz) method of updating the source code files?

    Hiya DM, thanks for the reply,

    I used CVS to update the source tree, pretty much as per the process described for unix/linux on the wiki. 8-)

    So if it still fails to compile with those errors you provided, I would delete the source tree and either get it again (fresh) via CVS or tarball. What you have sounds like it's corrupted.

    digital man

    Synchronet "Real Fact" #18:
    Rob Swindell first learned to program in C by hacking on WWIV BBS software. Norco, CA WX: 60.4oF, 88.0% humidity, 4 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.00-Win32
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Geo@1:103/705 to Digital Man on Wed Jun 7 16:13:54 2017
    Re: Problems doing an update compile of my BBS
    By: Digital Man to Keith Matthews on Tue Jun 06 2017 21:47:28

    Re: Problems doing an update compile of my BBS
    By: Keith Matthews to Digital Man on Wed Jun 07 2017 01:51 pm

    Re: Problems doing an update compile of my BBS
    By: Digital Man to Geo on Sat Jun 03 2017 13:51:47

    Re: Problems doing an update compile of my BBS
    By: Geo to All on Fri Apr 28 2017 11:09 am

    Compiling smblib.c
    In file included from smblib.h:69,
    from smblib.c:50:
    smbdefs.h:437: warning: declaration does not declare anything smbdefs.h:441: warning: declaration does not declare anything

    Sounds like your source files (e.g. smbdefs.h in this case) got corrupted. Perhaps a bad merge during a "cvs update"?

    Did you use CVS or tarball (.tgz) method of updating the source code files?

    Hiya DM, thanks for the reply,

    I used CVS to update the source tree, pretty much as per the process described for unix/linux on the wiki. 8-)

    So if it still fails to compile with those errors you provided, I would dele

    have sounds like it's corrupted.
    Thanks DM,


    I'll give that a go and delete everything under src. I assume that doesn't effect the BBS that is installed around it 8-).

    I will backup/snapshot first 8-)

    Thanks again.

    --------------------------------------
    Regards........Geo
    oooOOOooo

    ---
    * Synchronet * The Dungeon BBS - Risen from the ashes! - Canberra, Australia
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Geo on Thu Jun 8 17:21:18 2017
    Re: Problems doing an update compile of my BBS
    By: Geo to Digital Man on Wed Jun 07 2017 04:13 pm

    I'll give that a go and delete everything under src. I assume that doesn't effect the BBS that is installed around it 8-).

    That's correct.

    digital man

    Synchronet/BBS Terminology Definition #5:
    BinkD = Binkley Daemon
    Norco, CA WX: 74.3oF, 57.0% humidity, 17 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.00-Win32
    * Origin: Vertrauen - vert.synchro.net (1:103/705)