unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17673: 24.4.50; trunk r117239 build failure on Windows
@ 2014-06-02 22:45 Andy Moreton
  2014-06-03  7:00 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Moreton @ 2014-06-02 22:45 UTC (permalink / raw)
  To: 17673


Building trunk r117239 with mingw32 fails:

gcc -std=gnu99  -c -mtune=pentium4   -I/c/emacs/mingw-devel/include 
-I/c/emacs/mingw-devel/src/xpm/3.5.1/libXpm-3.5.1-src/lib 
-DUSE_CRT_DLL=1 -I /c/emacs/src/emacs/trunk/obj-mingw32/../nt/inc 
-Demacs  -I. -I../../src -I../lib -I../../src/../lib -DHEAPSIZE=12 
-mtune=pentium4    -mms-bitfields 
-Ic:/emacs/mingw-devel/include/librsvg-2.0 
-Ic:/emacs/mingw-devel/include/glib-2.0 
-Ic:/emacs/mingw-devel/lib/glib-2.0/include 
-Ic:/emacs/mingw-devel/include/gdk-pixbuf-2.0 
-Ic:/emacs/mingw-devel/include/cairo 
-Ic:/emacs/mingw-devel/include/libpng16 
-Ic:/emacs/mingw-devel/include/pixman-1 
-Ic:/emacs/mingw-devel/include/libxml2            -MMD -MF deps/menu.d 
-MP -Ic:/emacs/mingw-devel/include 
-Ic:/emacs/mingw-devel/include/p11-kit-1      -O0 -g3  ../../src/menu.c
In file included from ../../src/menu.h:25:0,
                  from ../../src/menu.c:52:
../../src/../lwlib/lwlib.h:24:27: fatal error: X11/Intrinsic.h: No such 
file or directory
compilation terminated.
make[1]: *** [menu.o] Error 1

Trunk builds on mingw32 with r117238.

     AndyM





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17673: 24.4.50; trunk r117239 build failure on Windows
  2014-06-02 22:45 bug#17673: 24.4.50; trunk r117239 build failure on Windows Andy Moreton
@ 2014-06-03  7:00 ` Eli Zaretskii
  2014-06-03  9:17   ` Andy Moreton
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2014-06-03  7:00 UTC (permalink / raw)
  To: Andy Moreton, Dmitry Antipov; +Cc: 17673

> Date: Mon, 02 Jun 2014 23:45:30 +0100
> From: Andy Moreton <andrewjmoreton@gmail.com>
> 
> 
> Building trunk r117239 with mingw32 fails:
> 
> gcc -std=gnu99  -c -mtune=pentium4   -I/c/emacs/mingw-devel/include 
> -I/c/emacs/mingw-devel/src/xpm/3.5.1/libXpm-3.5.1-src/lib 
> -DUSE_CRT_DLL=1 -I /c/emacs/src/emacs/trunk/obj-mingw32/../nt/inc 
> -Demacs  -I. -I../../src -I../lib -I../../src/../lib -DHEAPSIZE=12 
> -mtune=pentium4    -mms-bitfields 
> -Ic:/emacs/mingw-devel/include/librsvg-2.0 
> -Ic:/emacs/mingw-devel/include/glib-2.0 
> -Ic:/emacs/mingw-devel/lib/glib-2.0/include 
> -Ic:/emacs/mingw-devel/include/gdk-pixbuf-2.0 
> -Ic:/emacs/mingw-devel/include/cairo 
> -Ic:/emacs/mingw-devel/include/libpng16 
> -Ic:/emacs/mingw-devel/include/pixman-1 
> -Ic:/emacs/mingw-devel/include/libxml2            -MMD -MF deps/menu.d 
> -MP -Ic:/emacs/mingw-devel/include 
> -Ic:/emacs/mingw-devel/include/p11-kit-1      -O0 -g3  ../../src/menu.c
> In file included from ../../src/menu.h:25:0,
>                   from ../../src/menu.c:52:
> ../../src/../lwlib/lwlib.h:24:27: fatal error: X11/Intrinsic.h: No such 
> file or directory
> compilation terminated.
> make[1]: *** [menu.o] Error 1

