Grub-devel Digest, Vol 25, Issue 11
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello! thank you for your answer but i already use lzo 1.08 And i thought i already enabled /usr/local/lib search path with configure flags like this
./configure BUILD_LDDFLAGS=-L/usr/local/lib BUILD_CPPFLAGS=-I/usr/local/include BUILD_CFLAGS=-I/usr/local/include
maybe you meaned something else?
please correct me if i doing smth wrong i tried to compile grub2 on some other unix-nodes(FBSD 5.4 5.3 6.0) but the same problem! thank you!
2006/3/21, [email protected] <[email protected]>:
Quoted 430 lines
Send Grub-devel mailing list submissions to
[email protected]To subscribe or unsubscribe via the World Wide Web, visit
http://lists.gnu.org/mailman/listinfo/grub-devel
or, via email, send a message with subject or body 'help' to
[email protected]You can reach the person managing the list at
[email protected]When replying, please edit your Subject line so it is more specific than "Re: Contents of Grub-devel digest..."
Today's Topics:
1. Lzo configure failure. (xi yang)
2. RE: Lzo configure failure. (Gregg C Levine)----------------------------------------------------------------------
Message: 1
Date: Tue, 21 Mar 2006 06:32:32 +0800
From: "xi yang" <[email protected]>
Subject: Lzo configure failure.
To: "The development of GRUB 2" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1hi:
Try Lzo-1.08.tar.gz
I have got the same problem whem i was compiling the grub1.92 with Lz0-2,02 then I used Lzo-1.08.tar.gz,everything 's fineBTW,you should enable the
/usr/loacal/libwhile lib searching2006/3/20, Z3tbl4 [] <[email protected]>:
Quoted 148 lines
Thank you for your answer.
i had some errors with includes which i fixed with this flags and copyind LZO includes to grub2 ./includes./configure BUILD_LDDFLAGS=-L/usr/local/lib BUILD_CPPFLAGS=-I/usr/local/include BUILD_CFLAGS=-I/usr/local/include
but now i can't compile with this error
gcc -Iutil/i386/pc -I./util/i386/pc -I. -Iinclude -I./include -Wall -W
(quoted diff) +0
-2-DGRUB_DATADIR=\"/usr/local/share/grub/i386-pc\" -g -O2 -DGRUB_UTIL=1 -c -o grub_mkimage-util_i386_pc_grub_mkimage.o
util/i386/pc/grub-mkimage.c
In file included fromutil/i386/pc/grub-mkimage.c:27:include/grub/util/misc.h:41: error: syntax error before "off_t"include/grub/util/misc.h:45: error: syntax error before "off_t"
gmake: *** [grub_mkimage-util_i386_pc_grub_mkimage.o] Error 1thank you
2006/3/18, [email protected] <[email protected]>:
Quoted 116 lines
Send Grub-devel mailing list submissions to
[email protected]To subscribe or unsubscribe via the World Wide Web, visit
http://lists.gnu.org/mailman/listinfo/grub-devel
or, via email, send a message with subject or body 'help' to
[email protected]You can reach the person managing the list at
[email protected]When replying, please edit your Subject line so it is more specific than "Re: Contents of Grub-devel digest..."
Today's Topics:
1. Re: LZO configure failure (Martin Moeller)
----------------------------------------------------------------------
Message: 1
Date: Fri, 17 Mar 2006 22:37:53 +0100
From: Martin Moeller <[email protected]>
Subject: Re: LZO configure failure
To: The development of GRUB 2 <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-asciiHi,
I guess you have installed the LZO Library in
/usr/local/lib. The script ignores this library search path (like the most one). Try to add it yourself as parameter to your configure script:# ./configure BUILD_LDDFLAGS=-L/usr/local/lib (tested with grub-1.91, also on FreeBSD 5.3)Quoted 66 lines · On Thu, Mar 16, 2006 at 07:20:02AM -0800, Z3tbl4 [] wrote:
Hello. Can anyone help me compile grub2 with LZO on FBSD 5.3 ! I have lzo already installed. here is the configure output, thank you.
[zm@q]
/usr/src/grub-1.92# ./configure
checking build system type... i386-unknown-freebsd5.3
checking host system type... i386-unknown-freebsd5.3
checking for gcc... gcc
checking for C compiler default output file name... a.out checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed checking for bison... bison -y
checking for bison -y... (cached) bison -y
checking for special C compiler options needed for large files... no checking for_FILE_OFFSET_BITSvalue needed for large files... no checking for_LARGE_FILESvalue needed for large files... no checking whether optimization for size works... yes
checking whether -falign-loops works... yes
checking if C symbols get an underscore after compilation... no checking if start is defined by the compiler... no
checking if_startis defined by the compiler... yes
checking if__bss_startis defined by the compiler... yes checking if edata is defined by the compiler... yes
checking if_edatais defined by the compiler... yes
checking if end is defined by the compiler... yes
checking if_endis defined by the compiler... yes
checking whether addr32 must be in the same line as the instruction... yes checking for .code16 addr32 assembler support... yes
checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no
checking if GCC has the regparm=3 bug... yes
checking for a BSD-compatible install.../usr/bin/install-c checking whether make sets $(MAKE)... yes
checking for objcopy... objcopy
checking whether objcopy works for absolute addresses... yes checking for strip... strip
checking for nm... nm
checking for ld... ld
checking for ruby... no
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking forsys/types.h... yes
checking forsys/stat.h... yes
checking forstdlib.h... yes
checking forstring.h... yes
checking formemory.h... yes
checking forstrings.h... yes
checking forinttypes.h... yes
checking forstdint.h... yes
checking forunistd.h... yes
checking for void *... yes
checking size of void *... 4
checking for long... yes
checking size of long... 4
checking for__lzo_init_v2in -llzo2... no
checking for__lzo_init_v2in -llzo... no
checking for__lzo_init2in -llzo... no
configure: error: LZO library version 1.02 or later is requiredQuoted 4 lines
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel------------------------------
Quoted 9 lines
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-develEnd of Grub-devel Digest, Vol 25, Issue 9
*****************************************Quoted 5 lines
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel------------------------------
Message: 2
Date: Mon, 20 Mar 2006 17:51:51 -0500
From: "Gregg C Levine" <[email protected]>
Subject: RE: Lzo configure failure.
To: "'The development of GRUB 2'" <[email protected]>
Message-ID: <000e01c64c70$e0f5efa0$6401a8c0@who7>
Content-Type: text/plain; charset="iso-8859-1"Hello from Gregg C Levine
Actually libraries such as the LZO one belong in/usr/libnotusr/local/lib(Note my correct spelling.) that might be most of his/your problems. By instructing the configuration script where to find or place your libraries you'll solve most of these problems. These instructions are available by giving the configure script the "--help" option, but without my quotes. Unless of course your building Grub2 so that it will be placed in the/usr/locallocations.The proper place for all libraries on Linux is indeed
/usr/libunless the documentation insists upon it being otherwise. And of course your not building your libraries on Linux but your building on one of the BSDs.
---
Gregg C Levine [email protected]
---
"Remember the Force will be with you. Always." Obi-Wan KenobiQuoted 2 lines
-----Original Message-----
From: [email protected][mailto:grub-
Quoted 1 line
[email protected]] On Behalf Of
xi yang
Quoted 7 lines
Sent: Monday, March 20, 2006 5:33 PM
To: The development of GRUB 2
Subject: Lzo configure failure.hi:
Try Lzo-1.08.tar.gz
I have got the same problem whem i was compiling the grub1.92 withLz0-2,02
Quoted 11 lines
then I used Lzo-1.08.tar.gz,everything 's fine
BTW,you should enable the
/usr/loacal/libwhile lib searching2006/3/20, Z3tbl4 [] <[email protected]>:
Quoted 6 lines
Thank you for your answer.
i had some errors with includes which i fixed with this flags and copyind LZO includes to grub2 ./includes./configure BUILD_LDDFLAGS=-L/usr/local/lib
BUILD_CPPFLAGS=-I/usr/local/includeBUILD_CFLAGS=-I/usr/local/include
Quoted 4 lines
Quoted 4 lines
but now i can't compile with this error
gcc -Iutil/i386/pc -I./util/i386/pc -I. -Iinclude -I./include
-Wall -W
Quoted 1 line
Quoted 1 line
-DGRUB_DATADIR=\"/usr/local/share/grub/i386-pc\" -g -O2
-DGRUB_UTIL=1
Quoted 10 lines
Quoted 10 lines
-c -o grub_mkimage-util_i386_pc_grub_mkimage.o
util/i386/pc/grub-mkimage.c
In file included fromutil/i386/pc/grub-mkimage.c:27:include/grub/util/misc.h:41: error: syntax error before "off_t"include/grub/util/misc.h:45: error: syntax error before "off_t"
gmake: *** [grub_mkimage-util_i386_pc_grub_mkimage.o] Error 1thank you
2006/3/18, [email protected]
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Send Grub-devel mailing list submissions to
[email protected]To subscribe or unsubscribe via the World Wide Web, visit
http://lists.gnu.org/mailman/listinfo/grub-devel
or, via email, send a message with subject or body 'help' to
[email protected]Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
You can reach the person managing the list at
[email protected]When replying, please edit your Subject line so it is more
specific
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
than "Re: Contents of Grub-devel digest..."
Today's Topics:
1. Re: LZO configure failure (Martin Moeller)
----------------------------------------------------------------------
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Message: 1
Date: Fri, 17 Mar 2006 22:37:53 +0100
From: Martin Moeller <[email protected]>
Subject: Re: LZO configure failure
To: The development of GRUB 2 <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-asciiHi,
I guess you have installed the LZO Library in
/usr/local/lib. The script ignores this library search path (like the most one). Try to add it yourself as parameter to your configure script:Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
# ./configure BUILD_LDDFLAGS=-L/usr/local/lib (tested with grub-1.91, also on FreeBSD 5.3)Quoted 2 lines · On Thu, Mar 16, 2006 at 07:20:02AM -0800, Z3tbl4 [] wrote:
Hello. Can anyone help me compile grub2 with LZO on FBSD 5.3 ! I have lzo already installed. here is the configure output,
thank you.
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
[zm@q]
/usr/src/grub-1.92# ./configure
checking build system type... i386-unknown-freebsd5.3 checking host system type... i386-unknown-freebsd5.3 checking for gcc... gcc
checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables...
checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed checking for bison... bison -y
checking for bison -y... (cached) bison -y checking for special C compiler options needed for largefiles... no
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
checking for
_FILE_OFFSET_BITSvalue needed for large files...no
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
checking for
_LARGE_FILESvalue needed for large files... no checking whether optimization for size works... yes checking whether -falign-loops works... yes checking if C symbols get an underscore after compilation...no
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
checking if start is defined by the compiler... no checking if
_startis defined by the compiler... yes checking if__bss_startis defined by the compiler... yes checking if edata is defined by the compiler... yes checking if_edatais defined by the compiler... yes checking if end is defined by the compiler... yes checking if_endis defined by the compiler... yes checking whether addr32 must be in the same line as theinstruction... yes
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
checking for .code16 addr32 assembler support... yes checking whether an absolute indirect call/jump must not be
prefixed
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
with an asterisk... no
checking if GCC has the regparm=3 bug... yes checking for a BSD-compatible install.../usr/bin/install-c checking whether make sets $(MAKE)... yes
checking for objcopy... objcopy
checking whether objcopy works for absolute addresses... yes checking for strip... strip
checking for nm... nm
checking for ld... ld
checking for ruby... no
checking whether byte ordering is bigendian... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E
checking for ANSI C header files... yes
checking forsys/types.h... yes
checking forsys/stat.h... yes
checking forstdlib.h... yes
checking forstring.h... yes
checking formemory.h... yes
checking forstrings.h... yes
checking forinttypes.h... yes
checking forstdint.h... yes
checking forunistd.h... yesQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
checking for void *... yes
checking size of void *... 4
checking for long... yes
checking size of long... 4
checking for__lzo_init_v2in -llzo2... no checking for__lzo_init_v2in -llzo... no checking for__lzo_init2in -llzo... no
configure: error: LZO library version 1.02 or later isrequired
Quoted 30 lines
Quoted 23 lines
Quoted 12 lines
Quoted 6 lines
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel------------------------------
Quoted 9 lines
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-develEnd of Grub-devel Digest, Vol 25, Issue 9
*****************************************Quoted 5 lines
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-develQuoted 4 lines
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel------------------------------
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-develEnd of Grub-devel Digest, Vol 25, Issue 11
******************************************