Make 53.1 strange problem

This forum is for general developer support questions.
kas1e
Beta Tester
Beta Tester
Posts: 543
Joined: Sat Jun 18, 2011 8:56 am
Contact:

Re: Make 53.1 strange problem

Post by kas1e »

@samo79

In general, "make" is pure command. So, pure command can not works only if it can't loads (broken file or so). You can just do that:

ram:> which make
ram:> make

And see, what will happens. If after you just type make , without any sources. It should be something like:

Code: Select all

ram:> which make
Work:SDK/C/make
ram:> list Work:SDK/C/make
342008
ram:> Work:SDK/c/make
make: *** No targets specified and no makefile found. Stop.
If it will be like this, then make works. If not, and you will have your usual freeze, then time to check heavy what happens : run snoopy , and so on. Maybe your unix-kind tools borks somehow (like bash, etc). Maybe you overwrite something in system somehow. All kind of weirdos can happens.
User avatar
samo79
Posts: 580
Joined: Sat Jun 18, 2011 12:13 am
Location: Italy

Re: Make 53.1 strange problem

Post by samo79 »

@Alfkil
Alfkil wrote:What does it say if you type "which make" or "which gmake" in a shell?
The "which make" and "which gmake" command give me the path normally, however if i type "make" or "gmake" instead to have a message (or a compile output of course) i have a system freeze, more details below ..

@kas1e
kas1e wrote:In general, "make" is pure command. So, pure command can not works only if it can't loads (broken file or so). You can just do that:

ram:> which make
ram:> make
The "which make" seems fine and give me the path of when the command actually reside
So (as i have currently reinstalled the entire SDK also into another place for this test) it's currently that:

Processo: Shell 4
4.AmigaOS4:> which make
Work:SDK_2/SDK/C/make
4.AmigaOS4:>

Then at this point if i type "make" --> nothing happen and the shell does not respond anymore (Workbench will freeze aswell)
kas1e wrote:And see, what will happens. If after you just type make , without any sources. It should be something like:

Code: Select all

ram:> which make
Work:SDK/C/make
ram:> list Work:SDK/C/make
342008
ram:> Work:SDK/c/make
make: *** No targets specified and no makefile found. Stop.
Infact, typing "make" without anything should give me the "No target specified blabla" message, instead it freeze my system exactly there
kas1e wrote:If it will be like this, then make works. If not, and you will have your usual freeze, then time to check heavy what happens : run snoopy , and so on. Maybe your unix-kind tools borks somehow (like bash, etc). Maybe you overwrite something in system somehow. All kind of weirdos can happens.
Yep most probably somethings broken still on my system, here my Snoopy output, the log was taken during the entire procedure (opening the shell, typing the various command etc until the freeze)

http://www.sendspace.com/file/kzpelf
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Make 53.1 strange problem

Post by nbache »

What about stacksize?

Best regards,

Niels
User avatar
samo79
Posts: 580
Joined: Sat Jun 18, 2011 12:13 am
Location: Italy

Re: Make 53.1 strange problem

Post by samo79 »

nbache wrote:What about stacksize?

Best regards,

Niels
On the "make" icon i have this stack --> 32768
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Make 53.1 strange problem

Post by nbache »

samo79 wrote:On the "make" icon i have this stack --> 32768
That doesn't sound like very much. Try putting a zero behind it for a start.

Best regards,

Niels
User avatar
samo79
Posts: 580
Joined: Sat Jun 18, 2011 12:13 am
Location: Italy

Re: Make 53.1 strange problem

Post by samo79 »

It's the same even increasing the stack .. :roll:
At this point i wait if someone can help me understanding the (Snoopy) log, in alternative i will do a quick format !
whose
Posts: 92
Joined: Sun Sep 04, 2011 4:11 pm

Re: Make 53.1 strange problem

Post by whose »

The Snoopy log isnt telling much about "make". It tells that "make" is just running fine ;-)

The astonishing part of the log is the listing of your "AppDir:" contents. I dont know where it originates from, it follows the "make" invocation directly, but it shouldnt. To me it seems that there is another executable doing strange things with "env-handler". Might be that this leads to the "freeze" you described here. I put "freeze" in double quotes here, because there is a slight chance that this isnt a "freeze" at all, but dos.library-debug-output "hitting the brake". You should check the debug output, too (using serial connection or Sashimi). There is something strange going on with your system.
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Make 53.1 strange problem

Post by nbache »

whose wrote:The Snoopy log isnt telling much about "make". It tells that "make" is just running fine ;-)

The astonishing part of the log is the listing of your "AppDir:" contents. I dont know where it originates from, it follows the "make" invocation directly, but it shouldnt.
Isn't that just env-handler itself, setting itself up by copying everything relevant from ENVARC: to ENV:?

Not sure, but that was my thought when I saw it in his log.

Best regards,

Niels
User avatar
samo79
Posts: 580
Joined: Sat Jun 18, 2011 12:13 am
Location: Italy

Re: Make 53.1 strange problem

Post by samo79 »

@all

Well, at the end i just formatted the entire partition and i reinstalled AmigaOS from scratch, this solve the issue ;)
Thanks for the help guys :)
Post Reply