bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parted 1.6.22 Boot Disk


From: Würsch
Subject: Parted 1.6.22 Boot Disk
Date: Tue, 14 Jun 2005 03:36:28 -0700 (PDT)

Hello all,

I want to make a parted boot disk using the most recent version (1.6.22)
because the most recent precompiled boot disk uses version 1.6.6 which refuses
to resize my ext3 partitions. I got the source for 1.6.22, from which I want to
compile a static binary. I use ./configure --enable-all-static and then make,
but the make stops after a minute with the error message:

gcc -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALEDIR=\"/usr/local/share/locale\" -W -Wall -Wno-unused -Wno-switch
-Wno-format -Werror -o parted -static command.o parted.o strlist.o ui.o 
../libparted/.libs/libparted.a -luuid -lreadline -ldl -lncurses
/usr/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status
make[2]: *** [parted] Fehler 1
make[2]: Leaving directory `/root/downloads/parted-1.6.22/parted'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/root/downloads/parted-1.6.22'
make: *** [all] Fehler 2

If I get this right, ld can't find a library called "dl" or something. Googling
for such a library did't get me any result, and, more interesting, if I compile
without the --enable-all-static flag, everything works fine and I get a parted
executable. But then I suppose that one is no good if I want to make a boot
disk because it's only 65K in size, compared to the parted on the 1.6.6 root
disk which is 752K in size, probably due to the compiled-in static libs. I even
tried CVS which doesn't work because of missing configure stuff. So how do I do
I get around this problem? 
Thanks a lot

Timo

PS. My Parted printout...
Plattengeometrie für /dev/hda: 0.000-39205.687 Megabytes
Disk-Label-Typ: msdos
Minor    Start       End     Type      Dateisystem Flags
1          0.031  14998.183  primär    fat32       boot, lba
2      14998.184  22010.932  erweitert             
5      14998.214  20991.181  logisch   ext3        
6      20991.212  22010.932  logisch   linux-swap  



                
__________________________________ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]