FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Install

 
 
LinkBack Thread Tools
 
Old 12-23-2010, 04:14 AM
ShibuThomas
 
Default Trusted Grub Build error

Hi,

while configuring Trusted grub ,

cd TrustedGRUB1.1.5 >./configure

we got the error "configure error: C Compiler can't create executable."

We solved this error by editing configure file with if test "x$host_cpu"
= xx86_64; then

CFLAGS= Instead of -m32 "-m64 $CFLAGS -fno-stack-protector"
else
CFLAGS="$CFLAGS -fno-stack-protector"

while make,
we are getting
disk_io.c :151:Error:Incorrect register '%rax" used with "l" sufix.

Please find the attached config.log file more details.

Please let me know how can I rectify this error.

Regards,
ShibuThomas



On 12/22/2010 10:49 PM, Rick Stevens wrote:

On 12/17/2010 03:02 AM, ShibuThomas wrote:

Hi All,

How can I use Trusted grub instead of normal grub with RHEL6.0.

Can anyone help me to downland Trusted grub, Its compilation and
installation.


You probably need to pull down the tarball for trusted grub and install
it based on the instructions in the README or INSTALL document. While
I can't speak for it directly, it'd be something like:

(download to a working directory)
tar xzf TrustedGRUB.1.1.5.tar.gz
cd TrustedGRUB.1.1.5

