View previous topic :: View next topic |
Author |
Message |
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sat Jul 24, 2004 9:30 am Post subject: reiser4progs wont compile |
|
|
Since reiser4progs-0.5.6 produces fs that my kernel cannot mount (known issue on namesys) I tried to retrograde to 0.5.4 that I used before and which worked perfectly.But now it now longer compiles.
It may be significant that I have moved from gcc 3.3 to 3.4 in the meantime.
I have the same kernel as before: 2.6.6-love4.
This was a reliable , working setup I would like to get back using 0.5.4 .
Any suggestions on how to get this to compile?
Thx, Gentree.
Code: | isc_la-exception.lo -MD -MP -MF .deps/libmisc_la-exception.Tpo -c exception.c -o
libmisc_la-exception.o >/dev/null 2>&1
gauge.c: In function `misc_gauge_percentage_handler':
gauge.c:56: error: `GAUGE_PAUSED' undeclared (first use in this function)
gauge.c:56: error: (Each undeclared identifier is reported only once
gauge.c:56: error: for each function it appears in.)
gauge.c:62: error: `GAUGE_STARTED' undeclared (first use in this function)
gauge.c:64: error: structure has no member named `name'
gauge.c:67: warning: int format, different type arg (arg 3)
gauge.c:73: error: `GAUGE_DONE' undeclared (first use in this function)
gauge.c: In function `misc_gauge_indicator_handler':
gauge.c:85: error: `GAUGE_PAUSED' undeclared (first use in this function)
gauge.c:91: error: `GAUGE_STARTED' undeclared (first use in this function)
gauge.c:93: error: structure has no member named `name'
gauge.c:98: error: `GAUGE_DONE' undeclared (first use in this function)
gauge.c: In function `misc_gauge_silent_handler':
gauge.c:110: error: `GAUGE_PAUSED' undeclared (first use in this function)
gauge.c:116: error: `GAUGE_STARTED' undeclared (first use in this function)
gauge.c:118: error: structure has no member named `name'
gauge.c:121: error: `GAUGE_DONE' undeclared (first use in this function)
make[2]: *** [libmisc_la-gauge.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/portage/tmp/portage/reiser4progs-0.5.5/work/rei
ser4progs-0.5.5/libmisc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/portage/tmp/portage/reiser4progs-0.5.5/work/rei
ser4progs-0.5.5'
make: *** [all] Error 2
!!! ERROR: sys-fs/reiser4progs-0.5.5 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! make failed
|
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
Chaosite Guru
Joined: 13 Dec 2003 Posts: 540 Location: Right over here.
|
Posted: Sat Jul 24, 2004 7:29 pm Post subject: |
|
|
Your problem is that you are not using a recent enough version of love-sources that has a snapshot that works with the latest reiser4progs.
Update your kernel, and all will be well.
This is not namesys's problem, it yours.
Good luck. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sat Jul 24, 2004 8:35 pm Post subject: |
|
|
Quote: | Your problem is that you are not using a recent enough version of love-sources that has a snapshot that works with the latest reiser4progs. |
Oh really? Do you run a more recent love-source, because I have beem watching the threads since 2.6.6 and I see nothing but issues with r4.
Since steel300 stopped maintaining these sources the replacement team approach has yet to produce the same quailty patch sets. I'm waiting for things to stabalise a bit.
Quote: | Update your kernel, and all will be well.
|
You should follow the threads before giving out advice lile "all will be well".
Quote: | This is not namesys's problem, it yours. |
I did not say it was namesys's problem, I said thay were aware of the issue.
My "problem" is as I posted that I wish to recompile the previous version that worked on my system. That was quite good enough for me.
Constantly upgrading everything is a good recipe for a few days debugging. There are always compatability issues to be resolved. I regret changing reiser4progs for no better reason than it was there.
Now if you have an answer to my question it would be most helpful . Or if you are actually using a recent love-source and have tested it heavily with reiser4 I would be interested to hear as well.
However, I doublt either is the case from the tone of your post. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
spb Retired Dev
Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
Posted: Sat Jul 24, 2004 9:19 pm Post subject: |
|
|
Yes, there have been a few shakeups with love and reiser4 recently. All I can say is that I've been running reiser4progs-0.5.6 and 2.6.7-love7 since it was released with reiser4 on all partitions, and have had no issues at all. So that one's worth a try, and probably better than having non-mountable filesystems. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sat Jul 24, 2004 9:39 pm Post subject: |
|
|
@thebell, thanks for a very helpful suggestion , I'll go try that love.
I've weened myself of grabbing every new patch set. Its fun for a while but not very productive . I found 2.6.6 was a very stable version so I stuck with it .
While I have your ear, how could I recompile the older reiser4progs with gcc3.3.3 ? I'm on 3.4 now.
Thanks a lot.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Jul 25, 2004 12:05 am Post subject: |
|
|
@thebell.
Update. I have build in 2.6.7-love7 as you suggest but it seems bootsplash has a problem and I get just the same behaviour from mouting the r4 partition.
Code: |
bash-2.05b# uname -a
Linux linbox 2.6.7-love7 #1 Sun Jul 25 01:40:28 CEST 2004 i686 AMD Athlon(tm) processor AuthenticAMD GNU/Linux
bash-2.05b# !504
emp reiser4progs
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-fs/reiser4progs-0.5.6
mkfs.reiser4 /dev/hdc15
mkfs.reiser4 0.5.6
Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by reiser4progs/COPYING.
Block size 4096 will be used.
Linux 2.6.7-love7 is detected.
Uuid 274af061-4228-43e9-acee-8d48d66ba8bd will be used.
Reiser4 is going to be created on /dev/hdc15.
(Yes/No): yes
Creating reiser4 on /dev/hdc15 ... done
bash-2.05b# !503
mount -t reiser4 /dev/hdc15 /tmp/x
mount: wrong fs type, bad option, bad superblock on /dev/hdc15,
or too many mounted file systems
|
At this stage I think I'd be happier to downgrade reiser4progs to get back to my 2.6.6 if you can suggest how I can compile it using gcc3.3
TIA. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
oberyno Guru
Joined: 15 Feb 2004 Posts: 467 Location: /bin/zsh
|
Posted: Sun Jul 25, 2004 5:55 am Post subject: |
|
|
Did you unmerge the old gcc? You can have multiple working gcc's or your system as long as they have different middle(minor?) version numbers, i.e. 3.3.3, 3.4.0, ,3.5.0. If you still have the old gcc, you can just use Code: | gcc-config i686-pc-linux-gnu-3.3.3 | And then compile the program that wants the old gcc. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Jul 25, 2004 9:01 am Post subject: |
|
|
Thanks , that's exactly what I was looking for.
Sadly the emerge failed at exactly the same place with 3.3 as with 3.4 . At least that's one red-herring eliminated.
This is the output from gcc 3.4 , it has a couple of warnings not put out by 3.3 but after that it's identical.
Code: | gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DENABLE_SYMLINKS -DENABLE_SPECIAL -DENABLE_R5_HASH -DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH -DENABLE_DEG_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -O0 -g -W -Wall -Wno-unused-parameter -Wredundant-decls -MT libmisc_la-ui.lo -MD -MP -MF .deps/libmisc_la-ui.Tpo -c ui.c -fPIC -DPIC -o .libs/libmisc_la-ui.o
ui.c: In function `misc_readline':
ui.c:48: warning: passing arg 6 of `__actual_assert' discards qualifiers from pointer target type
ui.c:49: warning: passing arg 6 of `__actual_assert' discards qualifiers from pointer target type
ui.c: In function `misc_alpha_handler':
ui.c:189: warning: passing arg 6 of `__actual_assert' discards qualifiers from pointer target type
gauge.c: In function `misc_gauge_percentage_handler':
gauge.c:56: error: `GAUGE_PAUSED' undeclared (first use in this function)
gauge.c:56: error: (Each undeclared identifier is reported only once
gauge.c:56: error: for each function it appears in.)
............
gauge.c:110: error: `GAUGE_PAUSED' undeclared (first use in this function)
gauge.c:116: error: `GAUGE_STARTED' undeclared (first use in this function)
gauge.c:118: error: structure has no member named `name'
gauge.c:121: error: `GAUGE_DONE' undeclared (first use in this function)
make[2]: *** [libmisc_la-gauge.lo] Error 1
|
It's infurating not being able to get back to this nice working setup.
Can anyone see where I should be looking to resolve this?
Thx.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
oberyno Guru
Joined: 15 Feb 2004 Posts: 467 Location: /bin/zsh
|
Posted: Sun Jul 25, 2004 9:51 am Post subject: |
|
|
Try this before emerging the old reiser4progs:
Code: | emerge -av =libaal-0.5.1 | AFAIK, reiser4progs and libaal have to have the compatible versions. i.e.
libaal-0.5.1 works with reiser4progs-0.5.4
libaal-0.5.2 works with reiser4progs-0.5.5
libaal-0.5.3 works with reiser4progs-0.5.6 |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Jul 25, 2004 10:27 am Post subject: |
|
|
Ya beautie !
Thanks, I had forgotten the reiser4progs pulled in that dependancy. I should have checked.
I was getting a bit worried with all the experimental stuff , r4 non-supported love-kernel so I was looking for obsure interactions before checking the obvious.
Looks good. I can no compile the previous reiser4progs.
[UPDATE]
Oh shit:
Code: | bash-2.05b# emp reiser4progs
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] sys-libs/libaal-0.5.3 [0.5.1]
[ebuild U ] sys-fs/reiser4progs-0.5.6 [0.5.4]
bash-2.05b# mkfs.reiser4 /dev/hdc15
mkfs.reiser4 0.5.4
Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
reiser4progs/COPYING.
Block size 4096 will be used.
Linux 2.6.6-love4 is detected.
Uuid 0e853289-89a2-41c7-abd1-58d325a56e9f will be used.
Reiser4 is going to be created on /dev/hdc15.
(Yes/No): yes
Creating reiser4 on /dev/hdc15...done
bash-2.05b# mount -t reiser4 !$ /tmp/x
mount -t reiser4 /dev/hdc15 /tmp/x
mount: wrong fs type, bad option, bad superblock on /dev/hdc15,
or too many mounted file systems
|
spoke too soon!
Any more suggestions? You seem pretty on-the-ball with this.
Thanks agian.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
oberyno Guru
Joined: 15 Feb 2004 Posts: 467 Location: /bin/zsh
|
Posted: Sun Jul 25, 2004 10:39 am Post subject: |
|
|
*shrug* you could try rebooting the computer. I have had problems in the past not being able to mount a freshly created reiser4 partition. After rebooting, I was always able to access the partition. I have no idea why it does this. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Jul 25, 2004 8:20 pm Post subject: |
|
|
No. It just does not want to play.
Thanks for all your advice anyway. I learnt a couple of things on the way so it was useful.
Must be something else that's changed.
I think I'm going to stop updating the system and try using it instead . Every time I emerge sync and carefully upgrade the packages one-by-one there's always something gets fucked and I spend a week trying to sort it out.
Thanks again. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
|