__DYNAMIC problem fixed

Sean Mathews mathewss at nutech.com
Sat Oct 17 21:02:23 GMT 1998


 Ok i found a fix but not sure how it effects the current
stuff so someone may need to modify a .config script or something

i had to do this to my Makefile
bin/smbwrapper.so: $(PICOBJS)
        @echo Linking shared library $@
        @$(LD) -shared -Bshareable -o $@ $(PICOBJS) $(LIBS)  

i added -Bshareable

here is my os info

cloudy:source {113} uname -a 
NetBSD cloudy 1.3 NetBSD 1.3 (cloudy0197) #3: Sat Jan 17 16:10:34 PST 1998
raven at cloudy:/usr/src/sys/arch/i386/compile/cloudy0197 i386

cloudy:source {114} uptime
 1:59PM  up 230 days, 11:38, 6 users, load averages: 0.22, 0.52, 0.73

 anything else i can provide on demand..

 Regards


On Sun, 18 Oct 1998, Sean Mathews wrote:

> 
> Compiling lib/bitmap.c with -fpic
> Compiling lib/crc32.c with -fpic
> Linking shared library bin/smbwrapper.so
> ld: No reference to __DYNAMIC
> make: *** [bin/smbwrapper.so] Error 1  
> 
> just did a cvs today got this error any ideas?
> 
> 
> 
>  Regards 
>   Sean Mathews Nu Tech CTO
> 
> struct SoftwareProfessional { 
>   double salary;
>   long   lunches;
>   float  jobs;
>   char   unstable;
>   void   work;
>   short  tempers; 
> };
> 
> 
> 
> 
> 
> 




More information about the samba-ntdom mailing list