• CVS Recompile Problem

    From W6ray@VERT to All on Saturday, May 28, 2011 21:35:00
    * Originally in: Synchronet
    * Originally on: 05-28-11 19:49
    * Originally by: Corey
    * Originally to: W6ray

    Re: CVS Recompile Problem
    By: W6ray to All on Sat May 28 2011 07:04 pm

    I have recently started having issues recompiling the CVS. After the BBS stopping for no logged reason, I tried updating from CVS. I have a script, created from the online instructions which has been working flawlessly for years, that updates from CVS, compiles each of the programs and then automatically and restarts SBBS. After the first failure, I tried each comma in the script manually wity the same results. The issue is compiling
    SBBS. Here is what "gmake" shows:

    root@bbs ~]# cd /bbs/sbbs/src/sbbs3
    [root@bbs sbbs3]# gmake RELEASE=1 USE_DOSEMU=1
    gmake -C /bbs/sbbs/src/sbbs3/../smblib lib
    gmake[1]: Entering directory `/bbs/sbbs/src/smblib'
    Compiling smbadd.c
    In file included from smbdefs.h:46,
    from smblib.h:70,
    from smbadd.c:40:
    ../xpdev/genwrap.h:5: error: expected identifier or ƒ€˜(ƒ€™ before ƒ€˜<<ƒ€™ token
    In file included from ../xpdev/dirwrap.h:51,
    from smbdefs.h:47,
    from smblib.h:70,
    from smbadd.c:40:
    ../xpdev/gen_defs.h:5: error: expected identifier or ƒ€˜(ƒ€™ before ƒ€˜<<ƒ€™ token
    In file included from ../xpdev/dirwrap.h:66,
    from smbdefs.h:47,
    from smblib.h:70,
    from smbadd.c:40:
    /usr/include/sys/stat.h:435: error: conflicting types for ƒ€˜statƒ€™ /usr/include/sys/stat.h:208: error: previous declaration of ƒ€˜statƒ€™ was h /usr/include/sys/stat.h:442: error: conflicting types for ƒ€˜lstatƒ€™ /usr/include/sys/stat.h:260: error: previous declaration of ƒ€˜lstatƒ€™ was here
    /usr/include/sys/stat.h:449: error: conflicting types for ƒ€˜fstatƒ€™ /usr/include/sys/stat.h:212: error: previous declaration of ƒ€˜fstatƒ€™ was here
    In file included from ../xpdev/filewrap.h:42,
    from smbdefs.h:48,
    from smblib.h:70,
    from smbadd.c:40:
    ../xpdev/gen_defs.h:5: error: expected identifier or ƒ€˜(ƒ€™ before ƒ€˜<<ƒ€™ token
    In file included from md5.h:36,
    from smbdefs.h:51,
    from smblib.h:70,
    from smbadd.c:40:
    ../xpdev/gen_defs.h:5: error: expected identifier or ƒ€˜(ƒ€™ before ƒ€˜<<ƒ€™ token
    In file included from smbdefs.h:51,
    from smblib.h:70,
    from smbadd.c:40:
    md5.h:49: warning: data definition has no type or storage class
    md5.h:72: error: expected ƒ€˜)ƒ€™ before ƒ€˜*ƒ€™ token
    md5.h:73: error: expected ƒ€˜)ƒ€™ before ƒ€˜*ƒ€™ token
    md5.h:74: error: expected ƒ€˜)ƒ€™ before ƒ€˜*ƒ€™ token
    In file included from smbadd.c:41:
    ../xpdev/genwrap.h:5: error: expected identifier or ƒ€˜(ƒ€™ before ƒ€˜<<ƒ€™ token
    smbadd.c: In function ƒ€˜smb_addmsgƒ€™:
    smbadd.c:114: error: ƒ€˜crc32tblƒ€™ undeclared (first use in this function) smbadd.c:114: error: (Each undeclared identifier is reported only once smbadd.c:114: error: for each function it appears in.)
    gmake[1]: *** [gcc.linux.obj.release/smbadd.o] Error 1
    gmake[1]: Leaving directory `/bbs/sbbs/src/smblib'
    gmake: *** [smblib] Error 2
    [root@bbs sbbs3]#

    If anyone could point me in the right direction, I would appreciate it.

    Ray Quinn
    US 99 BBS
    Visalia, CA



    ... When all else fails, read the instructions.

    This is one of the downsided to running code that is still being written.
    i.e. things happen. post this in the programmers area and they will look into it.

    Ok. Here it is once again...

    Ray

    ---
    ώ Synchronet ώ Vertrauen ώ Home of Synchronet ώ telnet://vert.synchro.net
  • From Corey@VERT/TSGC to W6ray on Saturday, May 28, 2011 22:11:59
    Re: CVS Recompile Problem
    By: W6ray to All on Sat May 28 2011 09:35 pm

    * Originally in: Synchronet
    * Originally on: 05-28-11 19:49
    * Originally by: Corey
    * Originally to: W6ray

    Re: CVS Recompile Problem
    By: W6ray to All on Sat May 28 2011 07:04 pm

    I have recently started having issues recompiling the CVS. After the BBS stopping for no logged reason, I tried updating from CVS. I have a script created from the online instructions which has been working flawlessly fo years, that updates from CVS, compiles each of the programs and then automatically and restarts SBBS. After the first failure, I tried each co in the script manually wity the same results. The issue is compiling SBBS. Here is what "gmake" shows:

    root@bbs ~]# cd /bbs/sbbs/src/sbbs3
    [root@bbs sbbs3]# gmake RELEASE=1 USE_DOSEMU=1
    gmake -C /bbs/sbbs/src/sbbs3/../smblib lib
    gmake[1]: Entering directory `/bbs/sbbs/src/smblib'
    Compiling smbadd.c
    In file included from smbdefs.h:46,
    from smblib.h:70,
    from smbadd.c:40:
    ../xpdev/genwrap.h:5: error: expected identifier or ƒ€˜(ƒ€™ before ƒ€˜<<ƒ token
    In file included from ../xpdev/dirwrap.h:51,
    from smbdefs.h:47,
    from smblib.h:70,
    from smbadd.c:40:
    ../xpdev/gen_defs.h:5: error: expected identifier or ƒ€˜(ƒ€™ before ƒ€˜<< token
    In file included from ../xpdev/dirwrap.h:66,
    from smbdefs.h:47,
    from smblib.h:70,
    from smbadd.c:40:
    /usr/include/sys/stat.h:435: error: conflicting types for ƒ€˜statƒ€™ /usr/include/sys/stat.h:208: error: previous declaration of ƒ€˜statƒ€™ wa /usr/include/sys/stat.h:442: error: conflicting types for ƒ€˜lstatƒ€™ /usr/include/sys/stat.h:260: error: previous declaration of ƒ€˜lstatƒ€™ w here
    /usr/include/sys/stat.h:449: error: conflicting types for ƒ€˜fstatƒ€™ /usr/include/sys/stat.h:212: error: previous declaration of ƒ€˜fstatƒ€™ w here
    In file included from ../xpdev/filewrap.h:42,
    from smbdefs.h:48,
    from smblib.h:70,
    from smbadd.c:40:
    ../xpdev/gen_defs.h:5: error: expected identifier or ƒ€˜(ƒ€™ before ƒ€˜<< token
    In file included from md5.h:36,
    from smbdefs.h:51,
    from smblib.h:70,
    from smbadd.c:40:
    ../xpdev/gen_defs.h:5: error: expected identifier or ƒ€˜(ƒ€™ before ƒ€˜<< token
    In file included from smbdefs.h:51,
    from smblib.h:70,
    from smbadd.c:40:
    md5.h:49: warning: data definition has no type or storage class
    md5.h:72: error: expected ƒ€˜)ƒ€™ before ƒ€˜*ƒ€™ token
    md5.h:73: error: expected ƒ€˜)ƒ€™ before ƒ€˜*ƒ€™ token
    md5.h:74: error: expected ƒ€˜)ƒ€™ before ƒ€˜*ƒ€™ token
    In file included from smbadd.c:41:
    ../xpdev/genwrap.h:5: error: expected identifier or ƒ€˜(ƒ€™ before ƒ€˜<<ƒ token
    smbadd.c: In function ƒ€˜smb_addmsgƒ€™:
    smbadd.c:114: error: ƒ€˜crc32tblƒ€™ undeclared (first use in this functio smbadd.c:114: error: (Each undeclared identifier is reported only once smbadd.c:114: error: for each function it appears in.)
    gmake[1]: *** [gcc.linux.obj.release/smbadd.o] Error 1
    gmake[1]: Leaving directory `/bbs/sbbs/src/smblib'
    gmake: *** [smblib] Error 2
    [root@bbs sbbs3]#

    If anyone could point me in the right direction, I would appreciate it.

    Ray Quinn
    US 99 BBS
    Visalia, CA



    ... When all else fails, read the instructions.

    This is one of the downsided to running code that is still being written. i.e. things happen. post this in the programmers area and they will look int it.

    Ok. Here it is once again...

    Ray


    I run the win32 version, but I did a cvs update and it wouldn't compile either. I saw a lot of errors in header files, so I deleted all my header files,
    and did another update. compiles fine now.

    "Practise safe Lunch, Use a Condiment"


    ---
    ώ Synchronet ώ Three Stooges Gentlemens Club - Las Vegas, Nv - tsgc.dyndns.org
  • From Deuce@VERT/SYNCNIX to W6ray on Sunday, May 29, 2011 16:57:09
    Re: CVS Recompile Problem
    By: W6ray to All on Sat May 28 2011 09:35 pm

    Ok. Here it is once again...

    There was a conflict during the update. You changed something in your copy which was also changed in CVS. genwrap.h and gen_defs.h in the xpdev directory are both impacted. You can simply delete them then update them:

    cd /path/tp/xpdev
    rm genwrap.h gen_defs.h
    cvs update genwrap.h gen_defs.h


    ---
    Synchronet - Jump on the Web 0.2 bandwagon!


    ---
    ώ Synchronet ώ My Brand-New BBS (All the cool SysOps run STOCK!)
  • From Corey@VERT/TSGC to Deuce on Sunday, May 29, 2011 17:33:03
    Re: CVS Recompile Problem
    By: Deuce to W6ray on Sun May 29 2011 04:57 pm

    Re: CVS Recompile Problem
    By: W6ray to All on Sat May 28 2011 09:35 pm

    Ok. Here it is once again...

    There was a conflict during the update. You changed something in your copy which was also changed in CVS. genwrap.h and gen_defs.h in the xpdev direct are both impacted. You can simply delete them then update them:

    cd /path/tp/xpdev
    rm genwrap.h gen_defs.h
    cvs update genwrap.h gen_defs.h


    ---
    Synchronet - Jump on the Web 0.2 bandwagon!



    the vet said my dog got impacted once,
    hate to tell you what happened to him.

    "Practise safe Lunch, Use a Condiment"


    ---
    ώ Synchronet ώ Three Stooges Gentlemens Club - Las Vegas, Nv - tsgc.dyndns.org