I tried to compile a simple C program on my LinkIt Smart 7688 Duo using gcc but failed. Could someone give me some idea on how to solve it? Thanks!!
gcc was installed using "opkg update", "opkg install gcc".
Here is the version info.
O.K. Here is a quick update.
Had the same issue, but this is due to SD card, it seems that it has some reading speed/caching problem: if you run the same command 6 or 7 times it works okay. I'm running python from a class 4 SD card and it happens every time after boot. Perhaps moving the filesystem to a class 10 card should solve the problem.
Realistically, just cross compile... you'll save yourself so many headaches.