Re: Building with make 3.81 final?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Building with make 3.81 final?

Albert Chin-43
Peter Weilbacher <[hidden email]> wrote:

> When I try to build with make 3.81 final (before I was using make 3.81
> beta3) I get weird errors with $PWD concatenated to $srcdir or $VPATH on
> the GCC command line. Like this
>
>   make.exe[3]: Entering directory `m:/trunk/ff_debug/nsprpub'
>   cd config; G:/Mozilla/Compile/MOZTOOLS/make.exe -j1 export
>   make.exe[4]: Entering directory `m:/trunk/ff_debug/nsprpub/config'
>   gcc -o now.o -c      -pipe -Wall -Zomf -g -fno-inline   -UNDEBUG -DDEBUG_peter -Uunix -U__unix -U__unix__   -DMOZILLA_CLIENT=1  -DDEBUG=1 -DXP_OS2=1  -DXP_PC=1 -DBSD_SELECT=1  -DTCPV40HDRS=1  -DXP_OS2_EMX=1  -DOS2=1  -DHAVE_STRERROR=1   -DFORCE_PR_LOG    -pipe -Wall -Zomf -g -fno-inline  m:/trunk/ff_debug/nsprpub/config/m:/trunk/mozilla/nsprpub/config/now.c
>   gcc: m:/trunk/ff_debug/nsprpub/config/m:/trunk/mozilla/nsprpub/config/now.c: No such file or directory
>   gcc: no input files, try "gcc --help"
>   make.exe[4]: *** [now.o] Error 1
>   make.exe[4]: Leaving directory `m:/trunk/ff_debug/nsprpub/config'
>
> I spent a few minutes but in the jungle of the config directory there
> are so many instances of srcdir and VPATH that I didn't find out which
> one could possibly cause this...

>From the make-3.81 NEWS file:
* WARNING: Backward-incompatibility!
  In order to comply with POSIX, the way in which GNU make processes
  backslash-newline sequences in command strings has changed.  If your
  makefiles use backslash-newline sequences inside of single-quoted
  strings in command scripts you will be impacted by this change.  See
  the GNU make manual subsection "Splitting Command Lines" (node
  "Splitting Lines"), in section "Command Syntax", chapter "Writing the
  Commands in Rules", for details.

I think you're being bitten by this.

--
albert chin
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Building with make 3.81 final?

Peter Weilbacher
On Fri, 26 May 2006 11:24:12 UTC, "Peter Weilbacher" wrote:

> At the moment I suspect a bug in the OS/2 port of GNU make.

Yes it was. I got a fixed version now (in case any OS/2 devs see this:
(http://hobbes.nmsu.edu/cgi-bin/h-search?key=make-3.81-r2) and it works.
--
Greetings,                                                             ^
   Peter.
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds