Bug 4125 - Makefile error: don't know how to make dynconfig.o param/loadparm.o param/parms.o lib/sharesec.o
Makefile error: don't know how to make dynconfig.o param/loadparm.o param/par...
Status: RESOLVED WORKSFORME
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.23c
x86 Other
: P3 regression
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-25 19:23 UTC by Larry Manulak
Modified: 2007-04-03 23:29 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Manulak 2006-09-25 19:23:55 UTC
OS: SCO Openserver 5.0.7
gcc 2.95.3p4
using SCO's make
(whence make -> /bin/make)

I get this error:
don't know how to make dynconfig.o param/loadparm.o param/parms.o lib/sharesec.o (bu42)

Some context:
$make FLAGS2="-DPATH_MAX=_POSIX_PATH_MAX -DMAXPATHLEN=_POSIX_PATH_MAX" 1>foo 2>&1
#the redirect was for the last attempt to get the messages into a file.
#the last part of that file is:
------------------
Compiling libsmb/spnego.c
Linking bin/ntlm_auth
Compiling utils/smbcquotas.c
Linking bin/smbcquotas
Compiling utils/eventlogadm.c
Linking bin/eventlogadm
don't know how to make dynconfig.o param/loadparm.o param/params.o lib/sharesec.o (bu42).
------------------

If I understand that correctly, the relevant part of the Makefile is:
------------------
bin/smbcquotas: $(SMBCQUOTAS_OBJ) $(POPT_OBJS) bin/.dummy
	@echo Linking $@
	@$(CC) $(FLAGS)  -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) $(POPT_OBJS) $(KRB5LIBS) $(LDAP_LIBS)

bin/eventlogadm: $(EVTLOGADM_OBJ) $(POPT_OBJS) bin/.dummy
	@echo Linking $@
	@$(CC) $(FLAGS)  -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) $(POPT_OBJS)

bin/locktest: $(LOCKTEST_OBJ) bin/.dummy
	@echo Linking $@
	@$(CC) $(FLAGS)  -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) $(KRB5LIBS) $(LDAP_LIBS)

bin/nsstest: $(NSSTEST_OBJ) bin/.dummy
	@echo Linking $@
	@$(CC) $(FLAGS)  -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) $(KRB5LIBS)  $(LDAP_LIBS)
------------------

and the target was bin/locktest when the error occurred. As confirmation, bin/eventlogadm exists but bin/locktest does not.

Larry Manulak
Omega Computer Services Ltd.
Comment 1 Larry Manulak 2006-09-26 16:45:27 UTC
Using gmake (GNU Make 3.80) there were no errors.
Comment 2 Gerald (Jerry) Carter 2007-04-03 23:29:48 UTC
Closing.  User says gmake is a workaround.