View Single Post
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#67
Trying to compile a program on n900, getting error from .configure.

Code:
gcc (GCC) 4.2.1
Copyright (C) 2007 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:2731: $? = 0
configure:2733: gcc -v </dev/null >&5
Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --disable-libssp --disable-sjlj-exceptions --disable-multilib --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi
Thread model: posix
gcc version 4.2.1
configure:2736: $? = 0
configure:2738: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2741: $? = 1
configure:2764: checking for C compiler default output file name
configure:2767: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2770: $? = 1
configure: failed program was:
| /* confdefs.h.  */
I have apt-get install gcc, what else do I need?