Error Compiling

  • Tim Urberg
    Tim Urberg
    2014-01-10

    Hello,

    I'm running into the same issue with no distortion on Ubuntu 12.04.3 32bit using the Ubuntu repository version of Rakarrack. So I've tried compiling it myself. I'm starting with a brand new install of Ubuntu 12.04.3 32bit on an old HP computer. Here's the CPU info:

    cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 15
    model : 4
    model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
    stepping : 1
    microcode : 0x9
    cpu MHz : 2793.076
    cache size : 1024 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 5
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pebs bts pni dtes64 monitor ds_cpl cid xtpr
    bogomips : 5586.15
    clflush size : 64
    cache_alignment : 128
    address sizes : 36 bits physical, 32 bits virtual

    In order to get autogen and configure to work I installed the following packages from the Ubuntu repository:

    git
    automake
    gawk
    g++
    libfltk1.1-dev
    libxft-dev
    libxpm-dev
    libasound-dev
    libjack-dev
    jackd1
    libsndfile-dev
    libsamplerate-dev
    fftw3-dev

    Once all those were installed and was able to run configure successfully, I tried running make and got this error:

    make
    Making all in src
    make[1]: Entering directory /home/tim/rakarrack/src' make all-am make[2]: Entering directory/home/tim/rakarrack/src'
    g++ -DHAVE_CONFIG_H -I. -Wall -msse2 -mfpmath=sse -ffast-math -ftree-vectorize -fvect-cost-model -pipe -fsigned-char -I/usr/include/freetype2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_THREAD_SAFE -D_REENTRANT -g -O2 -MT rakarrack.o -MD -MP -MF .deps/rakarrack.Tpo -c -o rakarrack.o rakarrack.cxx
    rakarrack.cxx: In member function ‘void RKRGUI::preset_click_i(Fl_Button, void)’:
    rakarrack.cxx:23586:39: error: format not a string literal and no format arguments [-Werror=format-security]
    cc1plus: some warnings being treated as errors
    make[2]: [rakarrack.o] Error 1
    make[2]: Leaving directory /home/tim/rakarrack/src' make[1]: *** [all] Error 2 make[1]: Leaving directory/home/tim/rakarrack/src'
    make:
    [all-recursive] Error 1

    This happens with either the code from a git clone or the 0.6.1 tar file. Let me know if I missed a dependency or grabbed a wrong version.

    Thanks,
    Tim

     
    Last edit: Tim Urberg 2014-01-10