Sean Sieger | 2 Aug 2011 19:06
Picon

emacs-23.2a build failure

Maybe my MinGW isn't right?

gcc -I. -c   -DEMACSDEBUG   -Demacs=1 -DHAVE_CONFIG_H -I../nt/inc -DHAVE_NTGUI=1
 -DUSE_CRT_DLL=1 -o oo/i386/w32.o w32.c
w32.c:99:16: error: redefinition of 'struct _PROCESS_MEMORY_COUNTERS_EX'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/psapi.h:53:16: note: o
riginally defined here
w32.c:111:3: error: conflicting types for 'PROCESS_MEMORY_COUNTERS_EX'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/psapi.h:65:3: note: pr
evious declaration of 'PROCESS_MEMORY_COUNTERS_EX' was here
w32.c:111:31: error: conflicting types for 'PPROCESS_MEMORY_COUNTERS_EX'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/psapi.h:65:31: note: p
revious declaration of 'PPROCESS_MEMORY_COUNTERS_EX' was here
make[1]: *** [oo/i386/w32.o] Error 1
make[1]: Leaving directory `c:/Users/Sean/Downloads/emacs-23.2/src'
make: *** [all-other-dirs-gmake] Error 2

Thanks.

Eli Zaretskii | 2 Aug 2011 19:13
Picon

Re: emacs-23.2a build failure

> From: Sean Sieger <sean.sieger <at> gmail.com>
> Date: Tue, 02 Aug 2011 13:06:28 -0400
> 
> Maybe my MinGW isn't right?
> 
> gcc -I. -c   -DEMACSDEBUG   -Demacs=1 -DHAVE_CONFIG_H -I../nt/inc -DHAVE_NTGUI=1
>  -DUSE_CRT_DLL=1 -o oo/i386/w32.o w32.c
> w32.c:99:16: error: redefinition of 'struct _PROCESS_MEMORY_COUNTERS_EX'
> c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/psapi.h:53:16: note: o
> riginally defined here
> w32.c:111:3: error: conflicting types for 'PROCESS_MEMORY_COUNTERS_EX'
> c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/psapi.h:65:3: note: pr
> evious declaration of 'PROCESS_MEMORY_COUNTERS_EX' was here
> w32.c:111:31: error: conflicting types for 'PPROCESS_MEMORY_COUNTERS_EX'
> c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/psapi.h:65:31: note: p
> revious declaration of 'PPROCESS_MEMORY_COUNTERS_EX' was here
> make[1]: *** [oo/i386/w32.o] Error 1
> make[1]: Leaving directory `c:/Users/Sean/Downloads/emacs-23.2/src'
> make: *** [all-other-dirs-gmake] Error 2

Did you upgrade your MinGW headers, by any chance?  If so, which
version of MinGW do you have?  (It's spelled out on _mingw.h header
file.)

Sean Sieger | 2 Aug 2011 19:20
Picon

Re: emacs-23.2a build failure

Eli Zaretskii <eliz <at> gnu.org> writes:

    Did you upgrade your MinGW headers, by any chance?  If so, which
    version of MinGW do you have?  (It's spelled out on _mingw.h header
    file.)

I'm stupid.  I added MinGW Zlib to my MinGW and overwrote some headers
when I was compiling---trying to compile---libxml2 this weekend.  Oof.
Shoulda consulted you first, Eli.

I was trying to think of how to undo the overwriting that I did to my
MinGW when I had added the zlib dll and dev files ...

Eli Zaretskii | 2 Aug 2011 21:02
Picon

Re: emacs-23.2a build failure

> From: Sean Sieger <sean.sieger <at> gmail.com>
> Date: Tue, 02 Aug 2011 13:20:43 -0400
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
>     Did you upgrade your MinGW headers, by any chance?  If so, which
>     version of MinGW do you have?  (It's spelled out on _mingw.h header
>     file.)
> 
> I'm stupid.  I added MinGW Zlib to my MinGW and overwrote some headers
> when I was compiling---trying to compile---libxml2 this weekend.  Oof.

Well, let me know if you need more help with this.

And thanks for working on this.

Sean Sieger | 2 Aug 2011 21:17
Picon

Re: emacs-23.2a build failure

Eli Zaretskii <eliz <at> gnu.org> writes:

    Well, let me know if you need more help with this.

    And thanks for working on this.

You are welcome.  Thank you for your continual generosity.

I'll get it up and running again, it's making me look at the date of
everything (image support headers and so on ...).

I won't have time again until Monday, when all the binaries (23.2a,
23.3a and 24'll all, hopefully, be published.

Sean Sieger | 9 Aug 2011 00:39
Picon

libxml2

I realize this has nothing to do with Emacs, buut, I'm trying to build Emacs
with libxml2 support ... what's this mean:

gcc.exe -DWIN32 -D_WINDOWS -D_MBCS -DNOLIBTOOL  -I.. -I../include -I.\include -D
_REENTRANT -DHAVE_WIN32_THREADS -D_WINSOCKAPI_ -D_WINSOCKAPI_ -DNDEBUG -O2  -o i
nt.mingw/dict.o -c ../dict.c
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
wchar.h:616:0,
                 from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
