mchan@mot.com (Martina Chan) (04/27/91)
I recently upgraded my SUN3/80 from SUN OS 4.0.3 to 4.1.1 and when I tried to recompile Kerberos, I ended up with the following : cc -O -I.././include -I../util/ss -DBSD42 -DATHENA_COMPAT -DATHENA -DKERBEROS -D VFS -DNDBM -o kpasswd kpasswd.o .././util/et/libcom_err.a .././lib/kadm/libka dm.a .././lib/krb/libkrb.a .././lib/des/libdes.a cc -O -I.././include -I../util/ss -DBSD42 -DATHENA_COMPAT -DATHENA -DKERBEROS -D VFS -DNDBM -target sun3 -c kadmin.c ././util/ss/make_commands kadmin_cmds.ct ld: cmd11000.z: ld: can't mixed -r with -Bstatic or -A flag cp: /tmp/cmd11000.o: No such file or directory chmod: kadmin_cmds.o: No such file or directory cc -O -I.././include -I../util/ss -DBSD42 -DATHENA_COMPAT -DATHENA -DKERBEROS -D VFS -DNDBM -o kadmin kadmin.o kadmin_cmds.o .././util/ss/libss.a .././util/et /libcom_err.a .././lib/kadm/libkadm.a .././lib/krb/libkrb.a .././lib/des/libdes. a ld: kadmin_cmds.o: No such file or directory *** Error code 4 make: Fatal error: Command failed for target `kadmin' Current working directory /usr3/testobj/kadmin *** Error code 1 make: Fatal error: Command failed for target `all' Current working directory /usr3/testobj *** Error code 1 make: Fatal error: Command failed for target `world' I did not change any other config files and the code compiled with no problem under 4.0.3. With SUN 4.1.1, 95% of the code did compile and I wonder if I need any patch to get this going. Did anyone get it compiled without problems ? Please let me know! Thanks a lot! Regards, Martina Chan Martina Chan Tel. # 708-576-1957 email: mchan@mot.com
Raeburn@MIT.EDU (Ken Raeburn) (04/27/91)
Edit the make_commands sources to short-cut the "ld" step. It isn't necessary, and isn't present in later versions of the program.