All of lore.kernel.org
 help / color / mirror / Atom feed
* grub reiser4 won't compile
@ 2005-04-28  5:26 Chris Wakefield
  2005-04-28 12:06 ` Vitaly Fertman
  0 siblings, 1 reply; 9+ messages in thread
From: Chris Wakefield @ 2005-04-28  5:26 UTC (permalink / raw)
  To: reiserfs-list

Greetings all.

I'm attempting to setup Reiser4 on a partition and I've got as far as trying 
to compiling grub and I've run into a wall.

It's a Reiser4 patched grub source from:
ftp://ftp.namesys.com/pub/reiser4progs/grub/LATEST_PATCH
anyways, I run configure and I get:

"....checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu...

.........................

........"checking for C compiler default output file name... configure: error: 
C compiler cannot create executables".

config log error is:
......."configure:2416: $? = 1
configure: failed program was: | /* confdefs.h.  */" ......

This is happening only with reiser4 grub, as I'm able to compile kernels and 
who knows what else .. it's just this source only.
Do I require a different source or do I have to compile reiser4 grub in a 32 
bit chroot environment?

Can someone give me some ideas as to what it is needed here?

Thanks,
Chris W.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: grub reiser4 won't compile
  2005-04-28  5:26 grub reiser4 won't compile Chris Wakefield
@ 2005-04-28 12:06 ` Vitaly Fertman
  2005-04-29  9:11   ` Chris Wakefield
  0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Fertman @ 2005-04-28 12:06 UTC (permalink / raw)
  To: reiserfs-list; +Cc: Chris Wakefield

On Thursday 28 April 2005 09:26, Chris Wakefield wrote:
> Greetings all.
> 
> I'm attempting to setup Reiser4 on a partition and I've got as far as trying 
> to compiling grub and I've run into a wall.
> 
> It's a Reiser4 patched grub source from:
> ftp://ftp.namesys.com/pub/reiser4progs/grub/LATEST_PATCH

so is it reiser4 patched grub from LATEST_GRUB or 
the reiser4 grub patch from LATEST_PATCH?

> anyways, I run configure and I get:
> 
> "....checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu...
> 
> .........................
> 
> ........"checking for C compiler default output file name... configure: error: 
> C compiler cannot create executables".
> 
> config log error is:
> ......."configure:2416: $? = 1
> configure: failed program was: | /* confdefs.h.  */" ......
> 
> This is happening only with reiser4 grub, as I'm able to compile kernels and 
> who knows what else .. it's just this source only.
> Do I require a different source or do I have to compile reiser4 grub in a 32 
> bit chroot environment?

what does the plain grub-0.96 without reiser4 patch say?

-- 
Thanks,
Vitaly Fertman

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: grub reiser4 won't compile
  2005-04-28 12:06 ` Vitaly Fertman
@ 2005-04-29  9:11   ` Chris Wakefield
  2005-04-29 11:19     ` Vitaly Fertman
  0 siblings, 1 reply; 9+ messages in thread
From: Chris Wakefield @ 2005-04-29  9:11 UTC (permalink / raw)
  To: reiserfs-list

Hi Vitaly.

Thanks for your reply.

I tried every reasonable combo:
apt-get source grub ... patched it with LATEST_PATCH ...that wouldn't compile 
with or without the patch,
grub-0.95,
grub-0.96,
all the same result.
I wasn't sure what to do with "LATEST_GRUB", it seemed to be a binary for some 
reason.

I'm stumped.

Thanks,
Chris W.

