User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Updated sdcc 3.0.0 compiler added new --use-non-free switch and piklab needs to add the switch to it's default compiler and linker options for new projects using sdcc. Failing to add the switch to the command line for the compiler and linker results in required files not being found and no easily searchable error message is generated. There is an upstream project comment here: http://sourceforge.net/projects/piklab/forums/forum/633023/topic/3984411?message=10566426 has a possible fix by adding a compile time option. A temporary end user work around is to manually add --use-non-free to each project under Project/Project Options/Toolchain/Compiler and /Linker by setting the configuration to Custom, entering --use-non-free in the box and clicking Add. Reproducible: Always Steps to Reproduce: 1.Launch Piklab 2.Create a new project with Project/NewProject 3.Enter any name, any Directory and and Device (I used "test" and 16f871) 4.Choose Toolchain Small Device C Compiler 5.Choose Create template source file 6.Enter any valid C code in main() 7.Build with Build/Build Project Actual Results: test.c:3: 23: error: pic16f871.h: No such file or directory Additionally the following errors occurred but the fix for them is obvious and can wait for upstream to resolve the issue: test.c:8: warning 197: keyword 'at' is deprecated, use '__at' instead test.c:10: warning 197: keyword 'interrupt' is deprecated, use '__interrupt' instead Expected Results: Message: *** Success *** Versions: $ sdcc --version SDCC : mcs51/gbz80/z80/ds390/pic16/pic14/TININative/ds400/hc08 3.0.0 #6037 (Apr 13 2011) (Linux) Piklab 0.12.10 (Using KDE 3.5.10-31.fc15 Fedora) Setting to medium priority because the errors produced are non-obvious and are not Google friendly.
piklab-0.15.10-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/piklab-0.15.10-5.fc16
piklab-0.15.10-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/piklab-0.15.10-5.fc15
Package piklab-0.15.10-5.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing piklab-0.15.10-5.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1196/piklab-0.15.10-5.fc15 then log in and leave karma (feedback).
The update works perfectly on F15 x86_64. Will karma.
piklab-0.15.10-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
piklab-0.15.10-5.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
Uhm, if those header files are really non-Free, the Fedora SDCC package is not supposed to ship them at all…
The Microchip docs for the latest MPLAB (the source of the information in these non-free files) directly references SDCC as being compatible to MPLAB. There's clearly intent from Microchip for SDCC to exist even if the license details haven't caught up yet. Give the SDCC folks time to resolve this issue. (mplabx-ide-v1.00-release-notes.02-1.zip, Readme for Third Party Tools.htm)