Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2002 16:15:46 +0100
From:      "Petr Holub" <hopet@ics.muni.cz>
To:        <lha@stacken.kth.se>
Cc:        <arla-drinkers@stacken.kth.se>, <current@freebsd.org>
Subject:   arla 0.35.11 on FreeBSD 5.0-RC1
Message-ID:  <000001c2a44c$d7de6020$5303fb93@kloboucek>

next in thread | raw e-mail | index | archive | help
Hi,

I tried to compile arla 0.35.11 on FreeBSD 5.0-RC1. Fisrt I got
following error:

checking for udev2dev in kernel... yes
checking for snprintf in kernel... yes
checking for nosys in kernel... yes
checking for sys_nosys in kernel... no
checking for sys_lkmnosys in kernel... no
checking for cache_purgevfs in kernel... yes
checking for vfs_name_hash in kernel... no
checking for memcpy in kernel... yes
checking if vnode_if.h needs to be built... configure: error: unable to find any vnode_if script

So I have linked
-su-2.05b# ln -s /sys/i386/compile/EVENSTAR/vnode_if.h /usr/include/vnode_if.h

Then configre and make proceeds until it stops on error shown
below my siganture. Can anybody help?

Thanks very much,
Petr

PS: I know I'm sendin almost the same mail as last time but it's
quite important for me to get it solved.

================================================================
                            Petr Holub
CESNET z.s.p.o.                       Supercomputing Center Brno
Zikova 4                             Institute of Compt. Science
160 00 Praha 6, CZ                            Masaryk University
Czech Republic                     Botanicka 68a, 60200 Brno, CZ 
e-mail: Petr.Holub@cesnet.cz              phone: +420-5-41512213
                                       e-mail: hopet@ics.muni.cz  
 

SUBDIRS='bsd';  for i in $SUBDIRS;  do (cd $i && make   all); done
for i in /usr/include/sys/vnode_if.h vnode_if.h; do  if test -r $i; then  awk 
^struct vop_[a-z]*_args/ { printf("#define HAVE_%s 1\n", toupper(substr($2,1,l
gth($2)-5))); }' $i > xfs_vopdefs.h;  break;  fi;  done
mkdir xfs
mkdir: xfs: File exists
*** Error code 1 (ignored)
test -d xfs && ( test -f xfs/xfs_vopdefs.h || ln -s ../xfs_vopdefs.h xfs/xfs_v
defs.h )
touch stamp-xfs_vopdefs.h
gcc -c  -DHAVE_CONFIG_H -I. -I.  -I../../include -I./../../include  -I./../inc
de  -I/usr/athena/include -DXFS_DEBUG -DINET6 -g  -Wall -Wmissing-prototypes -
ointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O   
KERNEL -D_KERNEL -DVFS_KLD -DKLD_MODULE -I/sys/arch -I/sys -I. -Wno-unused xfs
eb.c
gcc -c  -DHAVE_CONFIG_H -I. -I.  -I../../include -I./../../include  -I./../inc
de  -I/usr/athena/include -DXFS_DEBUG -DINET6 -g  -Wall -Wmissing-prototypes -
ointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O   
KERNEL -D_KERNEL -DVFS_KLD -DKLD_MODULE -I/sys/arch -I/sys -I. -Wno-unused xfs
essage.c
In file included from /sys/sys/systm.h:45,
                 from xfs/xfs_locl.h:137,
                 from xfs_message.c:34:
/usr/include/machine/atomic.h: In function `atomic_load_acq_ptr':
/usr/include/machine/atomic.h:371: warning: cast does not match function type
In file included from xfs/xfs_locl.h:137,
                 from xfs_message.c:34:
/sys/sys/systm.h: At top level:
/sys/sys/systm.h:171: warning: built-in function `bzero' declared as non-funct
n
In file included from xfs_message.c:34:
xfs/xfs_locl.h:291:29: xfs/xfs_vopdefs.h: No such file or directory
xfs_message.c: In function `xfs_message_installroot':
xfs_message.c:67: structure has no member named `v_flag'
xfs_message.c:67: `VROOT' undeclared (first use in this function)
xfs_message.c:67: (Each undeclared identifier is reported only once
xfs_message.c:67: for each function it appears in.)
xfs_message.c: In function `xfs_message_installnode':
xfs_message.c:92: warning: passing arg 3 of `vget' from incompatible pointer t
e
xfs_message.c: In function `xfs_message_installdata':
xfs_message.c:174: warning: passing arg 3 of `vget' from incompatible pointer 
pe
xfs_message.c:195: warning: passing arg 6 of `NDINIT' from incompatible pointe
type
xfs_message.c:202: warning: passing arg 3 of `VOP_UNLOCK' from incompatible po
ter type
xfs_message.c: In function `xfs_message_invalidnode':
xfs_message.c:320: warning: passing arg 3 of `vrecycle' from incompatible poin
r type
xfs_message.c: In function `gc_vnode':
xfs_message.c:428: warning: implicit declaration of function `simple_lock'
xfs_message.c:443: warning: implicit declaration of function `simple_unlock'
*** Error code 1

Stop in /usr/tmp/ics/arla-0.35.11/xfs/bsd.
*** Error code 1

Stop in /usr/tmp/ics/arla-0.35.11/xfs.
*** Error code 1

Stop in /usr/tmp/ics/arla-0.35.11.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c2a44c$d7de6020$5303fb93>