[14627] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 8.0I: com_err

daemon@ATHENA.MIT.EDU (bdrosen@MIT.EDU)
Tue Sep 3 10:19:23 1996

From: bdrosen@MIT.EDU
To: bugs@MIT.EDU
Date: Tue, 03 Sep 1996 10:19:17 EDT

System name:		cogsworth
Type and version:	SPARC/5 8.0I (1 update(s) to same version)
Display type:		cgthree

What were you trying to do?
	Compile a zephyr program with the following command
	lines:
	add bounds
	 bgcc -o zclient zclient.c -I/usr/athena/include -L/usr/athena/lib -lzephyr -lkrb -ldes -lsocket -lnsl -lcom_err

What's wrong:
	I got the following response:

ld: fatal: symbol `com_err_hook' has differing sizes:
        (file /tmp/cca002I11.o value=0xc; file /usr/athena/lib/libcom_err.a(com_err.o) value=0x4);
        tentative symbol cannot override defined symbol of smaller size
ld: fatal: File processing errors.  No output written to zclient
	
	The same thing happens if i use libcom_err_p.a

What should have happened:
	It should have compiled and worked or at least given
	me an error message related to something wrong that
	I did.
	
	Looking at the source, code it appears that this
        may have something to do with the difference between
        a varargs.h and stdarg.h environment.

Please describe any relevant documentation references:
	/usr/athena/include/com_err.h
	an nm on /usr/athena/lib/libcom_err.a
	Man page for com_err.



home help back first fref pref prev next nref lref last post