[OpenAFS-devel] latest openafs-devel-1_5_x doesn't compile

Dragos Tatulea dragos.tatulea@gmail.com
Sat, 17 Jan 2009 15:04:50 +0200


------=_Part_2090_3138167.1232197490921
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

    After doing a "cvs up && make clean && ./regen.sh && ./configure
--with-krb5-conf=/usr/bin/krb5-conf --enable-warnings --enable-debug
--enable-debug-kernel && make" I got this:
[.............]
gcc -pipe -o asetkey -g -DALLOW_REGISTER -I/mnt/afs_dev/openafs/src/config
-I. -I. -I/mnt/afs_dev/openafs/include -I/mnt/afs_dev/openafs/include/afs
-I/mnt/afs_dev/openafs/include/rx -I/mnt/afs_dev/openafs
-I/mnt/afs_dev/openafs/src -I/mnt/afs_dev/openafs/src -D_LARGEFILE64_SOURCE
-Wall -Wstrict-prototypes -Wold-style-definition  asetkey.o  -L/usr/lib
-lkrb5 -lk5crypto -lcom_err /mnt/afs_dev/openafs/lib/libprot.a
/mnt/afs_dev/openafs/lib/libubik.a /mnt/afs_dev/openafs/lib/libauth.a
/mnt/afs_dev/openafs/lib/librxkad.a /mnt/afs_dev/openafs/lib/librx.a
/mnt/afs_dev/openafs/lib/liblwp.a /mnt/afs_dev/openafs/lib/libsys.a
/mnt/afs_dev/openafs/lib/libdes.a /mnt/afs_dev/openafs/lib/libcom_err.a
/mnt/afs_dev/openafs/lib/libafsutil.a -lresolv
gcc -pipe -o klog -g -DALLOW_REGISTER -I/mnt/afs_dev/openafs/src/config -I.
-I. -I/mnt/afs_dev/openafs/include -I/mnt/afs_dev/openafs/include/afs
-I/mnt/afs_dev/openafs/include/rx -I/mnt/afs_dev/openafs
-I/mnt/afs_dev/openafs/src -I/mnt/afs_dev/openafs/src -D_LARGEFILE64_SOURCE
-Wall -Wstrict-prototypes -Wold-style-definition  skipwrap.o klog.o
-L/usr/lib -lkrb5 -lk5crypto -lcom_err /mnt/afs_dev/openafs/lib/libprot.a
/mnt/afs_dev/openafs/lib/libubik.a /mnt/afs_dev/openafs/lib/libauth.a
/mnt/afs_dev/openafs/lib/librxkad.a /mnt/afs_dev/openafs/lib/librx.a
/mnt/afs_dev/openafs/lib/liblwp.a /mnt/afs_dev/openafs/lib/libsys.a
/mnt/afs_dev/openafs/lib/libdes.a /mnt/afs_dev/openafs/lib/libcom_err.a
/mnt/afs_dev/openafs/lib/libafsutil.a \
        /mnt/afs_dev/openafs/lib/libcmd.a /mnt/afs_dev/openafs/lib/librx.a
