Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #65998 > unrolled thread
| Started by | doctor@doctor.nl2k.ab.ca (The Doctor) |
|---|---|
| First post | 2015-07-20 15:02 +0000 |
| Last post | 2015-07-27 11:47 -0700 |
| Articles | 11 — 8 participants |
Back to article view | Back to comp.lang.c
Compiler issues doctor@doctor.nl2k.ab.ca (The Doctor) - 2015-07-20 15:02 +0000
Re: Compiler issues Lőrinczy Zsigmond <nospam@for.me> - 2015-07-20 19:21 +0200
Re: Compiler issues James Kuyper <jameskuyper@verizon.net> - 2015-07-20 13:39 -0400
Re: Compiler issues Keith Thompson <kst-u@mib.org> - 2015-07-20 11:23 -0700
Re: Compiler issues jacobnavia <jacob@jacob.remcomp.fr> - 2015-07-20 21:41 +0200
Re: Compiler issues doctor@doctor.nl2k.ab.ca (The Doctor) - 2015-07-21 16:04 +0000
Re: Compiler issues jt@toerring.de (Jens Thoms Toerring) - 2015-07-21 17:13 +0000
Re: Compiler issues Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2015-07-21 11:21 -0600
Re: Compiler issues Gordon Burditt <gordon@hammy.burditt.org> - 2015-07-26 19:32 -0500
Re: Compiler issues doctor@doctor.nl2k.ab.ca (The Doctor) - 2015-07-27 04:24 +0000
Re: Compiler issues Keith Thompson <kst-u@mib.org> - 2015-07-27 11:47 -0700
| From | doctor@doctor.nl2k.ab.ca (The Doctor) |
|---|---|
| Date | 2015-07-20 15:02 +0000 |
| Subject | Compiler issues |
| Message-ID | <moj2hb$eh3$1@ns2.nl2k.ab.ca> |
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
[toc] | [next] | [standalone]
| From | Lőrinczy Zsigmond <nospam@for.me> |
|---|---|
| Date | 2015-07-20 19:21 +0200 |
| Message-ID | <mojamc$9ub$1@speranza.aioe.org> |
| In reply to | #65998 |
On 2015.07.20. 17:02, 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. Please provide some evidence, because this statement is highly unlikely.
[toc] | [prev] | [next] | [standalone]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Date | 2015-07-20 13:39 -0400 |
| Message-ID | <55AD326C.7000106@verizon.net> |
| In reply to | #65998 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Date | 2015-07-20 11:23 -0700 |
| Message-ID | <lnoaj6g024.fsf@kst-u.example.com> |
| In reply to | #65998 |
doctor@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) kst-u@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"
[toc] | [prev] | [next] | [standalone]
| From | jacobnavia <jacob@jacob.remcomp.fr> |
|---|---|
| Date | 2015-07-20 21:41 +0200 |
| Message-ID | <mojiqj$8a1$1@dont-email.me> |
| In reply to | #65998 |
Le 20/07/2015 17:02, The Doctor a écrit : > 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? > Beware of coincidences! gmake -j <number> makes <number> of parallel compiling threads with different files Once gmake finishes nothing has changed, the C compiler can't be affected, etc etc. This is just a coincidence and you should look for the error elsewhere
[toc] | [prev] | [next] | [standalone]
| From | doctor@doctor.nl2k.ab.ca (The Doctor) |
|---|---|
| Date | 2015-07-21 16:04 +0000 |
| Message-ID | <molqiv$lp4$1@ns2.nl2k.ab.ca> |
| In reply to | #66049 |
In article <mojiqj$8a1$1@dont-email.me>, jacobnavia <jacob@jacob.remcomp.fr> wrote: >Le 20/07/2015 17:02, The Doctor a écrit : >> 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? >> >Beware of coincidences! > >gmake -j <number> >makes <number> of parallel compiling threads with different files > >Once gmake finishes nothing has changed, the C compiler can't be >affected, etc etc. > >This is just a coincidence and you should look for the error elsewhere Well this morning comipling Exim 4.86 RC5 I got 2015-07-21 09:13:17 Exim configuration error in line 763 of /usr/exim/configure.out: "routers" is not a known configuration section name Did not happen in RC4. Just an exmaple. -- 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
[toc] | [prev] | [next] | [standalone]
| From | jt@toerring.de (Jens Thoms Toerring) |
|---|---|
| Date | 2015-07-21 17:13 +0000 |
| Message-ID | <d17ctmF3n60U1@mid.uni-berlin.de> |
| In reply to | #66112 |
The Doctor <doctor@doctor.nl2k.ab.ca> wrote:
> In article <mojiqj$8a1$1@dont-email.me>,
> jacobnavia <jacob@jacob.remcomp.fr> wrote:
> >This is just a coincidence and you should look for the error elsewhere
> Well this morning comipling Exim 4.86 RC5 I got
> 2015-07-21 09:13:17 Exim configuration error in line 763 of /usr/exim/configure.out:
> "routers" is not a known configuration section name
> Did not happen in RC4.
> Just an exmaple.
And what got this to do with the compiler? That's not a compiler
error message, nor would I assume that a file named configure.out
would contain any error messages from a compiler. Looks more like
the output from some 'configure' script, which is run before the
compiler ever gets invoked.
Of course, if you run 'gmake' on some unknown makefile all
kind of things could happen, depending of what's the con-
tent of the makefile. A makefile is just a file with of
commands to execute (not necessarily always starting a
compiler, mind you), so running 'gmake' (with or without
-j) on some unkown makefile is not much different to running
some script or program you don't know what it's going to do.
I could easily write a makefile that does nothing but wiping
the whole system, given the necessary privileges (it's just 2
lines;-) So, keep in mind that 'make' isn't the compiler, it's
just a kind of scripting language that often is used to start
the compiler when a project consisting of several source files
has to be build (beside lots of other things).
And the '-j' option (followed by a number) just tells make to
try to use as many processes as that number (if possible) to do
what's in the makefile. I use it all the time since it allows
to use all the cores for compiling stuff in parallel and thus
it shortens the time to build something more complex, and I've
never had any issues.
Regards, Jens
--
\ Jens Thoms Toerring ___ jt@toerring.de
\__________________________ http://toerring.de
[toc] | [prev] | [next] | [standalone]
| From | Joe Pfeiffer <pfeiffer@cs.nmsu.edu> |
|---|---|
| Date | 2015-07-21 11:21 -0600 |
| Message-ID | <1b8ua9s9yn.fsf@pfeifferfamily.net> |
| In reply to | #66112 |
doctor@doctor.nl2k.ab.ca (The Doctor) writes: > In article <mojiqj$8a1$1@dont-email.me>, > jacobnavia <jacob@jacob.remcomp.fr> wrote: >>Le 20/07/2015 17:02, The Doctor a écrit : >>> 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? >>> >>Beware of coincidences! >> >>gmake -j <number> >>makes <number> of parallel compiling threads with different files >> >>Once gmake finishes nothing has changed, the C compiler can't be >>affected, etc etc. >> >>This is just a coincidence and you should look for the error elsewhere > > Well this morning comipling Exim 4.86 RC5 I got > > 2015-07-21 09:13:17 Exim configuration error in line 763 of > /usr/exim/configure.out: > "routers" is not a known configuration section name > > Did not happen in RC4. > > Just an exmaple. While I don't know what's wrong with your system, I simply cannot conceive of any way typing 'gmake -j' at some point in the past could cause the code in readconf.c to misbehave the way you're describing (nor any other way, when it comes down to it). You need to be looking for your problem elsewhere. RC5 only does what you're describing on the one messed-up system?
[toc] | [prev] | [next] | [standalone]
| From | Gordon Burditt <gordon@hammy.burditt.org> |
|---|---|
| Date | 2015-07-26 19:32 -0500 |
| Message-ID | <t_GdnTfVpp604SjInZ2dnUU7-budnZ2d@posted.internetamerica> |
| In reply to | #65998 |
> 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.
[toc] | [prev] | [next] | [standalone]
| From | doctor@doctor.nl2k.ab.ca (The Doctor) |
|---|---|
| Date | 2015-07-27 04:24 +0000 |
| Message-ID | <mp4bpf$rl3$1@ns2.nl2k.ab.ca> |
| In reply to | #66432 |
In article <t_GdnTfVpp604SjInZ2dnUU7-budnZ2d@posted.internetamerica>,
Gordon Burditt <gordon@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.
--
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
[toc] | [prev] | [next] | [standalone]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Date | 2015-07-27 11:47 -0700 |
| Message-ID | <lnsi89o2sm.fsf@kst-u.example.com> |
| In reply to | #66435 |
doctor@doctor.nl2k.ab.ca (The Doctor) writes:
> In article <t_GdnTfVpp604SjInZ2dnUU7-budnZ2d@posted.internetamerica>,
> Gordon Burditt <gordon@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++.
--
Keith Thompson (The_Other_Keith) kst-u@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"
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.c
csiph-web