I do not typically run Ubuntu so I do not know exactly, but I have seen similar behavior before. My guess is that your installation has compiler packages and header or dev packages. Look around and see if there is a system header collection, or possible a gcc-dev package.
Just a thought... On Nov 17 2012 1:01 PM, vroemm wrote: > O Wise Ones... > > I have a compile mystery with linuxcnc downloaded with git clone. > On a computer with the latest ubuntu linuxcnc from linuxcnc.org. > > For my own use i changed the src/emc/motion/homing.c file. > I added the following simple line above the other includes: > > #include <stdio.h> > > Doing "make" in the linuxcnc-dev/src gives this error: > > /home/vroemm/source/git/linuxcnc-dev/src/emc/motion/homing.c:15:19: > error: > stdio.h: No such file or directory > > stdio.h is used in several files in linuxcnc source code. > None of them give this error. > > As test, on a fedora 14 computer the same source code compiles > without > problem. > > Why is stdio.h in homing.c not found on the ubuntu computer ? > And how can this be solved ? > > Thanks.. > > Vroemm. > > > Below the complete compile text : > > vroemm@vroemm-cnc:~/source/git/linuxcnc-dev/src$ make > make: Entering directory `/home/vroemm/source/git/linuxcnc-dev/src' > copying shared configs > /usr/bin/python modsilent.py make > > KBUILD_EXTRA_SYMBOLS=/usr/realtime-2.6.32-122-rtai/modules/Module.symvers > -C > /usr/src/linux-headers-2.6.32-122-rtai SUBDIRS=`pwd` CC=gcc V=0 > modules > make[1]: Entering directory `/usr/src/linux-headers-2.6.32-122-rtai' > CC [M] > /home/vroemm/source/git/linuxcnc-dev/src/emc/motion/homing.o > make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-122-rtai' > <command-line>: warning: "_FORTIFY_SOURCE" redefined > <command-line>: warning: this is the location of the previous > definition > /home/vroemm/source/git/linuxcnc-dev/src/emc/motion/homing.c:15:19: > error: > stdio.h: No such file or directory > make[2]: *** > [/home/vroemm/source/git/linuxcnc-dev/src/emc/motion/homing.o] > Error 1 > make[1]: *** [_module_/home/vroemm/source/git/linuxcnc-dev/src] Error > 2 > make: *** [modules] Error 2 > make: Leaving directory `/home/vroemm/source/git/linuxcnc-dev/src' > vroemm@vroemm-cnc:~/source/git/linuxcnc-dev/src$ > > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, > vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers