cyoung / stratux

Aviation weather and traffic receiver based on RTL-SDR.
BSD 3-Clause "New" or "Revised" License
1.07k stars 365 forks source link

Weird, probably self-induced compile issue #205

Closed ssokol closed 8 years ago

ssokol commented 8 years ago

This is probably me, not anything to do with Stratux. So first some background...

I've been working on solving a couple things. I've started with the 0.5b5 image and:

Everything was working except for the Stratux config file. I realized I had a typo in my revision to gen_gdl90.go. So I switched to read-write, went back in, corrected the error and went to run 'make' again. Now it seems to be failing on the link stage:

root@raspberrypi:~/stratux# make xgen_gdl90
go get -t -d -v ./main ./test ./linux-mpu9150/mpu ./godump978 ./mpu6050 ./uatparse
go build -ldflags "-X main.stratuxVersion=`git describe --tags --abbrev=0` -X main.stratuxBuild=`git log -n 1 --pretty=%H`" main/gen_gdl90.go main/traffic.go main/ry835ai.go main/network.go main/managementinterface.go main/sdr.go main/uibroadcast.go main/monotonic.go
# command-line-arguments
/root/go/pkg/tool/linux_arm/link: running gcc failed: exit status 1
collect2: ld returned 1 exit status

Makefile:16: recipe for target 'xgen_gdl90' failed
make: *** [xgen_gdl90] Error 2
root@raspberrypi:~/stratux#

Anyone have any idea what kind of stupid thing I've done. I KNOW it's not that the filesystem is still read-only. Tested that one. I complied 30 minutes before without any problem, so it did work. Any suggestions would be greatly appreciated.

ssokol commented 8 years ago

I never figured out what caused this, but I imaged up another card and the problem did not resurface so I'm closing this.

cyoung commented 8 years ago

Steve, I just got this error. The partition that I was compiling on filled up.

ssokol commented 8 years ago

So should I change the rw / ro scripts to clear and unmount the /tmp tmpfs partition, which should put it back to a standard directory on the root partition?

On Monday, March 14, 2016, cyoung notifications@github.com wrote:

Steve, I just got this error. The partition that I was compiling on filled up.

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/cyoung/stratux/issues/205#issuecomment-196586571

Steven Sokol 408 Camelot Drive Liberty, MO 64068

mobile: +1 816-806-8844 fax: +1 816-817-0441

cyoung commented 8 years ago

That would work, or just expand the tmpfs part