e2fsprogs make fails

James S Johnson jsjohnson at juno.com
Tue Jun 20 16:54:52 PDT 2000


In lfs v. 2.3.3 Chapter 5 in the "Installing E2fsprogs" section the make
command fails on my box. I am running Slackware 7.0 on a 133MHz Pentium.
Along the way I did

(1) the install of gcc on my normal system into /usr/local/gcc2952 since
my normal system uses egcs 2.91.66,

(2) installed Textutils with

# ./configure --disable-nls
# make -e LDFLAGS=-static
# make -e prefix=$LFS/usr install
# mv $LFS/usr/bin/cat $LFS/bin

(3) did the "Installing Linux Kernel" section of Chapter 5 before
anything else in Chapter 5,

(4) and unzipped the .gz patch files before running patch.

Here's how make fails:

linbox:/usr/src/e2fsprogs-1.18# make
...
make[1]: Entering directory `/usr/src/e2fsprogs-1.18/misc'
cc -c  -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1
-DHAVE_ERRNO_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MNTENT_H=1 -DHAVE_PATHS_H=1
-DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SETJMP_H=1 -DHAVE_SIGNAL_H=1
-DHAVE_TERMIOS_H=1 -DHAVE_LINUX_FD_H=1 -DHAVE_LINUX_MAJOR_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_NET_IF_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_VPRINTF=1 -DSIZEOF_SHORT=2
-DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8 -DHAVE_GETRUSAGE=1
-DHAVE_LLSEEK=1 -DHAVE_STRDUP=1 -DHAVE_STRCASECMP=1 -DHAVE_SRANDOM=1
-DHAVE_FCHOWN=1 -DHAVE_MALLINFO=1 -DHAVE_INO_T=1 -DHAVE_EXT2_IOCTLS=1
-DHAVE_EXT2_INODE_VERSION=1
-g -O2  -I../lib -I../lib -I../include -I../include  mke2fs.c -o mke2fs.o
cc  -o mke2fs mke2fs.o ../lib/libext2fs.a ../lib/libcom_err.a 
../lib/libe2p.a ../lib/libuuid.a
../lib/libext2fs.a(llseek.o): In function `ext2fs_llseek':
/usr/src/e2fsprogs-1.18/lib/ext2fs/llseek.c:98: the `llseek' function may
be dangerous; use `lseek64' instead.
mke2fs.o: In function `check_plausibility':
/usr/src/e2fsprogs-1.18/misc/mke2fs.c:158: undefined reference to `MAJOR'
/usr/src/e2fsprogs-1.18/misc/mke2fs.c:158: undefined reference to `MINOR'
/usr/src/e2fsprogs-1.18/misc/mke2fs.c:158: undefined reference to `MAJOR'
/usr/src/e2fsprogs-1.18/misc/mke2fs.c:158: undefined reference to `MAJOR'
/usr/src/e2fsprogs-1.18/misc/mke2fs.c:158: undefined reference to `MAJOR'
/usr/src/e2fsprogs-1.18/misc/mke2fs.c:158: undefined reference to `MAJOR'
/usr/src/e2fsprogs-1.18/misc/mke2fs.c:158: undefined reference to `MINOR'
collect2: ld returned 1 exit status
make[1]: *** [mke2fs] Error 1
make[1]: Leaving directory `/usr/src/e2fsprogs-1.18/misc'
make: *** [all-progs-recursive] Error 1
linbox:/usr/src/e2fsprogs-1.18# 

Any ideas what I may have done wrong before this point to cause make to
fail?

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list