-lresolv
/mnt/afs_dev/openafs/lib/libcmd.a(cmd.o): In function `cmd_AddParm':
/mnt/afs_dev/openafs/src/cmd/cmd.c:481: undefined reference to
`AssertionFailed'
/mnt/afs_dev/openafs/src/cmd/cmd.c:488: undefined reference to
`AssertionFailed'
/mnt/afs_dev/openafs/lib/libcmd.a(cmd.o): In function `CopyBackArgs':
/mnt/afs_dev/openafs/src/cmd/cmd.c:947: undefined reference to
`AssertionFailed'
/mnt/afs_dev/openafs/lib/libcmd.a(cmd.o): In function `cmd_ParseLine':
/mnt/afs_dev/openafs/src/cmd/cmd.c:1011: undefined reference to
`AssertionFailed'
/mnt/afs_dev/openafs/src/cmd/cmd.c:1014: undefined reference to
`AssertionFailed'
/mnt/afs_dev/openafs/lib/libcmd.a(cmd.o):/mnt/afs_dev/openafs/src/cmd/cmd.c:501:
more undefined references to `AssertionFailed' follow
collect2: ld returned 1 exit status
make[3]: *** [klog] Error 1
make[3]: Leaving directory `/mnt/afs_dev/openafs/src/aklog'
make[2]: *** [aklog] Error 2
make[2]: Leaving directory `/mnt/afs_dev/openafs'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/mnt/afs_dev/openafs'
make: *** [all] Error 2

Tried various things but couldn't fix it... Any ideas?

Thanks,
Dragos

------=_Part_2090_3138167.1232197490921
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,<br><br>&nbsp;&nbsp;&nbsp; After doing a &quot;cvs up &amp;&amp; make clean &amp;&amp; ./regen.sh &amp;&amp; ./configure --with-krb5-conf=/usr/bin/krb5-conf --enable-warnings --enable-debug --enable-debug-kernel &amp;&amp; make&quot; I got this:<br>

[.............]<br>gcc -pipe -o asetkey -g -DALLOW_REGISTER -I/mnt/afs_dev/openafs/src/config -I. -I. -I/mnt/afs_dev/openafs/include -I/mnt/afs_dev/openafs/include/afs -I/mnt/afs_dev/openafs/include/rx -I/mnt/afs_dev/openafs -I/mnt/afs_dev/openafs/src -I/mnt/afs_dev/openafs/src -D_LARGEFILE64_SOURCE -Wall -Wstrict-prototypes -Wold-style-definition&nbsp; asetkey.o&nbsp; -L/usr/lib -lkrb5 -lk5crypto -lcom_err /mnt/afs_dev/openafs/lib/libprot.a /mnt/afs_dev/openafs/lib/libubik.a /mnt/afs_dev/openafs/lib/libauth.a /mnt/afs_dev/openafs/lib/librxkad.a /mnt/afs_dev/openafs/lib/librx.a /mnt/afs_dev/openafs/lib/liblwp.a /mnt/afs_dev/openafs/lib/libsys.a /mnt/afs_dev/openafs/lib/libdes.a /mnt/afs_dev/openafs/lib/libcom_err.a /mnt/afs_dev/openafs/lib/libafsutil.a -lresolv <br>

gcc -pipe -o klog -g -DALLOW_REGISTER -I/mnt/afs_dev/openafs/src/config -I. -I. -I/mnt/afs_dev/openafs/include -I/mnt/afs_dev/openafs/include/afs -I/mnt/afs_dev/openafs/include/rx -I/mnt/afs_dev/openafs -I/mnt/afs_dev/openafs/src -I/mnt/afs_dev/openafs/src -D_LARGEFILE64_SOURCE -Wall -Wstrict-prototypes -Wold-style-definition&nbsp; skipwrap.o klog.o&nbsp; -L/usr/lib -lkrb5 -lk5crypto -lcom_err /mnt/afs_dev/openafs/lib/libprot.a /mnt/afs_dev/openafs/lib/libubik.a /mnt/afs_dev/openafs/lib/libauth.a /mnt/afs_dev/openafs/lib/librxkad.a /mnt/afs_dev/openafs/lib/librx.a /mnt/afs_dev/openafs/lib/liblwp.a /mnt/afs_dev/openafs/lib/libsys.a /mnt/afs_dev/openafs/lib/libdes.a /mnt/afs_dev/openafs/lib/libcom_err.a /mnt/afs_dev/openafs/lib/libafsutil.a \<br>

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; /mnt/afs_dev/openafs/lib/libcmd.a /mnt/afs_dev/openafs/lib/librx.a -lresolv <br>/mnt/afs_dev/openafs/lib/libcmd.a(cmd.o): In function `cmd_AddParm&#39;:<br>/mnt/afs_dev/openafs/src/cmd/cmd.c:481: undefined reference to `AssertionFailed&#39;<br>

/mnt/afs_dev/openafs/src/cmd/cmd.c:488: undefined reference to `AssertionFailed&#39;<br>/mnt/afs_dev/openafs/lib/libcmd.a(cmd.o): In function `CopyBackArgs&#39;:<br>/mnt/afs_dev/openafs/src/cmd/cmd.c:947: undefined reference to `AssertionFailed&#39;<br>

/mnt/afs_dev/openafs/lib/libcmd.a(cmd.o): In function `cmd_ParseLine&#39;:<br>/mnt/afs_dev/openafs/src/cmd/cmd.c:1011: undefined reference to `AssertionFailed&#39;<br>/mnt/afs_dev/openafs/src/cmd/cmd.c:1014: undefined reference to `AssertionFailed&#39;<br>

/mnt/afs_dev/openafs/lib/libcmd.a(cmd.o):/mnt/afs_dev/openafs/src/cmd/cmd.c:501: more undefined references to `AssertionFailed&#39; follow<br>collect2: ld returned 1 exit status<br>make[3]: *** [klog] Error 1<br>make[3]: Leaving directory `/mnt/afs_dev/openafs/src/aklog&#39;<br>

make[2]: *** [aklog] Error 2<br>make[2]: Leaving directory `/mnt/afs_dev/openafs&#39;<br>make[1]: *** [build] Error 2<br>make[1]: Leaving directory `/mnt/afs_dev/openafs&#39;<br>make: *** [all] Error 2<br><br>Tried various things but couldn&#39;t fix it... Any ideas?<br>
<br>Thanks,<br>Dragos<br>

------=_Part_2090_3138167.1232197490921--