From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB <grub-devel@gnu.org>
Subject: Autoconf
Date: Wed, 12 Jul 2006 23:10:31 +0200 [thread overview]
Message-ID: <87mzbeedh4.fsf@xs4all.nl> (raw)
Hi,
Either I missed some commit and the instructions how to build on the
AMD64. Below I included the config.log output. As you can see it
tries to compile the test for the target machine and it uses glibc. I
think we have to disable the use of glibc for these autoconf tests.
But I am asking to make sure I am not wasting a lot of time by doing
the wrong thing.
Thanks,
Marco
configure:6331: checking if start is defined by the compiler
configure:6352: gcc -o conftest -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -Os -falign-jumps=1 -falign-loops=1 -falign-functions=1 -m32 -m32 conftest.c >&5
conftest.c:30: warning: function declaration isn't a prototype
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
configure:6358: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GRUB"
| #define PACKAGE_TARNAME "grub"
| #define PACKAGE_VERSION "1.94"
| #define PACKAGE_STRING "GRUB 1.94"
| #define PACKAGE_BUGREPORT "bug-grub@gnu.org"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_VOID_P 8
| #define SIZEOF_LONG 8
| #define HAVE_LZO1X_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_POSIX_MEMALIGN 1
| #define HAVE_MEMALIGN 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| asm ("incl start")
| ;
| return 0;
| }
next reply other threads:[~2006-07-12 21:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-12 21:10 Marco Gerards [this message]
2006-07-12 21:33 ` Autoconf Yoshinori K. Okuji
2006-07-12 21:42 ` Autoconf Marco Gerards
2006-07-13 13:14 ` Autoconf Jeroen Dekkers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mzbeedh4.fsf@xs4all.nl \
--to=mgerards@xs4all.nl \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.