and view the README file. Pretty straightforward.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting ricks@nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Do you know where _your_ towel is? -
----------------------------------------------------------------------

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@redhat.com
Subject: unsubscribe




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.1.5, which was
generated by GNU Autoconf 2.63. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = x86_64
uname -r = 2.6.32.PRIMA_KERNEL-
uname -s = Linux
uname -v = #3 SMP Mon Dec 20 20:18:16 IST 2010

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2064: checking for a BSD-compatible install
configure:2132: result: /usr/bin/install -c
configure:2143: checking whether build environment is sane
configure:2203: result: yes
configure:2344: checking for a thread-safe mkdir -p
configure:2383: result: /bin/mkdir -p
configure:2396: checking for gawk
configure:2412: found /usr/bin/gawk
configure:2423: result: gawk
configure:2434: checking whether make sets $(MAKE)
configure:2456: result: yes
configure:2545: checking build system type
configure:2563: result: x86_64-unknown-linux-gnu
configure:2585: checking host system type
configure:2600: result: x86_64-unknown-linux-gnu
configure:2639: checking whether to enable maintainer-specific portions of Makefiles
configure:2648: result: no
configure:2767: checking for gcc
configure:2783: found /usr/bin/gcc
configure:2794: result: gcc
configure:2864: checking for gcc
configure:2891: result: gcc
configure:3123: checking for C compiler version
configure:3131: gcc --version >&5
gcc (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13)
Copyright (C) 2010 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:3135: $? = 0
configure:3142: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --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 --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)
configure:3146: $? = 0
configure:3153: gcc -V >&5
gcc: '-V' option must have argument
configure:3157: $? = 1
configure:3180: checking for C compiler default output file name
configure:3202: gcc -m64 -fno-stack-protector conftest.c >&5
configure:3206: $? = 0
configure:3244: result: a.out
configure:3263: checking whether the C compiler works
configure:3273: ./a.out
configure:3277: $? = 0
configure:3296: result: yes
configure:3303: checking whether we are cross compiling
configure:3305: result: no
configure:3308: checking for suffix of executables
configure:3315: gcc -o conftest -m64 -fno-stack-protector conftest.c >&5
configure:3319: $? = 0
configure:3345: result:
configure:3351: checking for suffix of object files
configure:3377: gcc -c -m64 -fno-stack-protector conftest.c >&5
configure:3381: $? = 0
configure:3406: result: o
configure:3410: checking whether we are using the GNU C compiler
configure:3439: gcc -c -m64 -fno-stack-protector conftest.c >&5
configure:3446: $? = 0
configure:3463: result: yes
configure:3472: checking whether gcc accepts -g
configure:3502: gcc -c -g conftest.c >&5
configure:3509: $? = 0
configure:3610: result: yes
configure:3627: checking for gcc option to accept ISO C89
configure:3701: gcc -c -m64 -fno-stack-protector conftest.c >&5
configure:3708: $? = 0
configure:3731: result: none needed
configure:3760: checking for style of include used by make
configure:3788: result: GNU
configure:3813: checking dependency style of gcc
configure:3923: result: gcc3
configure:3947: checking dependency style of gcc
configure:4055: result: gcc3
configure:4165: checking for ranlib
configure:4181: found /usr/bin/ranlib
configure:4192: result: ranlib
configure:4228: checking whether optimization for size works
configure:4257: gcc -c -Os -g conftest.c >&5
configure:4264: $? = 0
configure:4281: result: yes
configure:4290: checking whether gcc has -fno-stack-protector
configure:4319: gcc -c -fno-stack-protector conftest.c >&5
configure:4326: $? = 0
configure:4343: result: yes
configure:4359: checking whether -Wundef works
configure:4388: gcc -c -m64 -fno-stack-protector -g -Wundef conftest.c >&5
configure:4395: $? = 0
configure:4412: result: yes
configure:4417: checking whether -falign-loops works
configure:4446: gcc -c -m64 -fno-stack-protector -g -falign-loops=1 conftest.c >&5
configure:4453: $? = 0
configure:4470: result: yes
configure:4570: checking for objcopy
configure:4586: found /usr/bin/objcopy
configure:4597: result: objcopy -R .note.gnu.build-id -O binary
configure:4623: checking if C symbols get an underscore after compilation
configure:4638: gcc -m64 -fno-stack-protector -g -S conftest.c
configure:4641: $? = 0
configure:4668: result: no
configure:4671: checking whether objcopy -R .note.gnu.build-id -O binary works for absolute addresses
configure:4684: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
conftest.c:2: warning: no previous prototype for 'cmain'
configure:4687: $? = 0
configure:4697: gcc -m64 -fno-stack-protector -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 conftest.o -o conftest.exec
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000002000
configure:4700: $? = 0
configure:4708: objcopy -R .note.gnu.build-id -O binary -O binary conftest.exec conftest
configure:4711: $? = 0
configure:4697: gcc -m64 -fno-stack-protector -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,8000 conftest.o -o conftest.exec
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008000
configure:4700: $? = 0
configure:4708: objcopy -R .note.gnu.build-id -O binary -O binary conftest.exec conftest
configure:4711: $? = 0
configure:4719: cmp -s conftest.old conftest
configure:4722: $? = 0
configure:4697: gcc -m64 -fno-stack-protector -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,7C00 conftest.o -o conftest.exec
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000007c00
configure:4700: $? = 0
configure:4708: objcopy -R .note.gnu.build-id -O binary -O binary conftest.exec conftest
configure:4711: $? = 0
configure:4719: cmp -s conftest.old conftest
configure:4722: $? = 0
configure:4733: result: yes
configure:4742: checking whether addr32 must be in the same line as the instruction
configure:4753: gcc -m64 -fno-stack-protector -g -c conftest.s
configure:4756: $? = 0
configure:4786: result: yes
configure:4791: checking for .code16 addr32 assembler support
configure:4808: gcc -m64 -fno-stack-protector -g -c conftest.s
configure:4811: $? = 0
configure:4822: result: yes
configure:4831: checking whether an absolute indirect call/jump must not be prefixed with an asterisk
configure:4844: gcc -m64 -fno-stack-protector -g -c conftest.s
configure:4847: $? = 0
configure:4866: result: no
configure:4870: checking if start is defined by the compiler
configure:4896: gcc -o conftest -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
/tmp/cc0C7Aia.o: In function `main':
/root/TrustedGRUB-1.1.5/conftest.c:16: undefined reference to `start'
collect2: ld returned 1 exit status
configure:4903: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GRUB"
| #define PACKAGE_TARNAME "grub"
| #define PACKAGE_VERSION "1.1.5"
| #define PACKAGE_STRING "GRUB 1.1.5"
| #define PACKAGE_BUGREPORT "m.selhorst@sirrix.com"
| #define PACKAGE "grub"
| #define VERSION "1.1.5"
| #define ADDR32 addr32
| #define DATA32 data32
| /* end confdefs.h. */
|
| int
| main ()
| {
| asm ("incl start")
| ;
| return 0;
| }
configure:4933: result: no
configure:4937: checking if _start is defined by the compiler
configure:4963: gcc -o conftest -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:4970: $? = 0
configure:5000: result: yes
configure:5011: checking if __bss_start is defined by the compiler
configure:5037: gcc -o conftest -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:5044: $? = 0
configure:5074: result: yes
configure:5078: checking if _edata is defined by the compiler
configure:5104: gcc -o conftest -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:5111: $? = 0
configure:5141: result: yes
configure:5145: checking if edata is defined by the compiler
configure:5171: gcc -o conftest -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:5178: $? = 0
configure:5208: result: yes
configure:5220: checking if end is defined by the compiler
configure:5246: gcc -o conftest -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:5253: $? = 0
configure:5283: result: yes
configure:5287: checking if _end is defined by the compiler
configure:5313: gcc -o conftest -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:5320: $? = 0
configure:5350: result: yes
configure:5370: checking for opendisk in -lutil
configure:5405: gcc -o conftest -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c -lutil >&5
/tmp/ccvJFJQm.o: In function `main':
/root/TrustedGRUB-1.1.5/conftest.c:29: undefined reference to `opendisk'
collect2: ld returned 1 exit status
configure:5412: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GRUB"
| #define PACKAGE_TARNAME "grub"
| #define PACKAGE_VERSION "1.1.5"
| #define PACKAGE_STRING "GRUB 1.1.5"
| #define PACKAGE_BUGREPORT "m.selhorst@sirrix.com"
| #define PACKAGE "grub"
| #define VERSION "1.1.5"
| #define ADDR32 addr32
| #define DATA32 data32
| #define HAVE_USCORE_START_SYMBOL 1
| #define HAVE_USCORE_USCORE_BSS_START_SYMBOL 1
| #define HAVE_USCORE_EDATA_SYMBOL 1
| #define HAVE_EDATA_SYMBOL 1
| #define HAVE_END_SYMBOL 1
| #define HAVE_USCORE_END_SYMBOL 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char opendisk ();
| int
| main ()
| {
| return opendisk ();
| ;
| return 0;
| }
configure:5433: result: no
configure:5447: checking for wgetch in -lncurses
configure:5482: gcc -o conftest -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c -lncurses >&5
configure:5489: $? = 0
configure:5510: result: yes
configure:5606: checking how to run the C preprocessor
configure:5646: gcc -E -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c
configure:5653: $? = 0
configure:5684: gcc -E -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c
conftest.c:19:28: error: ac_nonexistent.h: No such file or directory
configure:5691: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GRUB"
| #define PACKAGE_TARNAME "grub"
| #define PACKAGE_VERSION "1.1.5"
| #define PACKAGE_STRING "GRUB 1.1.5"
| #define PACKAGE_BUGREPORT "m.selhorst@sirrix.com"
| #define PACKAGE "grub"
| #define VERSION "1.1.5"
| #define ADDR32 addr32
| #define DATA32 data32
| #define HAVE_USCORE_START_SYMBOL 1
| #define HAVE_USCORE_USCORE_BSS_START_SYMBOL 1
| #define HAVE_USCORE_EDATA_SYMBOL 1
| #define HAVE_EDATA_SYMBOL 1
| #define HAVE_END_SYMBOL 1
| #define HAVE_USCORE_END_SYMBOL 1
| #define HAVE_LIBCURSES 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5724: result: gcc -E
configure:5753: gcc -E -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c
configure:5760: $? = 0
configure:5791: gcc -E -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c
conftest.c:19:28: error: ac_nonexistent.h: No such file or directory
configure:5798: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GRUB"
| #define PACKAGE_TARNAME "grub"
| #define PACKAGE_VERSION "1.1.5"
| #define PACKAGE_STRING "GRUB 1.1.5"
| #define PACKAGE_BUGREPORT "m.selhorst@sirrix.com"
| #define PACKAGE "grub"
| #define VERSION "1.1.5"
| #define ADDR32 addr32
| #define DATA32 data32
| #define HAVE_USCORE_START_SYMBOL 1
| #define HAVE_USCORE_USCORE_BSS_START_SYMBOL 1
| #define HAVE_USCORE_EDATA_SYMBOL 1
| #define HAVE_EDATA_SYMBOL 1
| #define HAVE_END_SYMBOL 1
| #define HAVE_USCORE_END_SYMBOL 1
| #define HAVE_LIBCURSES 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5838: checking for grep that handles long lines and -e
configure:5898: result: /bin/grep
configure:5903: checking for egrep
configure:5967: result: /bin/grep -E
configure:5972: checking for ANSI C header files
configure:6002: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6009: $? = 0
configure:6108: gcc -o conftest -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6112: $? = 0
configure:6118: ./conftest
configure:6122: $? = 0
configure:6140: result: yes
configure:6164: checking for sys/types.h
configure:6185: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6192: $? = 0
configure:6209: result: yes
configure:6164: checking for sys/stat.h
configure:6185: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6192: $? = 0
configure:6209: result: yes
configure:6164: checking for stdlib.h
configure:6185: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6192: $? = 0
configure:6209: result: yes
configure:6164: checking for string.h
configure:6185: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6192: $? = 0
configure:6209: result: yes
configure:6164: checking for memory.h
configure:6185: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6192: $? = 0
configure:6209: result: yes
configure:6164: checking for strings.h
configure:6185: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6192: $? = 0
configure:6209: result: yes
configure:6164: checking for inttypes.h
configure:6185: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6192: $? = 0
configure:6209: result: yes
configure:6164: checking for stdint.h
configure:6185: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6192: $? = 0
configure:6209: result: yes
configure:6164: checking for unistd.h
configure:6185: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6192: $? = 0
configure:6209: result: yes
configure:6232: checking for string.h
configure:6239: result: yes
configure:6232: checking for strings.h
configure:6239: result: yes
configure:6243: checking ncurses/curses.h usability
configure:6260: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6267: $? = 0
configure:6281: result: yes
configure:6285: checking ncurses/curses.h presence
configure:6300: gcc -E -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c
configure:6307: $? = 0
configure:6321: result: yes
configure:6354: checking for ncurses/curses.h
configure:6363: result: yes
configure:6243: checking ncurses.h usability
configure:6260: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6267: $? = 0
configure:6281: result: yes
configure:6285: checking ncurses.h presence
configure:6300: gcc -E -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c
configure:6307: $? = 0
configure:6321: result: yes
configure:6354: checking for ncurses.h
configure:6363: result: yes
configure:6243: checking curses.h usability
configure:6260: gcc -c -m64 -fno-stack-protector -g -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c >&5
configure:6267: $? = 0
configure:6281: result: yes
configure:6285: checking curses.h presence
configure:6300: gcc -E -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef conftest.c
configure:6307: $? = 0
configure:6321: result: yes
configure:6354: checking for curses.h
configure:6363: result: yes
configure:7284: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by GRUB config.status 1.1.5, which was
generated by GNU Autoconf 2.63. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on localhost.localdomain

