Re: [ext2resize] Help !!
Status: Inactive
Brought to you by:
adilger
From: Ricardo C. <rc...@if...> - 2002-02-12 05:07:54
|
Hello everyone. I'm trying to compile ext2resize-1.1.1-17 on a RedHat Linux 5.2. (kernel 2.0.36) Because of the lack of certain libraries (glibc-2.0) I had to modify ext2resize sources, until it finally compiled succesfully.=20 I just modified a little bit config.h, ext2.c and ext2_fs.h (I add some defines and comment out the lseek definition). Anyway, now I get an error whenever I try to use the command. Here is what happens: 1._ # df Filesystem Size Used Avail Capacity Mounted on /dev/sda1 486M 74M 387M 16% / /dev/sdb1 486M 214M 247M 46% /usr /dev/md0 7.6G 9.6M 7.2G 0% /var /dev/md1 7.6G 347M 6.8G 5% /home 2._ #umoun /dev/sdb1 # ext2resize /dev/sdb1 250M ext2resize v1.1.17- 2001/03/18 for EXT2FS 0.5b error : Succes: seeking to 1024 I have to mention that I got a RAID level 0 on this machine. (But i'm trying the resize on a "non-raid" partiion). Does anybody has a clue on this?? Thank you!! El vie, 08-02-2002 a las 18:19, Andreas Dilger escribi=F3: On Feb 07, 2002 22:40 -0600, Ricardo Colin wrote: > I procedi to make them change that I indicate and despues of it volvi= to > compile, obtaining the following result, thanks for your aid. =20 >=20 > libext2resize.a(llseek.o): In function `ext2_llseek': > /usr/src/redhat/BUILD/ext2resize-1.1.17/src/llseek.c:29: undefined > reference to `lseek64' =20 Did you run "./configure" first? The lseek64 command should not be called on systems that do not have it. =20 To work around this problem, you can edit ext2resize/src/config.h and change the line: =20 #define HAVE_LSEEK64 1 =20 to =20 #undef HAVE_LSEEK64 =20 } =BFUsted funcion=F3 el "/configure" primero? El comando lseek64 no d= ebe ser los } sistemas invitados que no lo tienen. Para trabajar alrededor de este } problema, usted puede corregir ext2resize/src/config.h y cambiar la l= =EDnea: =20 #define HAVE_LSEEK64 1 =20 } el =20 #undef HAVE_LSEEK64 =20 Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/ =20 =20 _______________________________________________ ext2resize-devel mailing list ext...@li... https://lists.sourceforge.net/lists/listinfo/ext2resize-devel =20 |