Raspberry Pi compile issue

Running into this issue when compiling OF on my Raspberry Pi, anyone else seen it?

  
  
g++ -g3 -Wall -fexceptions -march=armv6 -mfpu=vfp -mfloat-abi=hard -fPIC -ftree-vectorize -Wno-psabi -pipe -DOF_USING_GTK -DOF_USING_MPG123 -DTARGET_RASPBERRY_PI -DSTANDALONE -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I../../../libs/cairo/include -I../../../libs/cairo/include/libpng15 -I../../../libs/cairo/include/pixman-1 -I../../../libs/cairo/include/cairo -I../../../libs/fmodex/include -I../../../libs/kiss/include -I../../../libs/poco/include -I../../../libs/portaudio/include -I../../../libs/rtAudio/include -I../../../libs/tess2/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/video -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/types -MMD -MP -MF ../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Debug/libs/openFrameworks/types/ofColor.d -MT../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Debug/libs/openFrameworks/types/ofColor.o -o ../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Debug/libs/openFrameworks/types/ofColor.o -c ../../../libs/openFrameworks/types/ofColor.cpp  
{standard input}: Assembler messages:  
{standard input}:67329: Warning: end of file not at end of a line; newline inserted  
{standard input}:67987: Error: unrecognized symbol type "gnu_unique_obje"  
g++: internal compiler error: Killed (program cc1plus)  
Please submit a full bug report,  
with preprocessed source if appropriate.  
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.  
make[1]: *** [../../../libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Debug/libs/openFrameworks/types/ofColor.o] Error 4  
make: *** [Debug] Error 2  
  
  

Any pointers or advice much appreciated. Thanks!

i think that’s because you don’t have enough memory, ofColor is huge because of the templating and the new color statics. try commenting the statics it should work

We have a winner! Thanks Arturo!

For anyone else running into this, apparently you can change the CPU/GPU memory balance and achieve this as well, but this works just as well.

I had the very same issue, and my GPU memory was set to 256 MB. Reducing it to 64 MB and rebooting before compiling did the trick. Thanks!