config.status:838: creating Makefile
config.status:838: creating stage1/Makefile
config.status:838: creating stage2/Makefile
config.status:838: creating docs/Makefile
config.status:838: creating lib/Makefile
config.status:838: creating util/Makefile
config.status:838: creating grub/Makefile
config.status:838: creating netboot/Makefile
config.status:838: creating util/grub-image
config.status:838: creating util/grub-install
config.status:838: creating util/grub-md5-crypt
config.status:838: creating util/grub-terminfo
config.status:838: creating util/grub-set-default
config.status:838: creating config.h
config.status:1112: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
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_LIBS_set=
ac_cv_env_LIBS_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_header_curses_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_ncurses_curses_h=yes
ac_cv_header_ncurses_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_ncurses_wgetch=yes
ac_cv_lib_util_opendisk=no
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_OBJCOPY='objcopy -R .note.gnu.build-id -O binary'
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CCAS_dependencies_compiler_type=gcc3
am_cv_CC_dependencies_compiler_type=gcc3
grub_cv_asm_absolute_without_asterisk=no
grub_cv_asm_addr32=yes
grub_cv_asm_prefix_requirement=yes
grub_cv_asm_uscore=no
grub_cv_check_edata_symbol=yes
grub_cv_check_end_symbol=yes
grub_cv_check_start_symbol=no
grub_cv_check_uscore_edata_symbol=yes
grub_cv_check_uscore_end_symbol=yes
grub_cv_check_uscore_start_symbol=yes
grub_cv_check_uscore_uscore_bss_start_symbol=yes
grub_cv_prog_objcopy_absolute=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/TrustedGRUB-1.1.5/missing --run aclocal-1.11'
AMDEPBACKSLASH='
AMDEP_FALSE='#'
AMDEP_TRUE='
AMTAR='${SHELL} /root/TrustedGRUB-1.1.5/missing --run tar'
AUTOCONF='${SHELL} /root/TrustedGRUB-1.1.5/missing --run autoconf'
AUTOHEADER='${SHELL} /root/TrustedGRUB-1.1.5/missing --run autoheader'
AUTOMAKE='${SHELL} /root/TrustedGRUB-1.1.5/missing --run automake-1.11'
AWK='gawk'
BUILD_EXAMPLE_KERNEL_FALSE='
BUILD_EXAMPLE_KERNEL_TRUE='#'
CC='gcc'
CCAS='gcc'
CCASDEPMODE='depmode=gcc3'
CCASFLAGS='$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)'
CCDEPMODE='depmode=gcc3'
CFLAGS='-m64 -fno-stack-protector -g'
CPP='gcc -E'
CPPFLAGS=' -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DISKLESS_SUPPORT_FALSE='
DISKLESS_SUPPORT_TRUE='#'
ECHO_C='
ECHO_N='-n'
ECHO_T='
EGREP='/bin/grep -E'
EXEEXT='
FSYS_CFLAGS=' -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_NTFS=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1'
GREP='/bin/grep'
GRUB_CFLAGS='-O2'
GRUB_LIBS=' -lncurses'
HERCULES_SUPPORT_FALSE='#'
HERCULES_SUPPORT_TRUE='
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='
LIBOBJS='
LIBS='
LTLIBOBJS='
MAINT='#'
MAINTAINER_MODE_FALSE='
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/TrustedGRUB-1.1.5/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NETBOOT_DRIVERS='
NETBOOT_SUPPORT_FALSE='
NETBOOT_SUPPORT_TRUE='#'
NET_CFLAGS='
NET_EXTRAFLAGS=' -DCONGESTED=1 -DNE_SCAN=0x280,0x300,0x320,0x340 -DWD_DEFAULT_MEM=0xCC000'
OBJCOPY='objcopy -R .note.gnu.build-id -O binary'
OBJEXT='o'
PACKAGE='grub'
PACKAGE_BUGREPORT='m.selhorst@sirrix.com'
PACKAGE_NAME='GRUB'
PACKAGE_STRING='GRUB 1.1.5'
PACKAGE_TARNAME='grub'
PACKAGE_VERSION='1.1.5'
PATH_SEPARATOR=':'
PERL='
RANLIB='ranlib'
SERIAL_SPEED_SIMULATION_FALSE='
SERIAL_SPEED_SIMULATION_TRUE='#'
SERIAL_SUPPORT_FALSE='#'
SERIAL_SUPPORT_TRUE='
SET_MAKE='
SHELL='/bin/sh'
STAGE1_CFLAGS='-O2'
STAGE2_CFLAGS='-Os -fno-stack-protector'
STRIP='
VERSION='1.1.5'
ac_ct_CC='gcc'
am__EXEEXT_FALSE='
am__EXEEXT_TRUE='#'
am__fastdepCCAS_FALSE='#'
am__fastdepCCAS_TRUE='
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE='
am__include='include'
am__isrc='
am__leading_dot='.'
am__quote='
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-unknown-linux-gnu'
host_alias='
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/TrustedGRUB-1.1.5/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "GRUB"
#define PACKAGE_TARNAME "grub"
#define PACKAGE_VERSION "1.1.5"
#define PACKAGE_STRING "GRUB 1.1.5"
#define PACKAGE_BUGREPORT "m.selhorst@sirrix.com"
#define PACKAGE "grub"
#define VERSION "1.1.5"
#define ADDR32 addr32
#define DATA32 data32
#define HAVE_USCORE_START_SYMBOL 1
#define HAVE_USCORE_USCORE_BSS_START_SYMBOL 1
#define HAVE_USCORE_EDATA_SYMBOL 1
#define HAVE_EDATA_SYMBOL 1
#define HAVE_END_SYMBOL 1
#define HAVE_USCORE_END_SYMBOL 1
#define HAVE_LIBCURSES 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 HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_NCURSES_CURSES_H 1
#define HAVE_NCURSES_H 1
#define HAVE_CURSES_H 1
#define AUTO_LINUX_MEM_OPT 1

