I have the following packages installed in my Fedora8 system.

[EMAIL PROTECTED] rpm -qa | grep gcc
compat-gcc-34-3.4.6-8
gcc-4.1.2-33
libgcc-4.1.2-33
gcc-c++-4.1.2-33
[EMAIL PROTECTED] rpm -qa | grep glibc
glibc-common-2.7-2
glibc-2.7-2
glibc-devel-2.7-2


While compiling tar.gz source files, I get some very basic errors. I
am wondering which packages am I missing:
The last few lines of the error log below shows I am missing stdio.h.
Now thats very basic!!!

configure:2044: checking for a BSD-compatible install
configure:2100: result: /usr/bin/install -c
configure:2111: checking whether build environment is sane
configure:2154: result: yes
configure:2219: checking for gawk
configure:2235: found /bin/gawk
configure:2246: result: gawk
configure:2257: checking whether make sets $(MAKE)
configure:2278: result: yes
configure:2464: checking whether to enable maintainer-specific
portions of Makefiles
configure:2473: result: no
configure:2501: checking for style of include used by make
configure:2529: result: GNU
configure:2602: checking for gcc
configure:2618: found /usr/lib/ccache/gcc
configure:2629: result: gcc
configure:2867: checking for C compiler version
configure:2874: gcc --version >&5
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2877: $? = 0
configure:2884: gcc -v >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
configure:2887: $? = 0
configure:2894: gcc -V >&5
gcc: '-V' option must have argument
configure:2897: $? = 1
configure:2920: checking for C compiler default output file name
configure:2947: gcc    conftest.c  >&5
configure:2950: $? = 0
configure:2988: result: a.out
configure:3005: checking whether the C compiler works
configure:3015: ./a.out
configure:3018: $? = 0
configure:3035: result: yes
configure:3042: checking whether we are cross compiling
configure:3044: result: no
configure:3047: checking for suffix of executables
configure:3054: gcc -o conftest    conftest.c  >&5
configure:3057: $? = 0
configure:3081: result:
configure:3087: checking for suffix of object files
configure:3113: gcc -c   conftest.c >&5
configure:3116: $? = 0
configure:3139: result: o
configure:3143: checking whether we are using the GNU C compiler
configure:3172: gcc -c   conftest.c >&5
configure:3178: $? = 0
configure:3195: result: yes
configure:3200: checking whether gcc accepts -g
configure:3230: gcc -c -g  conftest.c >&5
configure:3236: $? = 0
configure:3335: result: yes
configure:3352: checking for gcc option to accept ISO C89
configure:3426: gcc  -c -g -O2  conftest.c >&5
conftest.c:11:19: error: stdio.h: No such file or directory
conftest.c:12:23: error: sys/types.h: No such file or directory
conftest.c:13:22: error: sys/stat.h: No such file or directory
conftest.c:16: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
conftest.c:50: error: expected declaration specifiers or '...' before 'FILE'
configure:3432: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "wxcam"
| #define PACKAGE_TARNAME "wxcam"
| #define PACKAGE_VERSION "1.0.1"

Thanks in advance.

anand

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to