On April 28, 2005 05:06 am, Vitaly Fertman wrote:
> On Thursday 28 April 2005 09:26, Chris Wakefield wrote:
> > Greetings all.
> >
> > I'm attempting to setup Reiser4 on a partition and I've got as far as
> > trying to compiling grub and I've run into a wall.
> >
> > It's a Reiser4 patched grub source from:
> > ftp://ftp.namesys.com/pub/reiser4progs/grub/LATEST_PATCH
>
> so is it reiser4 patched grub from LATEST_GRUB or
> the reiser4 grub patch from LATEST_PATCH?
>
> > anyways, I run configure and I get:
> >
> > "....checking build system type... x86_64-unknown-linux-gnu
> > checking host system type... x86_64-unknown-linux-gnu...
> >
> > .........................
> >
> > ........"checking for C compiler default output file name... configure:
> > error: C compiler cannot create executables".
> >
> > config log error is:
> > ......."configure:2416: $? = 1
> > configure: failed program was: | /* confdefs.h.  */" ......
> >
> > This is happening only with reiser4 grub, as I'm able to compile kernels
> > and who knows what else .. it's just this source only.
> > Do I require a different source or do I have to compile reiser4 grub in a
> > 32 bit chroot environment?
>
> what does the plain grub-0.96 without reiser4 patch say?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: grub reiser4 won't compile
  2005-04-29  9:11   ` Chris Wakefield
@ 2005-04-29 11:19     ` Vitaly Fertman
  2005-05-02 14:51       ` Hans Reiser
  0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Fertman @ 2005-04-29 11:19 UTC (permalink / raw)
  To: reiserfs-list; +Cc: Chris Wakefield

On Friday 29 April 2005 13:11, Chris Wakefield wrote:
> Hi Vitaly.
> 
> Thanks for your reply.
> 
> I tried every reasonable combo:
> apt-get source grub ... patched it with LATEST_PATCH ...that wouldn't compile 
> with or without the patch,
> grub-0.95,
> grub-0.96,

if the grub-0.96 without reiser4 patch does not want to be configured,
you should probably ask the grub guys about it:
http://www.gnu.org/software/grub/grub-legacy-bugs.en.html


> all the same result.
> I wasn't sure what to do with "LATEST_GRUB", it seemed to be a binary for some 
> reason.

this is the rebuilt grub package with the applied reiser4 patch, it points to
ftp.namesys.com/pub/reiser4progs/grub/grub-0.96-reiser4-20040130.tar.gz

 
> I'm stumped.
> 
> Thanks,
> Chris W.
> 
> On April 28, 2005 05:06 am, Vitaly Fertman wrote:
> > On Thursday 28 April 2005 09:26, Chris Wakefield wrote:
> > > Greetings all.
> > >
> > > I'm attempting to setup Reiser4 on a partition and I've got as far as
> > > trying to compiling grub and I've run into a wall.
> > >
> > > It's a Reiser4 patched grub source from:
> > > ftp://ftp.namesys.com/pub/reiser4progs/grub/LATEST_PATCH
> >
> > so is it reiser4 patched grub from LATEST_GRUB or
> > the reiser4 grub patch from LATEST_PATCH?
> >
> > > anyways, I run configure and I get:
> > >
> > > "....checking build system type... x86_64-unknown-linux-gnu
> > > checking host system type... x86_64-unknown-linux-gnu...
> > >
> > > .........................
> > >
> > > ........"checking for C compiler default output file name... configure:
> > > error: C compiler cannot create executables".
> > >
> > > config log error is:
> > > ......."configure:2416: $? = 1
> > > configure: failed program was: | /* confdefs.h.  */" ......
> > >
> > > This is happening only with reiser4 grub, as I'm able to compile kernels
> > > and who knows what else .. it's just this source only.
> > > Do I require a different source or do I have to compile reiser4 grub in a
> > > 32 bit chroot environment?
> >
> > what does the plain grub-0.96 without reiser4 patch say?
> 
> 

-- 
Thanks,
Vitaly Fertman

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: grub reiser4 won't compile
  2005-04-29 11:19     ` Vitaly Fertman
@ 2005-05-02 14:51       ` Hans Reiser
  2005-05-02 15:17         ` Sander Sweers
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Reiser @ 2005-05-02 14:51 UTC (permalink / raw)
  To: Vitaly Fertman; +Cc: reiserfs-list, Chris Wakefield

Vitaly, if he is doing something with apt, that means he is probably 
using debian, which means they may have broken things, which means you 
need to look into it and fix things and report to me on it.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: grub reiser4 won't compile
  2005-05-02 14:51       ` Hans Reiser
@ 2005-05-02 15:17         ` Sander Sweers
  2005-05-02 22:20           ` Chris Wakefield
  2005-05-03 17:50           ` Hans Reiser
  0 siblings, 2 replies; 9+ messages in thread
From: Sander Sweers @ 2005-05-02 15:17 UTC (permalink / raw)
  To: Chris Wakefield; +Cc: Vitaly Fertman, reiserfs-list, Hans Reiser

On 02/05/05, Hans Reiser <reiser@namesys.com> wrote:
> Vitaly, if he is doing something with apt, that means he is probably
> using debian, which means they may have broken things, which means you
> need to look into it and fix things and report to me on it.

AFAIK grub does not work in 64bit. It might work compiling with
CFLAGS="-march=i386 -m32" LDFLAGS="-m32" passed to configure/gcc but i
am not sure (you need a multilib enviroment). Or as you already said
in a 32bit chroot.

More info on compiling in 32bit on AMD64 can be found here
http://lists.debian.org/debian-amd64/2004/08/msg00084.html.

Sander
-- 
After a time, you may find that "having" is not so pleasing a thing,
after all, as "wanting." It is not logical, but it is often true.

Spock, "Amok Time"
stardate 3372.7

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: grub reiser4 won't compile
  2005-05-02 15:17         ` Sander Sweers
@ 2005-05-02 22:20           ` Chris Wakefield
  2005-05-02 23:39             ` Sander Sweers
  2005-05-03 17:50           ` Hans Reiser
  1 sibling, 1 reply; 9+ messages in thread
