From: Takis P. <tak...@gm...> - 2009-07-11 10:36:59
|
2009/7/11 Takis Peppas <tak...@gm...> > > Thank you for the immediate replies, > > installing e2fslibs-dev took care of the configure task (./configure --enable-static --disable-transselinux), but I get the attached error when make.. > > By the way I was really surprised when realized that dump/restore are not part of the linux core. They have saved my a,, many times in BSD. > > All the best, > Takis > > > make[1]: Entering directory `/home/takis/dump-0.4b42/dump' > gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL -g -O2 -pipe -I.. -I../compat/include -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/usr/local/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b42\" itime.c -o itime.o > gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL -g -O2 -pipe -I.. -I../compat/include -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/usr/local/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b42\" main.c -o main.o > gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL -g -O2 -pipe -I.. -I../compat/include -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/usr/local/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b42\" optr.c -o optr.o > gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL -g -O2 -pipe -I.. -I../compat/include -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/usr/local/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b42\" tape.c -o tape.o > gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL -g -O2 -pipe -I.. -I../compat/include -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/usr/local/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b42\" traverse.c -o traverse.o > gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL -g -O2 -pipe -I.. -I../compat/include -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/usr/local/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b42\" unctime.c -o unctime.o > gcc -static -o dump itime.o main.o optr.o tape.o traverse.o unctime.o ../common/dumprmt.o -L../compat/lib -lcompat -lext2fs -lcom_err -lblkid -luuid -ldevmapper -lselinux -lsepol > optr.o: In function `set_operators': > /home/takis/dump-0.4b42/dump/optr.c:211: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > /home/takis/dump-0.4b42/dump/optr.c:212: warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > ../common/dumprmt.o: In function `rmtgetconn': > /home/takis/dump-0.4b42/common/dumprmt.c:189: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > /home/takis/dump-0.4b42/common/dumprmt.c:178: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libc.a(rcmd.o): In function `__validuser2_sa': > (.text+0x447): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libcom_err.a(error_message.o): In function `et_list_unlock': > (.text+0x1b0): undefined reference to `sem_post' > /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libcom_err.a(error_message.o): In function `fini_et_lock': > (.text+0x1ce): undefined reference to `sem_destroy' > /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libcom_err.a(error_message.o): In function `setup_et_lock': > (.text+0x1fe): undefined reference to `sem_init' > /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libcom_err.a(error_message.o): In function `et_list_lock': > (.text+0x22d): undefined reference to `sem_wait' > collect2: ld returned 1 exit status > make[1]: *** [dump] Error 1 > make[1]: Leaving directory `/home/takis/dump-0.4b42/dump' > make: *** [all] Error 1 > root@dovey:~/dump-0.4b42# > > > > 2009/7/11 Tony Nelson <ton...@ge...> >> >> On 09-07-10 16:51:21, Kenneth Porter wrote: >> > --On Friday, July 10, 2009 11:24 PM +0300 Takis Peppas >> > <tak...@gm...> wrote: >> >> > > I'm trying to compile dump-0.4b42.tar.gz <http://sourceforge.net/ >> > > projects/dump/files/dump/dump-0.4b42.tar.gz/download> after >> > > imstalling (make install and make install-libs) the >> > > e2fsprogs-1.41.7.tar.gz >> > > <http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/ >> > > e2fsprogs-1.41.7.tar.gz/download> and this is the output of >> > > ./configure: >> ... >> > > checking for ext2fs/ext2fs.h... yes >> > > checking for ext2fs_open in -lext2fs... no >> > > configure: error: You need to install the Ext2fs libraries from the >> > > E2fsprogs distribution first - hint: make install-libs >> >> > I'm not familiar with how Ubuntu packages (I use a Red Hat derivative >> > that uses RPM packages), but check with your Ubuntu source to see how >> > to install e2fsprogs. That's needed by dump. >> >> He did install e2fsprogs with `make install-libs`, and its header was >> found but not the library (I think). If he looks at dump's config.log >> or ./configure he may find out where the library is expected to be. >> >> -- >> ____________________________________________________________________ >> TonyN.:' <mailto:ton...@ge...> >> ' <http://www.georgeanelson.com/> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> Dump-users mailing list >> Dum...@li... >> https://lists.sourceforge.net/lists/listinfo/dump-users > |