Snippet from config.log as below:
configure:3261: checking for gcc
configure:3277: found /usr/bin/gcc
configure:3288: result: gcc
configure:3517: checking for C compiler version
configure:3526: gcc --version >&5
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 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:3537: $? = 0
configure:3526: gcc -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
configure:3537: $? = 0
configure:3526: gcc -V >&5
gcc: '-V' option must have argument
configure:3537: $? = 1
configure:3526: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3537: $? = 1
configure:3557: checkng whether the C compiler works
configure:3579: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3583: $? = 1
configure:3621: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Protocol Buffers"
| #define PACKAGE_TARNAME "protobuf"
| #define PACKAGE_VERSION "2.4.1"
| #define PACKAGE_STRING "Protocol Buffers 2.4.1"
| #define PACKAGE_BUGREPORT "
prot...@googlegroups.com"
| #define PACKAGE_URL ""
| #define PACKAGE "protobuf"
| #define VERSION "2.4.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3626: error: in `/home/ubuntu/protobuf-2.4.1':
configure:3630: error: C compiler cannot create executables
See `config.log' for more details.
On Tue, Jun 12, 2012 at 6:06 PM, Vishwas Goel
<vish...@gmail.com> wrote:
Did u figure this out already? I am seeing a similar error..