`__clkfreq' referenced in section `.text' of blink.o: defined in discarded section `.boot' .........
DavidZemon
Posts: 2,973
in Propeller 1
Raspberry Pi 2 running PropGCC version
Source file:
Pre-processed source file is attached.
Command line and error:
Using built-in specs. COLLECT_GCC=/opt/parallax/bin/propeller-elf-gcc COLLECT_LTO_WRAPPER=/opt/parallax/libexec/gcc/propeller-elf/4.6.1/lto-wrapper Target: propeller-elf Configured with: ../../propgcc/gcc/configure --target=propeller-elf --prefix=/opt/parallax --disable-nls --disable-libssp --disable-lto --disable-shared --with-pkgversion=propellergcc_v1_0_0_2344 --with-bugurl=http://code.google.com/p/propgcc/issues Thread model: single gcc version 4.6.1 (propellergcc_v1_0_0_2344)
Source file:
#include <PropWare/pin.h> _NAKED int main () { PropWare::Pin led(PropWare::Port::P23, PropWare::Port::OUT); while (1) { led.toggle(); waitcnt(MILLISECOND * 100 + CNT); } }
Pre-processed source file is attached.
Command line and error:
/opt/parallax/bin/propeller-elf-gcc -mcog -xc++ -r -save-temps -Os -m32bit-doubles -Wall -std=gnu++0x -fno-exceptions -fno-rtti -fno-threadsafe-statics -I"lots and lots and lots of includes" -o CMakeFiles/Cogc_Demo.dir/blinky.cogcpp.cog /home/pi/software/PropWare/Examples/Cogc/blinky.cogcpp `__clkfreq' referenced in section `.text' of blinky.o: defined in discarded section `.boot' of /opt/parallax/lib/gcc/propeller-elf/4.6.1/short-doubles/spinboot.o collect2: ld returned 1 exit status
Comments