iconv.h:106,
                 from ../include/libxml/encoding.h:28,
                 from ../include/libxml/parser.h:807,
                 from ../include/libxml/globals.h:18,
                 from ../include/libxml/threads.h:35,
                 from ../include/libxml/xmlmemory.h:218,
                 from ../include/libxml/tree.h:1248,
                 from ../dict.c:32:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/stdint.h:32:20: error:
 conflicting types for 'uint32_t'
../dict.c:29:26: note: previous declaration of 'uint32_t' was here
make: *** [int.mingw/dict.o] Error 1

Eli Zaretskii | 9 Aug 2011 07:05
Picon

Re: libxml2

> Date: Mon, 8 Aug 2011 18:39:41 -0400
> From: Sean Sieger <sean.sieger <at> gmail.com>
> 
> I realize this has nothing to do with Emacs, buut, I'm trying to build Emacs
> with libxml2 support ... what's this mean:
> 
> gcc.exe -DWIN32 -D_WINDOWS -D_MBCS -DNOLIBTOOL  -I.. -I../include -I.\include -D
> _REENTRANT -DHAVE_WIN32_THREADS -D_WINSOCKAPI_ -D_WINSOCKAPI_ -DNDEBUG -O2  -o i
> nt.mingw/dict.o -c ../dict.c
> In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
> wchar.h:616:0,
>                  from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/
> iconv.h:106,
>                  from ../include/libxml/encoding.h:28,
>                  from ../include/libxml/parser.h:807,
>                  from ../include/libxml/globals.h:18,
>                  from ../include/libxml/threads.h:35,
>                  from ../include/libxml/xmlmemory.h:218,
>                  from ../include/libxml/tree.h:1248,
>                  from ../dict.c:32:
> c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/stdint.h:32:20: error:
>  conflicting types for 'uint32_t'
> ../dict.c:29:26: note: previous declaration of 'uint32_t' was here
> make: *** [int.mingw/dict.o] Error 1

Here's the relevant portion of dict.c (assuming you are using the
latest version 2.7.8 available from xmlsoft.org):

  #define IN_LIBXML
  #include "libxml.h"
(Continue reading)

Sean Sieger | 9 Aug 2011 20:29
Picon

emacs-23.2a build failure on windows

gcc -I. -c   -DEMACSDEBUG   -Demacs=1 -DHAVE_CONFIG_H -I../nt/inc -DHAVE_NTGUI=1
 -DUSE_CRT_DLL=1 -o oo/i386/w32.o w32.c
w32.c:99:16: error: redefinition of 'struct _PROCESS_MEMORY_COUNTERS_EX'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/psapi.h:53:16: note: o
riginally defined here
w32.c:111:3: error: conflicting types for 'PROCESS_MEMORY_COUNTERS_EX'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/psapi.h:65:3: note: pr
evious declaration of 'PROCESS_MEMORY_COUNTERS_EX' was here
w32.c:111:31: error: conflicting types for 'PPROCESS_MEMORY_COUNTERS_EX'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/psapi.h:65:31: note: p
revious declaration of 'PPROCESS_MEMORY_COUNTERS_EX' was here
make[1]: *** [oo/i386/w32.o] Error 1
make[1]: Leaving directory `c:/Users/Sean/Downloads/emacs-23.2/src'
make: *** [all-other-dirs-gmake] Error 2

Dani Moncayo | 23 Aug 2011 00:46
Picon

Re: emacs-20110822 windows binaries

On Mon, Aug 22, 2011 at 20:07, Sean Sieger <sean.sieger <at> gmail.com> wrote:
> The trunk was built and runs successfully on Windows.  Binaries have
> been published in
>
> http://alpha.gnu.org/gnu/emacs/windows/

Hi Sean,

Currently, you identify your builds by date (e.g. "20110822"), which
is reasonable, but I wonder if it would be be even better to use the
bzr revision ID instead (e.g. "r105534").

That way, we would know exactly the version we are running.  Even if
someone wants to know the date of the build, one easy and quick way to
get it would be to look at the zip file creation date.

Well, I leave here my suggestion, and thanks for your time.

--

-- 
Dani Moncayo

Harvill, Jane | 23 Aug 2011 19:18
Favicon

"Wrong number of arguments"

I was running the installation of Emacs found on-line through http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl.

 

Although .tex files are associated with Emacs, I get a "Wrong number of arguments" error in the Emacs window that opens. 

 

I have gone to an installation of emacs-23.3-bin-i386.zip from http://ftp.gnu.org/gnu/emacs/windows/ and do not have the same problem.

 

Sincerely,

Jane Harvill

 

 

Dr. Jane L. Harvill, Ph.D.

Associate Professor of Statistics

Department of Statistical Science

Baylor University

One Bear Place, #97140

Waco, Texas 76798-7140

Phone: (254) 710 - 1517

FAX: (254) 710-4477

 


Gmane