------- Comment #4 from kethgen at inf dot ethz dot ch 2006-09-26 15:33 ------- Subject: Re: Wrong installation for standard headers
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, Am Di den 26. Sep 2006 um 17:21 schrieb pinskia at gcc dot gnu dot org: > ------- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-26 15:21 > ------- > Can you add -v when invoking gcc and give that output because stdio.h should > have already been in /usr/include because that is the standard place for it. Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.1.1/configure --prefix=/usr/pack/gcc-4.1.1-ke --exec-prefix=/usr/pack/gcc-4.1.1-ke/ix86-rhel4 Thread model: posix gcc version 4.1.1 /usr/pack/gcc-4.1.1-ke/ix86-rhel4/libexec/gcc/i686-pc-linux-gnu/4.1.1/cc1 -quiet -v test.c -quiet -dumpbase test.c -mtune=pentiumpro -auxbase test -version -o /tmp/cc0zi5zw.s ignoring nonexistent directory "/usr/pack/gcc-4.1.1-ke/ix86-rhel4/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/pack/gcc-4.1.1-ke/include /usr/pack/gcc-4.1.1-ke/ix86-rhel4/lib/gcc/i686-pc-linux-gnu/4.1.1/include /usr/include End of search list. GNU C version 4.1.1 (i686-pc-linux-gnu) compiled by GNU C version 3.4.6 20060404 (Red Hat 3.4.6-3). GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=129103 Compiler executable checksum: 64220c6e62d2baca30492f8a8121c3a3 test.c:1:19: error: stdio.h: No such file or directory test.c: In function 'main': test.c:5: warning: incompatible implicit declaration of built-in function 'printf' The compile machine has it on this place but on the clients where gcc is used there is no gcc from redhat installed. gcc should work out of the box. This was working in past but not with this application. Gruß Klaus - -- IT Support Group D-INFK - Klaus Ethgen http://www.isg.inf.ethz.ch/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <[EMAIL PROTECTED]> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iQEVAwUBRRlIIZ+OKpjRpO3lAQLNTwf+JcFJWa5B7gKxSy11fJJn7gynXeoofcAz yqL55PLefi9F5pHFzJorKpKWSM0cjLw5mV95cBUXlGxcvEICO91SICZ5mzlpBdKc 5Jjz0oDnqV3lPl6hk57b7VR/zzYobWtgU4we5rvtUU5FH2mXG0XehBCl+BQOSncB MnCmHmZy3r99YkXWBGQ0cleMkhpS5oGJZ3Bg0lHu1PqV2rIbxHIdqxnqS9x+ccAd 3i3IofX1q24KCl9IjgPQN1SFbWZsxShZHckWOac0+Qidayg+6aWL4v/ckAOpqWW0 +jsubXQd252R/UGCamSSCZG0BdMazwhhpuNYexJW6avs0sPKb4V6Mg== =iBf3 -----END PGP SIGNATURE----- -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29233