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


Groups > comp.lang.c > #68870

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 15:46 +0000
Organization Freie Universitaet Berlin
Message-ID <d4lvhtFs8b0U1@mid.uni-berlin.de> (permalink)
References <3a1bd0dc-f81d-4027-8331-e05847bd6513@googlegroups.com> <c535e3dd-f6ca-4020-9dce-f943e4fe3c6f@googlegroups.com> <ms4dde$ekn$1@news.albasani.net>

Show all headers | View raw


Clark Smith <noaddress@nowhere.net> wrote:
> On Tue, 01 Sep 2015 07:32:04 -0700, fl wrote:
> > On Tuesday, September 1, 2015 at 9:47:10 AM UTC-4, fl wrote:
> > Excuse me, the above message should be:
> > ..............................
> > u6j@u6j-7696:~/20134-Floating/sd-src/build$ make [  0%] Generating
> > math/arch/arm/flib-mathi32-arm.s /bin/sh: 1:
> > ../../../common-flib/src/math/arch/arm/flib-mathi32-arm.s: Permission
> > denied make[2]: *** [common-flib/src/math/arch/arm/flib-mathi32-arm.s]
> > Error 126 make[1]: *** [common-flib/src/CMakeFiles/flib.dir/all] Error 2
> > make: *** [all] Error 2 .........
> > It is really puzzling why it needs permission.
> > The computer is a Ubuntu Linux, 32-bit. The project is a cross-compiling
> > to ARM. Thanks,

>         What I find puzzling is why is the makefile trying to execute 
> what seems to be an assembly language source file. Since it is generated 
> by the makefile, it would seem that the expectation is to create an 
> executable from this file, and then execute it.

Without more information it's impossible to know what's happening
there. It might also be possible that creating the '.s' file fails
because of missing permissions to write to the target directory.
I've read somewhere that starting make with

   make VERBOSE=1

may increase the amout of information output considerably - perhaps
that would give a clearer picture. But the OP should really consider
asking that kind of questions in a group or forum that actually is
about cmake, comp.lang.c is definitely not the place to look for
information about tools that might be used in compiling code.

                               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