473,394 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

make: circular dependency for Modules/signalmodule.o

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'm new to makefiles and makefile rules, so I can understand what this
means, but I don't know how I can fix this problem. Looks like I'll
need to rewrite one or more makefile rules and during Minix builds add
some code to patch it up for those rules (as opposed to perhaps porting
a more capable `make` like gmake right now).

Can someone please help me make this problem go away?

Thanks!
James Buchanan

Oct 18 '05 #1
2 2021
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

Oct 19 '05 #2
Neal Norwitz wrote:
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)


Hi Neal,

Thanks very much for your tip. I've been studying makefiles to find out
exactly what all this means. It may be because the Minix make program
is less capable than gmake. gmake and other make programs can
obviously handle this. Configure might have run incorrectly or both
rules are one and the same on Minix, because there is no LDSHARED or
signalmodule$(SO). Maybe...

Still working on it, but this has narrowed it down for me, so thanks
heaps. :)

James

Oct 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: jinal jhaveri | last post by:
Hi All, I have one question regarding circular inheritance I have 3 files 1) A.py , having module A and some other modules 2) B.py having module B and some other modules 3) C.py having...
9
by: ajikoe | last post by:
Hello, I have two modules (file1.py and file2.py) Is that ok in python (without any weird implication) if my module import each other. I mean in module file1.py there exist command import file2...
4
by: Evelyne | last post by:
On a server W2K, IIS5, I have many messages from ASP : cirdular dependency between types/modules. Which can be the origin of the problem? Example : Event Type: Warning Event Source: Active...
2
by: ernesto basc?n pantoja | last post by:
Hi everybody: I'm implementing a general C++ framework and I have a basic question about circular dependencies: I am creating a base class Object, my Object class has a method defined as:...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.