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:
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:
Once all those were installed and was able to run configure successfully, I tried running make and got this error:
Making all in src
make: Entering directory /home/tim/rakarrack/src'
make: 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: [rakarrack.o] Error 1
make: Leaving directory /home/tim/rakarrack/src'
make: *** [all] Error 2
make: Leaving directory/home/tim/rakarrack/src'
make: [all-recursive] Error 1
make: Entering directory
make: *** [all] Error 2
make: Leaving directory
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.
I was able to reproduce this with VirtualBox 4.3.6 on my Macbook Pro, here's the steps exactly as I did them.
Go through all the steps and just choose the defaults, the only thing I did different was choose 2GB of RAM and I upped the video RAM to 128MB as well as checked 3D acceleration.
Start VB and choose the Ubuntu ISO
Go through, choose time zone, keyboard and login and wait for install to finish. Once finished, reboot the VM.
Once rebooted, login, open a terminal and do an update
I did the same steps as above on Ubuntu 13.10 and it compiled and installed successfully so it must be an issue with 12.04.
Maybe it is a compiler version problem:
will give some output about the compiler version. Show gcc version for both 13.10 and 12.04.
This problem is happening on a GUI related function. I would have to look deeper to determine whether it is FLTK or rakarrack, but it looks like your configure script chose to add compiler option [-Werror=format-security]. That will make it terminate compilation on certain types of warnings, including possible buffer over-runs and such.
After you configure if you edit the generated makefile and remove this option from CXX flags and try to compile, it may succeed only with throwing warnings instead of halting compilation.
I would also be curious to see what the CXX flags are on 13.10 to see whether it included this option.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.