- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
The IOT SDK distributed for the Galileo does not work. (Get compile errors when using fput/fget/fcntl)
However, the SDK distributed for the Edison DOES work.
The IOT SDKs can be found on the WEB over here: ( http: // iotdk.intel.com/sdk/3.5/ )
http://iotdk.intel.com/sdk/3.5/galileo galileo/
http://iotdk.intel.com/sdk/3.5/edison/ edison/
The compile errors I get with the Galileo SDK are similar to the following older thread over here: (which was answered, but not really resolved)
I created the same test, to show the compile errors when 'fputc', 'fgetc' and others are called.
test.c/*
* Test program to show that the distributed SDK is broken
* http://iotdk.intel.com/sdk/3.5/galileo/iot-devkit-toolchain-linux-64bit-galileo-20160606.sh
*
* Steps
* 1: Source the environment
* source environment-setup-i586-poky-linux
*
* 2: Compile using the following command:
* $CC -o test test.c
*
* The following compile error will be shown:
*
* /tmp/ccvcmLaV.o: In function `main':
* test.c:(.text+0x50): undefined reference to `__fputc_unlocked'
* collect2: error: ld returned 1 exit status
*/
# include
int main()
{
fputc('a',stdout);
printf("Used fputc to write the character 'a' to STDOUT\n");
return 0;
}
Any workarounds I could apply to resolve these compiler errors with the Galileo SDK ?
NOTES: I also tried sourcing the "environment-setup-x86-pokymllib32-linux-uclibc" instead, but that is even more broken, referencing compiler binaries that are not present in the SDK.
My host is an "Ubuntu 14.04" 64-bit distribution.
Please note, that this is for the Wind River Helix Application Cloud development project, and we do not want customers to have to re-create SDKs from scratch via source code, using bitbake or other tools.
The distribution model provided at "http : // iotdk.intel.com/sdk/3.5/ " (here is the link http://iotdk.intel.com/sdk/3.5/ 3.5/ ) are ideal for the creation of Helix Application Cloud SDKs, since all the work have been done already.
.
- Tags:
- Intel® Quark™
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Johan,
We'll run some tests and reply back to you soon. Thank you for your patience.
-Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Johan,
We're still investigating. We'll post a suggestion soon.
-Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Johan,
Thank you for your patience.
Here are replacement SDKs for the 32/64bit linux failing SDK's. I also built a minimal SDK which is much smaller than the IoTDK SDKs.
4a76c6282459316591b1f6e02563d292 69K http://iotdk.intel.com/sdk/3.5/galileo/iot-devkit-toolchain-galileo-20160606.manifest Manifest for IoTDK image
50b4a09f250552342e47bffbf5540552 1012M http://iotdk.intel.com/sdk/3.5/galileo/iot-devkit-toolchain-linux-32bit-galileo-20160606-glibc-fix.s... Fixed 32bit image
55ff25885083eee41f84225ba6e743ca 1012M http://iotdk.intel.com/sdk/3.5/galileo/iot-devkit-toolchain-linux-64bit-galileo-20160606-glibc-fix.s... Fixed 64bit image
2362129c1d90ef074680f52ea9a09c88 12K http://iotdk.intel.com/sdk/3.5/galileo/core-image-minimal-toolchain-galileo-20160606.manifest Manifest for minimal image
1aed39eff9460ccfc76f919869b20971 231M http://iotdk.intel.com/sdk/3.5/galileo/core-image-minimal-toolchain-linux-32bit-galileo-20160606-gli... Minimal 32bit image
254e2732a426d10e809943eefe829be6 232M http://iotdk.intel.com/sdk/3.5/galileo/core-image-minimal-toolchain-linux-64bit-galileo-20160606-gli... Minimal 64bit image
Please let us know if this resolves your issue. We'll be waiting for your response.
-Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Johan,
Do you still need assistance with this case? Did you try our previous suggestion?
-Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Sergio.
We have moved offices since August and moved on to other projects.
I am unfortunately not in a situation to easily test out the SDKs anymore.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Johan,
Thank you for replying to our follow up. In case you need further assistance in the future, don't hesitate to contact us again. We'd be happy to try to assist you.
-Sergio

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page