* why I can't build grub under the ubuntu 6.10? Here is the log file.
@ 2006-11-19 3:42 zhihang wang
2006-11-20 19:10 ` Hollis Blanchard
0 siblings, 1 reply; 6+ messages in thread
From: zhihang wang @ 2006-11-19 3:42 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 6155 bytes --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GRUB configure 1.95, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = ubuntu
uname -m = i686
uname -r = 2.6.15-27-386
uname -s = Linux
uname -v = #1 PREEMPT Sat Sep 16 01:51:59 UTC 2006
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1356: checking build system type
configure:1374: result: i686-pc-linux-gnu
configure:1382: checking host system type
configure:1396: result: i686-pc-linux-gnu
configure:1404: checking target system type
configure:1418: result: i686-pc-linux-gnu
configure:1495: checking for cmp
configure:1511: found /usr/bin/cmp
configure:1521: result: cmp
configure:1541: checking for bison
configure:1557: found /usr/bin/bison
configure:1567: result: bison
configure:1596: checking for a BSD-compatible install
configure:1651: result: /usr/bin/install -c
configure:1666: checking for gawk
configure:1682: found /usr/bin/gawk
configure:1692: result: gawk
configure:1702: checking whether make sets $(MAKE)
configure:1722: result: yes
configure:1735: checking for ruby
configure:1753: found /usr/bin/ruby
configure:1765: result: /usr/bin/ruby
configure:1823: checking for gcc
configure:1839: found /usr/bin/gcc
configure:1849: result: gcc
configure:2093: checking for C compiler version
configure:2096: gcc --version </dev/null >&5
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
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:2099: $? = 0
configure:2101: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr
--disable-werror --with-tune=pentium4 --enable-checking=release
i486-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
configure:2104: $? = 0
configure:2106: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2109: $? = 1
configure:2132: checking for C compiler default output file name
configure:2135: gcc conftest.c >&5
as: unrecognized option `--32'
configure:2138: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GRUB"
| #define PACKAGE_TARNAME "grub"
| #define PACKAGE_VERSION "1.95"
| #define PACKAGE_STRING "GRUB 1.95"
| #define PACKAGE_BUGREPORT "bug-grub@gnu.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2177: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_RUBY=/usr/bin/ruby
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CMP=cmp
ac_cv_prog_YACC=bison
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
## ----------------- ##
## Output variables. ##
## ----------------- ##
AWK='gawk'
CC='gcc'
CFLAGS=''
CMP='cmp'
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBCURSES=''
LIBLZO=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
NM=''
OBJCOPY=''
OBJEXT=''
PACKAGE_BUGREPORT='bug-grub@gnu.org'
PACKAGE_NAME='GRUB'
PACKAGE_STRING='GRUB 1.95'
PACKAGE_TARNAME='grub'
PACKAGE_VERSION='1.95'
PATH_SEPARATOR=':'
RUBY='/usr/bin/ruby'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TARGET_CC=''
TARGET_CFLAGS=''
TARGET_CPPFLAGS=''
TARGET_LDFLAGS=''
YACC='bison'
ac_ct_CC='gcc'
ac_ct_NM=''
ac_ct_OBJCOPY=''
ac_ct_STRIP=''
ac_ct_TARGET_CC=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
platform='pc'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i386'
target_os='linux-gnu'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT "bug-grub@gnu.org"
#define PACKAGE_NAME "GRUB"
#define PACKAGE_STRING "GRUB 1.95"
#define PACKAGE_TARNAME "grub"
#define PACKAGE_VERSION "1.95"
configure: exit 77
Would you like to give me some idears?
--
Best Regards
zhihang wang
[-- Attachment #2: Type: text/html, Size: 7546 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: why I can't build grub under the ubuntu 6.10? Here is the log file.
2006-11-19 3:42 why I can't build grub under the ubuntu 6.10? Here is the log file zhihang wang
@ 2006-11-20 19:10 ` Hollis Blanchard
2006-11-21 9:27 ` zhihang wang
2006-11-21 9:29 ` zhihang wang
0 siblings, 2 replies; 6+ messages in thread
From: Hollis Blanchard @ 2006-11-20 19:10 UTC (permalink / raw)
To: The development of GRUB 2
On Sat, 2006-11-18 at 22:42 -0500, zhihang wang wrote:
>
> configure:2132: checking for C compiler default output file name
> configure:2135: gcc conftest.c >&5
> as: unrecognized option `--32'
This seems to be the problem. I cannot see anything in GRUB that uses
this (invalid) switch, so I wonder where it could come from.
Does running "autogen.sh" fix it?
-Hollis
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: why I can't build grub under the ubuntu 6.10? Here is the log file.
2006-11-20 19:10 ` Hollis Blanchard
@ 2006-11-21 9:27 ` zhihang wang
2006-11-21 16:16 ` Hollis Blanchard
2006-11-21 9:29 ` zhihang wang
1 sibling, 1 reply; 6+ messages in thread
From: zhihang wang @ 2006-11-21 9:27 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
what is autogen.sh?
Where can I download it?
On 11/21/06, Hollis Blanchard <hollis@penguinppc.org> wrote:
>
> On Sat, 2006-11-18 at 22:42 -0500, zhihang wang wrote:
> >
> > configure:2132: checking for C compiler default output file name
> > configure:2135: gcc conftest.c >&5
> > as: unrecognized option `--32'
>
> This seems to be the problem. I cannot see anything in GRUB that uses
> this (invalid) switch, so I wonder where it could come from.
>
> Does running "autogen.sh" fix it?
>
> -Hollis
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Best Regards
zhihang wang
[-- Attachment #2: Type: text/html, Size: 1182 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: why I can't build grub under the ubuntu 6.10? Here is the log file.
2006-11-20 19:10 ` Hollis Blanchard
2006-11-21 9:27 ` zhihang wang
@ 2006-11-21 9:29 ` zhihang wang
1 sibling, 0 replies; 6+ messages in thread
From: zhihang wang @ 2006-11-21 9:29 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]
this is the log file when I run the ./configure file.
On 11/21/06, Hollis Blanchard <hollis@penguinppc.org> wrote:
>
> On Sat, 2006-11-18 at 22:42 -0500, zhihang wang wrote:
> >
> > configure:2132: checking for C compiler default output file name
> > configure:2135: gcc conftest.c >&5
> > as: unrecognized option `--32'
>
> This seems to be the problem. I cannot see anything in GRUB that uses
> this (invalid) switch, so I wonder where it could come from.
>
> Does running "autogen.sh" fix it?
>
> -Hollis
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Best Regards
zhihang wang
[-- Attachment #2: Type: text/html, Size: 1192 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: why I can't build grub under the ubuntu 6.10? Here is the log file.
2006-11-21 9:27 ` zhihang wang
@ 2006-11-21 16:16 ` Hollis Blanchard
2006-11-23 0:28 ` zhihang wang
0 siblings, 1 reply; 6+ messages in thread
From: Hollis Blanchard @ 2006-11-21 16:16 UTC (permalink / raw)
To: The development of GRUB 2
It is in the top level source directory, next to "configure".
-Hollis
On Tue, 2006-11-21 at 17:27 +0800, zhihang wang wrote:
> what is autogen.sh?
> Where can I download it?
>
> On 11/21/06, Hollis Blanchard <hollis@penguinppc.org> wrote:
> On Sat, 2006-11-18 at 22:42 -0500, zhihang wang wrote:
> >
> > configure:2132: checking for C compiler default output file
> name
> > configure:2135: gcc conftest.c >&5
> > as: unrecognized option `--32'
>
> This seems to be the problem. I cannot see anything in GRUB
> that uses
> this (invalid) switch, so I wonder where it could come from.
>
> Does running "autogen.sh" fix it?
>
> -Hollis
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: why I can't build grub under the ubuntu 6.10? Here is the log file.
2006-11-21 16:16 ` Hollis Blanchard
@ 2006-11-23 0:28 ` zhihang wang
0 siblings, 0 replies; 6+ messages in thread
From: zhihang wang @ 2006-11-23 0:28 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]
it is in the same directory with configure.
just in the grub directory.
I run ./configure in this directory.
On 11/22/06, Hollis Blanchard <hollis@penguinppc.org> wrote:
>
> It is in the top level source directory, next to "configure".
>
> -Hollis
>
> On Tue, 2006-11-21 at 17:27 +0800, zhihang wang wrote:
> > what is autogen.sh?
> > Where can I download it?
> >
> > On 11/21/06, Hollis Blanchard <hollis@penguinppc.org> wrote:
> > On Sat, 2006-11-18 at 22:42 -0500, zhihang wang wrote:
> > >
> > > configure:2132: checking for C compiler default output file
> > name
> > > configure:2135: gcc conftest.c >&5
> > > as: unrecognized option `--32'
> >
> > This seems to be the problem. I cannot see anything in GRUB
> > that uses
> > this (invalid) switch, so I wonder where it could come from.
> >
> > Does running "autogen.sh" fix it?
> >
> > -Hollis
>
>
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
--
Best Regards
zhihang wang
[-- Attachment #2: Type: text/html, Size: 2200 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-11-23 0:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-19 3:42 why I can't build grub under the ubuntu 6.10? Here is the log file zhihang wang
2006-11-20 19:10 ` Hollis Blanchard
2006-11-21 9:27 ` zhihang wang
2006-11-21 16:16 ` Hollis Blanchard
2006-11-23 0:28 ` zhihang wang
2006-11-21 9:29 ` zhihang wang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.