Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compiler issues

77 views
Skip to first unread message

The Doctor

unread,
Jul 20, 2015, 11:02:26 AM7/20/15
to
Got a weird, maybe some gurus might be able to help me out.

By mistake I tpe gmke -j .

Gmake being gnu make.

since then on one system, the C compiler has not beeing working properly.

Test errors, programmes not seeing the correct data,
socket not starting ...


What can I do to rectify this situation?
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Abuse a man unjustly, and you will make friends for him. -Edgar Watson Howe

James Kuyper

unread,
Jul 20, 2015, 1:40:14 PM7/20/15
to
On 07/20/2015 11:02 AM, The Doctor wrote:
> Got a weird, maybe some gurus might be able to help me out.
>
> By mistake I tpe gmke -j .
>
> Gmake being gnu make.
>
> since then on one system, the C compiler has not beeing working properly.
>
> Test errors, programmes not seeing the correct data,
> socket not starting ...
>
>
> What can I do to rectify this situation?

The -j option should only directly affect the files created by the run
of gmake where you used that option. The effect might propagate to other
things that were built using one of those files. If you erase all such
files, and start over again, any problem actually related to your use of
the -j option should disappear.

I strongly suspect that many, if not all, of the symptoms you describe
had nothing to do with your use of the -j option - there's no obvious
reason why they should. If I'm right about that, you can expect those
symptoms to continue occurring until you track down and correct the
actual cause of those problems.

Keith Thompson

unread,
Jul 20, 2015, 2:24:09 PM7/20/15
to
doc...@doctor.nl2k.ab.ca (The Doctor) writes:
> Got a weird, maybe some gurus might be able to help me out.
>
> By mistake I tpe gmke -j .
>
> Gmake being gnu make.

I presume you mean that you typed "gmake -j". I don't usually complain
about typos, but these make your question difficult to read.

> since then on one system, the C compiler has not beeing working properly.
>
> Test errors, programmes not seeing the correct data,
> socket not starting ...
>
>
> What can I do to rectify this situation?

The "make" command will execute whatever commands are specified in the
default Makefile. Those commands will have whatever effect they would
have if you typed them at a shell prompt. Without knowing what's in
your Makefile, it's impossible to know what your "gmake -j" command has
done.

There's a convention for Makefiles to have a "clean" target which will
remove any generated files. It's possible that typing "gmake clean"
will undo whatever damage you've done. I accept no responsibility for
any consequences, which again are entirely dependent on the contents of
the Makefile.

(The default makefile may or may not be called "Makefile". Consult the
documentation for details.)

--
Keith Thompson (The_Other_Keith) ks...@mib.org <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"

Gordon Burditt

unread,
Jul 26, 2015, 8:32:55 PM7/26/15
to
> Got a weird, maybe some gurus might be able to help me out.
>
> By mistake I tpe gmke -j .

Do you have a program called gmke? ("which gmke" might help here,
although it may not deal with unconventional shell builtins). Is it
by any chance a symbolic link to code_red_virus?

> since then on one system, the C compiler has not beeing working properly.

How can you tell?

> Test errors, programmes not seeing the correct data,
> socket not starting ...
>
>
> What can I do to rectify this situation?

Rebooting the system and/or cycling power on it might help.

The Doctor

unread,
Jul 27, 2015, 12:24:32 AM7/27/15
to
In article <t_GdnTfVpp604SjI...@posted.internetamerica>,
Power cycles, reboots nor resets have not helped.

Keith Thompson

unread,
Jul 27, 2015, 2:47:46 PM7/27/15
to
doc...@doctor.nl2k.ab.ca (The Doctor) writes:
> In article <t_GdnTfVpp604SjI...@posted.internetamerica>,
> Gordon Burditt <gor...@hammy.burditt.org> wrote:
>>> Got a weird, maybe some gurus might be able to help me out.
>>>
>>> By mistake I tpe gmke -j .
>>
>>Do you have a program called gmke? ("which gmke" might help here,
>>although it may not deal with unconventional shell builtins). Is it
>>by any chance a symbolic link to code_red_virus?
>>
>>> since then on one system, the C compiler has not beeing working properly.
>>
>>How can you tell?
>>
>>> Test errors, programmes not seeing the correct data,
>>> socket not starting ...
>>>
>>>
>>> What can I do to rectify this situation?
>>
>>Rebooting the system and/or cycling power on it might help.
>
> Power cycles, reboots nor resets have not helped.

You simply haven't provided enough information to guess what the cause
or solution of the problem might be.

Did you really type "gmke -j", or was that a typo for "gmake -j"?

If the latter, it will execute the commands specified in your Makefile,
possibly in parallel. Those commands could do quite literally anything,
and you haven't given us a hint what the Makefile looks like.

You've also been vague about what "the C compiler has not beeing working
properly" means. You haven't even told us which C compiler you're
using.

In any case, this doesn't look like a question about the C language,
which is what we discuss here -- and I don't know why you cross-posted
to comp.lang.c++.
0 new messages