Avoid linking unused X11R4 shared libraries w/SunOS 4.0.3

Arthur David Olson nih-csl!elsie!ado at uunet.uu.net
Tue Jan 30 10:21:32 AEST 1990


This may well be old hat to experts; as the attached transcript shows,
you'll want to avoid linking unused shared XV11R4 libraries under SunOS
4.0.3 (at least on Sun 3's).

	Arthur David Olson   ado at alw.nih.gov   ADO is a trademark of Ampex.

Script started on Mon Jan 15 18:12:39 1990
elsie$ echo "main(){}" > try.c
elsie$ cc try.c
elsie$ a.out
elsie$ cc -Bstatic try.c
elsie$ a.out
elsie$ cc try.c -lX11
elsie$ a.out
elsie$ cc -Bstatic try.c -lX11
elsie$ a.out
elsie$ cc try.c -lXt
elsie$ a.out
>>>>	ld.so: Undefined symbol: __XtInher__
elsie$ cc -Bstatic try.c -lXt
elsie$ a.out
elsie$ exit
script done on Mon Jan 15 18:13:56 1990



More information about the Comp.sys.sun mailing list