Skip to contentSkip to conversation

reiserfsprogs 3.6.16 release

DISCUSSION Vitaly Fertman 3 participants 6 messages May 13, 2004 – May 14, 2004

lore
Share & tools
lore
#0 lore raw

Hi all,

The new release is available on our ftp site, it inlcludes :

- 'unpack' program is moved to 'debugreiserfs -u';
- the bugfix for the mount entry detection code when handling not uptodate mtab after the crash;
- the bugfix for the configure script with generating include/credits.h with cross compiling;
- the bugfix for dynamically linking to be 'position independent' code.
- a few minor bugfixes;
- manual pages were improved.

Signature · 2 lines
Thanks,
Vitaly Fertman
#1 lore raw
Quoted 1 line · Vitaly Fertman

Hi all,

hi Vitaly,

Quoted 1 line

- the bugfix for dynamically linking to be 'position independent' code.

is this the story of [0] and more recent debian bug #230482 [1]? this would mean debian does not need to distribute reiserfsck statically linked any more, does it?

thanks
domenico

[0] http://www.geocrawler.com/lists/3/Linux/3455/0/10429413/
[1] http://bugs.debian.org/230482

-----[ Domenico Andreoli, aka cavok
--[ http://people.debian.org/~cavok/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50

#2 lore raw
Quoted 4 lines · Domenico Andreoli
Quoted 1 line · Vitaly Fertman

Hi all,

hi Vitaly,

Hello Domenico,

Quoted 5 lines
Quoted 1 line

- the bugfix for dynamically linking to be 'position independent' code.

is this the story of [0] and more recent debian bug #230482 [1]? this would mean debian does not need to distribute reiserfsck statically linked any more, does it?

right, this problem should not appear anymore.

Signature · 2 lines
Thanks,
Vitaly Fertman
#3 lore raw
Quoted 11 lines · Vitaly Fertman
Quoted 7 lines · Domenico Andreoli
Quoted 1 line · Vitaly Fertman

- the bugfix for dynamically linking to be 'position independent' code.

is this the story of [0] and more recent debian bug #230482 [1]? this would mean debian does not need to distribute reiserfsck statically linked any more, does it?

right, this problem should not appear anymore.

fine, great job! :)

bts, it looks some define is missing here and there...

...
misc.c: In function `get_dma_support':
misc.c:682: warning: implicit declaration of function `IDE_DISK_MAJOR'
...
reiserfslib.c: In function `can_we_format_it':
reiserfslib.c:1216: warning: implicit declaration of function `IDE_DISK_MAJOR'
reiserfslib.c:1217: warning: implicit declaration of function `SCSI_BLK_MAJOR'
...
gcc -g -Wall -O2 -fPIC -DPIC -o reiserfsck main.o pass0.o pass1.o
pass2.o semantic_check.o semantic_rebuild.o pass4.o lost+found.o
ubitmap.o uobjectid.o ustree.o ufile.o check_tree.o info.o super.o
../lib/libmisc.a ../reiserfscore/libcore.a -luuid
../lib/libmisc.a(misc.o)(.text+0x13ec): In function `get_dma_support':
/home/cavok/archive/debian_working/reiserfsprogs/reiserfsprogs-3.6.16/lib/misc.c:682: undefined reference to IDE_DISK_MAJOR' ../reiserfscore/libcore.a(reiserfslib.o)(.text+0x2769): In function can_we_format_it':
/home/cavok/archive/debian_working/reiserfsprogs/reiserfsprogs-3.6.16/reiserfscore/reiserfslib.c:1216: undefined reference to IDE_DISK_MAJOR' ../reiserfscore/libcore.a(reiserfslib.o)(.text+0x277b):/home/cavok/archive/debian_working/reiserfsprogs/reiserfsprogs-3.6.16/reiserfscore/reiserfslib.c:1216: undefined reference to SCSI_BLK_MAJOR'
collect2: ld returned 1 exit status
...

cheers
domenico

-----[ Domenico Andreoli, aka cavok
--[ http://people.debian.org/~cavok/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50

#4 lore raw

Hello,

The attached patch fixes the compilation issue.

Thanks,

Philippe

include/misc.h +0 -4
@@ -154,14 +154,11 @@
     tmp >>= from;\
     return tmp;
 
-#if 0
 #ifndef major
 #define major(rdev)      ((rdev)>>8)
 #define minor(rdev)      ((rdev) & 0xff)
 #endif /* major */
-#endif
 
-#if 0
 #ifndef SCSI_DISK_MAJOR
 #define SCSI_DISK_MAJOR(maj) ((maj) == SCSI_DISK0_MAJOR || \
 			     ((maj) >= SCSI_DISK1_MAJOR && (maj) <= SCSI_DISK7_MAJOR))
@@ -184,6 +181,5 @@
 			     (maj) == IDE4_MAJOR || (maj) == IDE5_MAJOR)
 #endif /* IDE9_MAJOR */
 #endif /* IDE_DISK_MAJOR */
-#endif
 
 #endif /* REISERFS_MISC_H */
#5 lore raw

Hello,

I put reiserfsprogs-3.6.17 with fixed compilation problem on our ftp site.

Signature · 2 lines
Thanks,
Vitaly Fertman