• Can no longer build sbbs3

    From Rastus@VERT/EWBBS to DOVE-Net.Synchronet_Programming on Thursday, July 09, 2015 19:34:27
    The last code that I can successfully build under Ubuntu 12.04 (32bit) is
    from mid-June.. I believe it was the build from June 11 that I can still build. I typically build once per week but got busy...

    Is anyone else having issues?


    I didn't want to leave my board down long so i hurried and built from the older code. But there were error messages about vidmode.c .. that kept scfg and more from compiling. I'll have to try again and take notes...

    --
    Nicholas Loch | SysOp: Electronic Warfare BBS
    Play Barren Realms Elite, Falcon's Eye, & More!
    http://www.ewbbs.net | telnet://bbs.ewbbs.net

    ---
    þ Synchronet þ Electronic Warfare BBS | telnet://ewbbs.synchro.net
  • From Rastus@VERT/EWBBS to Rastus on Thursday, July 09, 2015 23:01:14
    Rastus wrote:

    The last code that I can successfully build under Ubuntu 12.04 (32bit) is from mid-June.. I believe it was the build from June 11 that I can still build. I typically build once per week but got busy...

    Is anyone else having issues?


    I didn't want to leave my board down long so i hurried and built from the older code. But there were error messages about vidmode.c .. that kept
    scfg
    and more from compiling. I'll have to try again and take notes...


    Downloaded fresh copy of nightly source (just in case) and tried to compile but got same error.. things seem to get wierd here:

    Linking gcc.linux.exe.release/scfg ../../conio/gcc.linux.lib.release/libciolib_mt.a(vidmodes.o): In function `release_vmem':
    vidmodes.c:(.text+0xd0): undefined reference to `FREE_AND_NULL' vidmodes.c:(.text+0xd8): undefined reference to `FREE_AND_NULL'
    collect2: ld returned 1 exit status
    make: *** [gcc.linux.exe.release/scfg] Error 1


    Hope that helps.

    --
    Nicholas Loch | SysOp: Electronic Warfare BBS
    Play Barren Realms Elite, Falcon's Eye, & More!
    http://www.ewbbs.net | telnet://bbs.ewbbs.net

    ---
    þ Synchronet þ Electronic Warfare BBS | telnet://ewbbs.synchro.net
  • From Digital Man@VERT to Rastus on Friday, July 10, 2015 16:02:10
    Re: Re: Can no longer build sbbs3
    By: Rastus to Rastus on Thu Jul 09 2015 11:01 pm

    Rastus wrote:

    The last code that I can successfully build under Ubuntu 12.04 (32bit) is from mid-June.. I believe it was the build from June 11 that I can still build. I typically build once per week but got busy...

    Is anyone else having issues?


    I didn't want to leave my board down long so i hurried and built from the older code. But there were error messages about vidmode.c .. that kept scfg
    and more from compiling. I'll have to try again and take notes...


    Downloaded fresh copy of nightly source (just in case) and tried to compile but got same error.. things seem to get wierd here:

    Linking gcc.linux.exe.release/scfg ../../conio/gcc.linux.lib.release/libciolib_mt.a(vidmodes.o): In function `release_vmem':
    vidmodes.c:(.text+0xd0): undefined reference to `FREE_AND_NULL' vidmodes.c:(.text+0xd8): undefined reference to `FREE_AND_NULL'
    collect2: ld returned 1 exit status
    make: *** [gcc.linux.exe.release/scfg] Error 1

    The nightly builds are working, so I suspect you might have not updated some src directories or you need to run a 'make clean' in more directories.

    FREE_AND_NULL is a macro (not new) and its defined in src/xpdev/gen_defs.h. You're getting a link-time error which indicates that when vidmodes.c was compiled (into vidmodes.o), it didn't load gen_defs.h, so it though FREE_AND_NULL was a function, not a macro, and that left an unresolved external
    symbol reference. Try running 'make clean' in the various src directory and then try make again.

    digital man

    Synchronet "Real Fact" #19:
    Michael Swindell was directly responsible for Synchronet's commercial success. Norco, CA WX: 76.1øF, 50.0% humidity, 13 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Rastus@VERT/EWBBS to Digital Man on Saturday, July 11, 2015 10:39:30
    wrote:

    Re: Re: Can no longer build sbbs3
    By: Rastus to Rastus on Thu Jul 09 2015 11:01 pm

    Rastus wrote:

    The last code that I can successfully build under Ubuntu 12.04
    (32bit) is from mid-June.. I believe it was the build from June 11
    that I can still
    build. I typically build once per week but got busy...

    Is anyone else having issues?


    I didn't want to leave my board down long so i hurried and built from the older code. But there were error messages about vidmode.c .. that kept scfg
    and more from compiling. I'll have to try again and take notes...


    Downloaded fresh copy of nightly source (just in case) and tried to compile but got same error.. things seem to get wierd here:

    Linking gcc.linux.exe.release/scfg ../../conio/gcc.linux.lib.release/libciolib_mt.a(vidmodes.o): In
    function `release_vmem':
    vidmodes.c:(.text+0xd0): undefined reference to `FREE_AND_NULL' vidmodes.c:(.text+0xd8): undefined reference to `FREE_AND_NULL'
    collect2: ld returned 1 exit status
    make: *** [gcc.linux.exe.release/scfg] Error 1

    The nightly builds are working, so I suspect you might have not updated
    some src directories or you need to run a 'make clean' in more
    directories.

    FREE_AND_NULL is a macro (not new) and its defined in
    src/xpdev/gen_defs.h. You're getting a link-time error which indicates
    that when vidmodes.c was compiled (into vidmodes.o), it didn't load gen_defs.h, so it though FREE_AND_NULL was a function, not a macro, and
    that left an unresolved external

    symbol reference. Try running 'make clean' in the various src directory
    and then try make again.

    digital man

    thanks.. it compiled properly after adding "make clean" to my build script
    in the various directories. I had been relying on this instead:

    cd /sbbs/src
    find . -name 'gcc.linux.*' | xargs rm -rf

    Something must have been getting missed? Oh well.. all is right once again!

    Thanks


    --
    Nicholas Loch | SysOp: Electronic Warfare BBS
    Play Barren Realms Elite, Falcon's Eye, & More!
    http://www.ewbbs.net | telnet://bbs.ewbbs.net

    ---
    þ Synchronet þ Electronic Warfare BBS | telnet://ewbbs.synchro.net