Should be fixed now.

Dmitry, you cannot write code that will require the MS-Windows build
to pull in X11 headers, they don't exist on Windows.  For that reason,
lwlib.h is off-limits to the WINDOWSNT/NTGUI build, unless someone
fixes lwlib.h to avoid X11 headers.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17673: 24.4.50; trunk r117239 build failure on Windows
  2014-06-03  7:00 ` Eli Zaretskii
@ 2014-06-03  9:17   ` Andy Moreton
  2014-06-03  9:44     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Moreton @ 2014-06-03  9:17 UTC (permalink / raw)
  To: 17673

On Tue 03 Jun 2014, Eli Zaretskii wrote:

>> Date: Mon, 02 Jun 2014 23:45:30 +0100
>> From: Andy Moreton <andrewjmoreton@gmail.com>
>> 
>> 
>> Building trunk r117239 with mingw32 fails:
>> 
>> gcc -std=gnu99  -c -mtune=pentium4   -I/c/emacs/mingw-devel/include 
>> -I/c/emacs/mingw-devel/src/xpm/3.5.1/libXpm-3.5.1-src/lib 
>> -DUSE_CRT_DLL=1 -I /c/emacs/src/emacs/trunk/obj-mingw32/../nt/inc 
>> -Demacs  -I. -I../../src -I../lib -I../../src/../lib -DHEAPSIZE=12 
>> -mtune=pentium4    -mms-bitfields 
>> -Ic:/emacs/mingw-devel/include/librsvg-2.0 
>> -Ic:/emacs/mingw-devel/include/glib-2.0 
>> -Ic:/emacs/mingw-devel/lib/glib-2.0/include 
>> -Ic:/emacs/mingw-devel/include/gdk-pixbuf-2.0 
>> -Ic:/emacs/mingw-devel/include/cairo 
>> -Ic:/emacs/mingw-devel/include/libpng16 
>> -Ic:/emacs/mingw-devel/include/pixman-1 
>> -Ic:/emacs/mingw-devel/include/libxml2            -MMD -MF deps/menu.d 
>> -MP -Ic:/emacs/mingw-devel/include 
>> -Ic:/emacs/mingw-devel/include/p11-kit-1      -O0 -g3  ../../src/menu.c
>> In file included from ../../src/menu.h:25:0,
>>                   from ../../src/menu.c:52:
>> ../../src/../lwlib/lwlib.h:24:27: fatal error: X11/Intrinsic.h: No such 
>> file or directory
>> compilation terminated.
>> make[1]: *** [menu.o] Error 1
>
> Should be fixed now.
>
> Dmitry, you cannot write code that will require the MS-Windows build
> to pull in X11 headers, they don't exist on Windows.  For that reason,
> lwlib.h is off-limits to the WINDOWSNT/NTGUI build, unless someone
> fixes lwlib.h to avoid X11 headers.

Thanks Eli, mingw build now ok with trunk r117246.

    AndyM






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#17673: 24.4.50; trunk r117239 build failure on Windows
  2014-06-03  9:17   ` Andy Moreton
@ 2014-06-03  9:44     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2014-06-03  9:44 UTC (permalink / raw)
  To: Andy Moreton; +Cc: 17673-done

> From: Andy Moreton <andrewjmoreton@gmail.com>
> Date: Tue, 03 Jun 2014 10:17:25 +0100
> 
> Thanks Eli, mingw build now ok with trunk r117246.

Great, closing.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-03  9:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-02 22:45 bug#17673: 24.4.50; trunk r117239 build failure on Windows Andy Moreton
2014-06-03  7:00 ` Eli Zaretskii
2014-06-03  9:17   ` Andy Moreton
2014-06-03  9:44     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).