Subject: Re: shared library botch
To: None <shanzer@security.ov.com>
From: Yeng-Chee Su <yenchee@Zeus.csie.nctu.edu.tw>
List: port-sparc
Date: 03/03/1994 15:03:16
> 	I just recently booted NetBSD on my sparc 1+, and once I got it
> 	booted I tried to rebuild all the sources so I would be running up
> 	to date executables. I rebuilt gcc, ld, and gas. Then I build all
> 	the libraries. After I did that, and installed everything, I get
> 	the following error from ld whgen ever I try and build anything:
> 
> 		"ld: No reference to __DYNAMIC"
> 
  Add -DDYNAMIC in Makefile under lib/csu/sparc and rebuild it.  It will
goes fine.  This is because you forget to link with shared library.

-- 
   ________________________________________________________________________
  /             National Chiao Tung University in Taiwan                 / \
 |  Name: Yeng-Chee Su              Dept:  Computer Engineering         |__/
 |  Phone: +886-35-783513           E-mail: yenchee@csie.nctu.edu.tw    |
 |  Address: 22, Alley 2, Lane 173, Gao Tsui Road, HsinChu, Taiwan 300  |___ 
  \______________________________________________________________________\__/

------------------------------------------------------------------------------