Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #68884

Re: How to debug this make error?

From jt@toerring.de (Jens Thoms Toerring)
Newsgroups comp.lang.c
Subject Re: How to debug this make error?
Date 2015-09-01 17:08 +0000
Organization Freie Universitaet Berlin
Message-ID <d4m4ceFs8b0U3@mid.uni-berlin.de> (permalink)
References <3a1bd0dc-f81d-4027-8331-e05847bd6513@googlegroups.com> <c535e3dd-f6ca-4020-9dce-f943e4fe3c6f@googlegroups.com> <10954e1b-744f-45cc-abac-95353fa5ae04@googlegroups.com>

Show all headers | View raw


Malcolm McLean <malcolm.mclean5@btinternet.com> wrote:
> Very odd.
> It looks like the makefile is generating an assembly file on the fly, then
> calling the shell interpreter on it. Naturally there shell interpreter
> refuses to execute the script.
> However makefiles are very difficult to correct. It's unlikely to be coding
> the invocation of sh in any obvious way, and it's not clear what it really
> wants to achieve.

That Makefile obviously was created by cmake, so it's the
input files for cmake that should be looked at, not the
resulting Makefile. And one not so uncommon mistake new
users of cmake tend to make is trying to run cmake and
build in the source directory, even though this strongly
discouraged. This can have really weird results...

                             Regards, Jens
-- 
  \   Jens Thoms Toerring  ___      jt@toerring.de
   \__________________________      http://toerring.de

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to debug this make error? fl <rxjwg98@gmail.com> - 2015-09-01 06:46 -0700
  Re: How to debug this make error? fl <rxjwg98@gmail.com> - 2015-09-01 07:32 -0700
    Re: How to debug this make error? Clark Smith <noaddress@nowhere.net> - 2015-09-01 14:40 +0000
      Re: How to debug this make error? jt@toerring.de (Jens Thoms Toerring) - 2015-09-01 15:46 +0000
    Re: How to debug this make error? Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-09-01 09:37 -0700
      Re: How to debug this make error? jt@toerring.de (Jens Thoms Toerring) - 2015-09-01 17:08 +0000
  Re: How to debug this make error? fl <rxjwg98@gmail.com> - 2015-09-01 08:58 -0700
    Re: How to debug this make error? gordonb.uddfm@burditt.org (Gordon Burditt) - 2015-09-02 00:44 -0500
  Re: How to debug this make error? Keith Thompson <kst-u@mib.org> - 2015-09-01 09:23 -0700
  Re: How to debug this make error? Lőrinczy Zsigmond <zsiga@nospam.for.me> - 2015-09-01 18:44 +0200
  Re: How to debug this make error? fl <rxjwg98@gmail.com> - 2015-09-01 11:17 -0700

csiph-web