grub reiser4 won't compile
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.
Quoted 7 lines · Chris Wakefield
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?
Quoted 10 lines
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".
Quoted 8 lines
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?
Signature · 2 lines
Thanks, Vitaly Fertman
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.
Quoted 32 lines · Vitaly Fertman
Quoted 7 lines · Chris Wakefield
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_PATCHso is it reiser4 patched grub from
LATEST_GRUBor
the reiser4 grub patch fromLATEST_PATCH?Quoted 10 lines
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".Quoted 8 lines
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?
Quoted 9 lines · Chris Wakefield
Hi Vitaly.
Thanks for your reply.
I tried every reasonable combo:
apt-get source grub ... patched it withLATEST_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
Quoted 3 lines
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
Quoted 40 lines
I'm stumped.
Thanks,
Chris W.Quoted 32 lines · Vitaly Fertman
Quoted 7 lines · Chris Wakefield
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_PATCHso is it reiser4 patched grub from
LATEST_GRUBor
the reiser4 grub patch fromLATEST_PATCH?Quoted 10 lines
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".Quoted 8 lines
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?
Signature · 2 lines
Thanks, Vitaly Fertman
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.
Quoted 3 lines · Hans Reiser
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
Signature · 5 lines
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
Quoted 10 lines · Sander Sweers
Quoted 3 lines · Hans Reiser
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.
Quoted 4 lines
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.
Quoted 10 lines · Chris Wakefield
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
Quoted 4 lines
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
Signature · 5 lines
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
Quoted 14 lines · Sander Sweers
Quoted 5 lines · Hans Reiser
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.
Quoted 6 lines
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.