make: circular dependency for Modules/signalmodule.o

Neal Norwitz nnorwitz at gmail.com
Wed Oct 19 00:41:23 EDT 2005


James Buchanan wrote:
> Hi group,
>
> I'm preparing Python 2.4.2 for the upcoming Minix 3.x release, and I
> have problems with make.  configure runs fine and creates the makefile,
> but right at the end ends with an error about a circular dependency in
> Modules/signalmodule.o.

I've never heard of this problem.  The Makefile is generated by
configure so this is possibly a configure issue.  In my (generated)
Makefile, signalmodule.o is listed in MODOBJS, but not in SIGNAL_OBJS.
Maybe your signalmodule.o is listed in both?

Search through the Makefile for signalmodule and see what you can find.

Mine has two long lines for the rules which cause signalmodule.c to be
compiled.

Modules/signalmodule.o: $(srcdir)/Modules/signalmodule.c; $(CC)
$(PY_CFLAGS) -c $(srcdir)/Modules/signalmodule.c -o
Modules/signalmodule.o

Modules/signalmodule$(SO):  Modules/signalmodule.o; $(LDSHARED)
Modules/signalmodule.o -o Modules/signalmodule$(SO)

Good luck,
n




More information about the Python-list mailing list