Hello, Seth here. try rc_blink instead of trying to compile it.
Seth On Monday, July 8, 2019 at 9:48:39 PM UTC-5, Steven Coddington wrote: > > I started from scratch and still have the same errors. also the red and > green led's are alternately blinking (did not see that before) also, board > is quite warm. Here are the steps I followed. What errors have I made? > > 1. formatted micro sd card to assure clean > 2. downloaded compressed image file Debian 9.5 2018-10-07 4GB eMMC IoT > Flasher > 3. un zipped using 7-zip. > 4. used etcher to copy unzip file to micro card > 5. booted board by powering with usb cable > 6. connected using puTTY > 7. followed instructions at > https://github.com/beagleboard/beaglebone-blue/wiki/Flashing-firmware > a In the terminal window enter the following commands: > mkdir sd_tmp > sudo mount /dev/mmcblk0p1 sd_tmp > sudo su > echo "cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh" >> > sd_tmp/boot/uEnv.txt > exit > sudo umount sd_tmp > b. Now power off your board > c.Hold the update button labeled SD (the one by itself) to boot off the > sdcard. > d. Restart (RST button) or power up (while still pushing SD button). > e. Flashing can take some minutes. > 8. blue leds in "pong" pattern. waited till all 4 are solid blue. > 9. waited a bit more till all lights off. > 10. removed sd card. > 11. powered back up by pushing "pow" button > 12. followed instructions in YouTube video from Arrow. > a. set up and tested wifi > b. sudo apt-get update > c reboot using "sudo shutdown -r now" > c. made new directory "sandbox" > d. cd into "debian@beaglebone/sandbox" > e. in git found librobotcontrol. cloned. got address. did git clone > "address" > 13. all files appear to be there. > 14. did sudo dpkg-reconfigure librobotcontrol and sudo apt update && sudo > apt upgrade librobotcontrol > 14. tried cc rc_blink.c. got same errors about undefined references. > > Help is greatly appreciated. > > On Sunday, July 7, 2019 at 12:44:21 PM UTC-6, Steven Coddington wrote: >> >> just installed (again) latest image. got Strawson librobotics in a >> directory. tried to run rc_blink.c and got following message: >> >> Compiling /var/lib/cloud9/sandbox/librobotcontrol/examples/src/rc_blink.c >> ... >> cc rc_blink.c -o rc_blink >> /tmp/ccRBAW5I.o: In function `__on_pause_release': >> rc_blink.c:(.text+0x8): undefined reference to `rc_get_state' >> rc_blink.c:(.text+0x14): undefined reference to `rc_set_state' >> rc_blink.c:(.text+0x24): undefined reference to `rc_get_state' >> rc_blink.c:(.text+0x30): undefined reference to `rc_set_state' >> /tmp/ccRBAW5I.o: In function `__on_pause_press': >> >> there were lots more undefined reference but, you get the idea. I swear >> this worked last week. Do I have to configure something to make these >> references available? >> >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/02ea4f59-181b-446e-93a2-c57acbf138a5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
