• Linux compile problem

    From Kees Van Eeten@2:280/5003.6 to Fabio Bizzi on Tue Apr 23 22:02:46 2019

    Hello Fabio!

    I have the same errors when compiling on a i686.
    All goes well on AMD64 and RPI's

    The file Config.def has the following lines:

    # Uncomment to disable CPUID feature (compilation error in goldlib/gall/gutlvers.cpp)
    #CPPFLAGS+=-DGCFG_NO_CPUID

    When uncommented, Golded-Plus compiles without errors on my i686.

    It is still unclear to me, wether the problem is in de source code
    of gutlvers or in de C++ compiler.


    28 Jan 19 13:30, you wrote to all:

    Hello All!

    I'm trying to compile the latest source code from golded-plus-golded-1.1.5-20180707 but I get this error:

    8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--- 8<---

    g++ -c -MD -D__INCLUDE_NEW_KEYWORDS__ -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DHAVE_STDARG_H -funsigned-char -g -I../../goldlib
    -I../../goldlib/gall -Wall -Wno-long-long -Wno-sign-compare -pedantic
    -O2 -DPRAGMA_PACK -D__USE_NCURSES__ -D__INCLUDE_NEW_KEYWORDS__ -o ../../obj/lnx/gall/gutlvers.o gutlvers.cpp gutlvers.cpp: Assembler messages: gutlvers.cpp:568: Error: junk `(%edi)+4' after
    expression gutlvers.cpp:569: Error: junk `(%edi)+8' after
    expression gutlvers.cpp:597: Error: junk `(%edi)+4' after
    expression gutlvers.cpp:598: Error: junk `(%edi)+8' after
    expression gutlvers.cpp:604: Error: junk `(%edi)+4' after
    expression gutlvers.cpp:605: Error: junk `(%edi)+8' after
    expression ../../GNUmakef.inc:31: recipe for target '../../obj/lnx/gall/gutlvers.o' failed make[1]: *** [../../obj/lnx/gall/gutlvers.o] Error 1 make[1]: uscita dalla
    directory "/home/bizzi/husky/src/golded-plus-golded-1.1.5-20180707/goldlib/gall" Makefile:49: recipe for target 'all' failed
    make: *** [all] Error 2

    8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--- 8<---

    Now I installed directly the binary files for linux 32 that works but
    I'd like to build golded from the sources.

    My distro is ubuntu 18.04LTS 32 bit.

    Many Thanks. :)

    Ciao!
    Fabio

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ]\/[imac Rebirth Boss Point (2:335/364.1)

    Kees


    --- Raspberry Fields forever
    * Origin: ----> Golded - HPT - Binkd on a RaspberryPi <---- (2:280/5003.6)
  • From Fabio Bizzi@2:335/364.3 to Kees Van Eeten on Thu Apr 25 18:47:04 2019
    Hello, Kees van Eeten.
    On 23/04/19 22:04 you wrote:

    The file Config.def has the following lines: # Uncomment to
    disable CPUID feature (compilation error in
    goldlib/gall/gutlvers.cpp) #CPPFLAGS+=-DGCFG_NO_CPUID When
    uncommented, Golded-Plus compiles without errors on my i686.
    Many thanks Kees, a real help! :)

    I'll try asap to build with your trick.

    --
    Ciao! :)
    Fabio.
    --- Hotdoged/2.13.5/Android
    * Origin: ]\/[imac boss android point (2:335/364.3)