arla & freebsd 5.x

Mark Ogden ogden at eng.utah.edu
Fri Jan 2 00:38:02 CET 2004


Yes I seem to have the ablity to find many strange problems. 

[ogden at fatyem /usr/heimdal/lib]$ nm -o libroken.a |grep set_prog
libroken.a:setprogname.o:00000000 T set_progname

But today with the following config :

./configure --with-roken=/usr/heimdal --with-krb5=/usr/heimdal --without-krb4

I am getting this error: 
gcc -o rw rw.o  -L/root/arla-0.36pre31/lwp -llwp -L/usr/heimdal/lib -lroken -lcrypt
../ydr/ydr -I. ./fs.xg
/usr/libexec/ld-elf.so.1: Shared object "libroken.so.16" not found
*** Error code 1

Stop in /root/arla-0.36pre31/rxdef.
*** Error code 1

And yes libroken.so.16 is there in /usr/heimdal.lib

-r-xr-xr-x    1 root     wheel       70216 Dec 23 11:51 /usr/heimdal/lib/libroken.so.16

And also with this config:

./configure --without-krb4

I get this error:

gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../lib/roken
-I../lib/roken -I../include -I. -I. -I..
/include -I./../include -I.. -I./.. -I../include -Wall
-Wmissing-prototypes -Wpointer-arith -Wbad-function-ca
st -Wmissing-declarations -Wnested-externs -DINET6 -g -Wall
-Wmissing-prototypes -Wpointer-arith -Wmissing-de
clarations -Wnested-externs -c rxk_locl.c -o rxk_locl.o
In file included from rxk_locl.c:34:
rxkad_locl.h:65:17: des.h: No such file or directory
In file included from rxk_locl.c:34:
rxkad_locl.h:158: syntax error before "des_cblock"
rxkad_locl.h:172: syntax error before '*' token
rxkad_locl.h:173: warning: type defaults to `int' in declaration of
`rxkad_calc_header_iv'
rxk_locl.c:67: syntax error before '*' token
rxk_locl.c:69: warning: return type defaults to `int'
rxk_locl.c:69: warning: no previous prototype for
`rxkad_calc_header_iv'
rxk_locl.c: In function `rxkad_calc_header_iv':
rxk_locl.c:73: `conn' undeclared (first use in this function)
rxk_locl.c:73: (Each undeclared identifier is reported only once
		rxk_locl.c:73: for each function it appears in.)
rxk_locl.c:78: `in_iv' undeclared (first use in this function)
rxk_locl.c:79: `out_iv' undeclared (first use in this function)
rxk_locl.c:81: `sched' undeclared (first use in this function)
rxk_locl.c:81: `ENCRYPT' undeclared (first use in this function)
rxk_locl.c: In function `rxkad_cksum_header':
rxk_locl.c:111: `ENCRYPT' undeclared (first use in this function)
rxk_locl.c: In function `rxkad_prepare_packet':
rxk_locl.c:178: `ENCRYPT' undeclared (first use in this function)
rxk_locl.c:193: structure has no member named `key'
rxk_locl.c: In function `rxkad_check_packet':
rxk_locl.c:234: `DECRYPT' undeclared (first use in this function)
rxk_locl.c:238: structure has no member named `key'
*** Error code 1

Stop in /root/arla-0.36pre31/rxkad.
*** Error code 1

Some strange stuff going on. Again, this is with arla-0.36pre31

Thanks again for your help, many many people have said that no matter
what, arla will not build on freebsd but I refuse to give up. 

Happy New Year, Mark

Harald Barth on Thu, Jan 01, 2004 at 10:19:43PM +0100 wrote:
> > Thanks, no with --without-krb4 it does not give that error but now I
> > get the following:
> > 
> > gensysname gensysname-gensysname.o  ../../util/.libs/libarlautil.a
> > -L/usr/src/crypto/heimdal/lib -lroken -lcrypt
> > gensysname-gensysname.o: In funct
> 
> Uhm, I'm a bit impressed. You seem to have a talent of hitting quite
> unbelievable link problems ;-). So, what is your configure line and
> what where have you installed heimdal? Your output kindof implies that
> you should have a /usr/src/crypto/heimdal/lib/libroken.a containing
> set_progname like below. Alternatively the libroken from arla will
> contain set_progname, too. If you have heimdal's libroken use it,
> otherwise let arla build its own.
> 
> $ nm -o libroken.a |grep set_prog
> /usr/heimdal/lib/libroken.a:setprogname.o:00000000 T set_progname
> 
> Harald.

-- 
Mark L Ogden
ogden at eng.utah.edu






More information about the Arla-drinkers mailing list