problem building under x86 Solaris 7
Jon Bernard
jonbernard at iname.com
Tue Dec 21 11:44:19 CET 1999
I get the following error with make and GNU make while building
arla-0.29.2:
ld -r -o ./xfs xfs_deb.o xfs_common.o xfs_dev.o xfs_message.o xfs_node.o
xfs_syscalls.o xfs_vfsops.o xfs_vnodeops.o xfs_wrap.o
ld: fatal: file ./xfs: cannot open file: Is a directory
gmake[2]: *** [xfs] Error 1
gmake[2]: Leaving directory `/tmp/arla-0.29.2/xfs/solaris'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/tmp/arla-0.29.2/xfs'
gmake: *** [all] Error 1
I modified configure and xfs/solaris/Makefile.in, then did
mkdir xfs/solaris/include
mv xfs/solaris/xfs xfs/solaris/include/
and then it built without further ado (though I've yet to use it).
$ diff -c configure.orig configure
*** configure.orig Tue Dec 21 00:27:05 1999
--- configure Tue Dec 21 00:27:28 1999
***************
*** 2810,2816 ****
echo "$ac_t""SunOS 4.1.x" 1>&6
;;
solaris*)
! KERNEL_INCLUDE=-I`(cd $srcdir; pwd)`/xfs/solaris
KERNEL_SRCS='solaris-subr.c'
KERNEL_HDRS=''
XFS_SUBDIR=solaris
--- 2810,2816 ----
echo "$ac_t""SunOS 4.1.x" 1>&6
;;
solaris*)
! KERNEL_INCLUDE=-I`(cd $srcdir; pwd)`/xfs/solaris/include
KERNEL_SRCS='solaris-subr.c'
KERNEL_HDRS=''
XFS_SUBDIR=solaris
$ diff -c xfs/solaris/Makefile.in.orig xfs/solaris/Makefile.in
*** xfs/solaris/Makefile.in.orig Tue Dec 21 00:31:37 1999
--- xfs/solaris/Makefile.in Tue Dec 21 00:32:38 1999
***************
*** 18,24 ****
exec_prefix = @exec_prefix@
libexecdir = @libexecdir@
! INCLUDES = -I. -I$(srcdir) \
-I../../include -I$(srcdir)/../../include \
-I$(srcdir)/../include
DEFS = @DEFS@ @KERNEL_CFLAGS@ -DDEBUG
--- 18,24 ----
exec_prefix = @exec_prefix@
libexecdir = @libexecdir@
! INCLUDES = -I. -I$(srcdir)/include \
-I../../include -I$(srcdir)/../../include \
-I$(srcdir)/../include
DEFS = @DEFS@ @KERNEL_CFLAGS@ -DDEBUG
--
Jon Bernard
More information about the Arla-drinkers
mailing list