From: Chris Wakefield @ 2005-05-02 22:20 UTC (permalink / raw)
  To: Sander Sweers, reiserfs-list

On May 2, 2005 08:17 am, Sander Sweers wrote:
> On 02/05/05, Hans Reiser <reiser@namesys.com> wrote:
> > Vitaly, if he is doing something with apt, that means he is probably
> > using debian, which means they may have broken things, which means you
> > need to look into it and fix things and report to me on it.
>
> AFAIK grub does not work in 64bit. It might work compiling with
> CFLAGS="-march=i386 -m32" LDFLAGS="-m32" passed to configure/gcc but i
> am not sure (you need a multilib enviroment). Or as you already said
> in a 32bit chroot.
>
> More info on compiling in 32bit on AMD64 can be found here
> http://lists.debian.org/debian-amd64/2004/08/msg00084.html.
>
> Sander

ls -l /var/cache/apt/archives|grep grub
-rw-r--r--  1 root root   733102 2005-01-17 16:40 
grub_0.95+cvs20040624-13_amd64.deb
-rw-r--r--  1 root root   733396 2005-02-05 07:18 
grub_0.95+cvs20040624-14_amd64.deb
-rw-r--r--  1 root root   733610 2005-02-18 16:18 
grub_0.95+cvs20040624-15_amd64.deb
-rw-r--r--  1 root root   733800 2005-03-21 00:41 
grub_0.95+cvs20040624-16_amd64.deb

This is odd.   I run pure64 amd64 and these packages indicate that they are 64 
bit?

Chris W.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: grub reiser4 won't compile
  2005-05-02 22:20           ` Chris Wakefield
@ 2005-05-02 23:39             ` Sander Sweers
  0 siblings, 0 replies; 9+ messages in thread
From: Sander Sweers @ 2005-05-02 23:39 UTC (permalink / raw)
  To: Chris Wakefield; +Cc: reiserfs-list

On 02/05/05, Chris Wakefield <c_wakefield@shaw.ca> wrote:
> ls -l /var/cache/apt/archives|grep grub
> -rw-r--r--  1 root root   733102 2005-01-17 16:40
> grub_0.95+cvs20040624-13_amd64.deb
> -rw-r--r--  1 root root   733396 2005-02-05 07:18
> grub_0.95+cvs20040624-14_amd64.deb
> -rw-r--r--  1 root root   733610 2005-02-18 16:18
> grub_0.95+cvs20040624-15_amd64.deb
> -rw-r--r--  1 root root   733800 2005-03-21 00:41
> grub_0.95+cvs20040624-16_amd64.deb
> 
> This is odd.   I run pure64 amd64 and these packages indicate that they are 64
> bit?
> 
> Chris W.
On gentoo if you have a multilib environment it will be built with
-m32 (just checked) and if you built it with -m64 i get the same error
as you. Gentoo has a special static 32bit package if you do not run
multilib, my guess is that Debian does the same with those packages.

Sander

-- 
After a time, you may find that "having" is not so pleasing a thing,
after all, as "wanting." It is not logical, but it is often true.

Spock, "Amok Time"
stardate 3372.7

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: grub reiser4 won't compile
  2005-05-02 15:17         ` Sander Sweers
  2005-05-02 22:20           ` Chris Wakefield
@ 2005-05-03 17:50           ` Hans Reiser
  1 sibling, 0 replies; 9+ messages in thread
From: Hans Reiser @ 2005-05-03 17:50 UTC (permalink / raw)
  To: Sander Sweers; +Cc: Chris Wakefield, Vitaly Fertman, reiserfs-list

Sander Sweers wrote:

>On 02/05/05, Hans Reiser <reiser@namesys.com> wrote:
>  
>
>>Vitaly, if he is doing something with apt, that means he is probably
>>using debian, which means they may have broken things, which means you
>>need to look into it and fix things and report to me on it.
>>    
>>
>
>AFAIK grub does not work in 64bit. It might work compiling with
>CFLAGS="-march=i386 -m32" LDFLAGS="-m32" passed to configure/gcc but i
>am not sure (you need a multilib enviroment). Or as you already said
>in a 32bit chroot.
>
>More info on compiling in 32bit on AMD64 can be found here
>http://lists.debian.org/debian-amd64/2004/08/msg00084.html.
>
>Sander
>  
>
Yes, Vitaly was right, sorry about that.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-05-03 17:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-28  5:26 grub reiser4 won't compile Chris Wakefield
2005-04-28 12:06 ` Vitaly Fertman
2005-04-29  9:11   ` Chris Wakefield
2005-04-29 11:19     ` Vitaly Fertman
2005-05-02 14:51       ` Hans Reiser
2005-05-02 15:17         ` Sander Sweers
2005-05-02 22:20           ` Chris Wakefield
2005-05-02 23:39             ` Sander Sweers
2005-05-03 17:50           ` Hans Reiser

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.