configure: exit 0
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@redhat.com
Subject: unsubscribe
 
Old 12-23-2010, 04:58 PM
Rick Stevens
 
Default Trusted Grub Build error

On 12/22/2010 09:14 PM, ShibuThomas wrote:

Hi,

while configuring Trusted grub ,

cd TrustedGRUB1.1.5 >./configure

we got the error "configure error: C Compiler can't create executable."

We solved this error by editing configure file with if test "x$host_cpu"
= xx86_64; then
CFLAGS= Instead of -m32 "-m64 $CFLAGS -fno-stack-protector"
else
CFLAGS="$CFLAGS -fno-stack-protector"

while make,
we are getting
disk_io.c :151:Error:Incorrect register '%rax" used with "l" sufix.

Please find the attached config.log file more details.

Please let me know how can I rectify this error.


I wouldn't even try. This looks to be an issue with the assembly
language either embedded in the disk_io.c file at line 151 or the
assembly spit out by the C compiler at that point (probably embedded

assembly). I don't know enough about assembly language on 64-bit
machines to comment.

This is not an issue you have with Red Hat, it's an issue with trusted
grub--specifically on 64-bit machines. You should contact the trusted
grub developers and see if they have a fix.


On 12/22/2010 10:49 PM, Rick Stevens wrote:

On 12/17/2010 03:02 AM, ShibuThomas wrote:

Hi All,

How can I use Trusted grub instead of normal grub with RHEL6.0.

Can anyone help me to downland Trusted grub, Its compilation and
installation.


You probably need to pull down the tarball for trusted grub and install
it based on the instructions in the README or INSTALL document. While
I can't speak for it directly, it'd be something like:

(download to a working directory)
tar xzf TrustedGRUB.1.1.5.tar.gz
cd TrustedGRUB.1.1.5

and view the README file. Pretty straightforward.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting ricks@nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Do you know where _your_ towel is? -
----------------------------------------------------------------------

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@redhat.com
Subject: unsubscribe







--
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting ricks@nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- grep me no patterns and I'll tell you no lines -
----------------------------------------------------------------------

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@redhat.com
Subject: unsubscribe
 

Thread Tools




All times are GMT. The time now is 08:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org