Building 2.2.8a with spinlocks

Joe Meslovich joe at
Mon Apr 7 16:15:41 GMT 2003

I am trying to compile 2.2.8a on Solaris 8. In the past I have had to add
-lrt to the libs to get it to compile properly. This time I also had to
edit the following set of lines in the Makefile:

bin/tdbbackup: $(TDBBACKUP_OBJ) bin/.dummy
        @echo Linking $@
        @$(CC) $(FLAGS) -o $@ $(TDBBACKUP_OBJ)

I had to add -lrt at the end of "@$(CC) $(FLAGS) -o $@ $(TDBBACKUP_OBJ)"
for it to build. Otherwise it complained that nanosleep in spinlock.o was
not referenced.


Joe Meslovich						joe at
Associate Network/Systems Engineer	                IT Center
Tel: (540) 828 - 5343

More information about the samba-technical mailing list