unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14538: 24.3.50; MinGW64 (32bit) build with Posix configure failed
@ 2013-06-02  3:02 rzl24ozi
  2013-06-03 17:17 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: rzl24ozi @ 2013-06-02  3:02 UTC (permalink / raw)
  To: 14538

[-- Attachment #1: Type: text/plain, Size: 1386 bytes --]

MinGW64 (32bit) build with Posix configure failed. (trunk revision 112819)

I downloaded
http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.0/32-bit/threads-win32/dwarf/x32-4.8.0-release-win32-dwarf-rev2.7z/download
and extract it under c:/mingw-w64/, then add "/c/mingw-w64/mingw32/bin"
to PATH of MinGW Shell.

Then run

   $ ./autogen.sh
   $ ./nt/msysconfig.sh
   $ make >& make.log

This failed with the error as follows.

     :
gcc  -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/rzl24ozi/src/emacs/lib -I../src -I/home/rzl24ozi/src/emacs/src   -mtune=pentium4   -DUSE_CRT_DLL=1 -I /home/rzl24ozi/src/emacs/nt/inc    -g3 -O2 -gdwarf-2 -MT gettimeofday.o -MD -MP -MF .deps/gettimeofday.Tpo -c -o gettimeofday.o gettimeofday.c
gettimeofday.c:102:1: error: conflicting types for 'gettimeofday'
 gettimeofday (struct timeval *restrict tv, void *restrict tz)
 ^
In file included from gettimeofday.c:23:0:
C:/MinGW/msys/1.0/home/rzl24ozi/src/emacs/nt/inc/sys/time.h:47:5: note: previous declaration of 'gettimeofday' was here
 int gettimeofday (struct timeval *__restrict, struct timezone *__restrict);
     ^
make[2]: *** [gettimeofday.o] Error 1
make[2]: Leaving directory `/home/rzl24ozi/src/emacs/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rzl24ozi/src/emacs/lib'
make: *** [lib] Error 2

make.log and config.log are attached to this mail.


[-- Attachment #2: make.log.gz --]
[-- Type: application/octet-stream, Size: 1870 bytes --]

[-- Attachment #3: config.log.gz --]
[-- Type: application/octet-stream, Size: 47879 bytes --]

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

* bug#14538: 24.3.50; MinGW64 (32bit) build with Posix configure failed
  2013-06-02  3:02 bug#14538: 24.3.50; MinGW64 (32bit) build with Posix configure failed rzl24ozi
@ 2013-06-03 17:17 ` Eli Zaretskii
  2013-06-05 13:57   ` rzl24ozi
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2013-06-03 17:17 UTC (permalink / raw)
  To: rzl24ozi; +Cc: 14538

> From: rzl24ozi@gmail.com
> Date: Sun, 02 Jun 2013 12:02:21 +0900
> 
> MinGW64 (32bit) build with Posix configure failed. (trunk revision 112819)
> 
> I downloaded
> http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.0/32-bit/threads-win32/dwarf/x32-4.8.0-release-win32-dwarf-rev2.7z/download
> and extract it under c:/mingw-w64/, then add "/c/mingw-w64/mingw32/bin"
> to PATH of MinGW Shell.
> 
> Then run
> 
>    $ ./autogen.sh
>    $ ./nt/msysconfig.sh
>    $ make >& make.log
> 
> This failed with the error as follows.
> 
>      :
> gcc  -std=gnu99 -DHAVE_CONFIG_H -I. -I/home/rzl24ozi/src/emacs/lib -I../src -I/home/rzl24ozi/src/emacs/src   -mtune=pentium4   -DUSE_CRT_DLL=1 -I /home/rzl24ozi/src/emacs/nt/inc    -g3 -O2 -gdwarf-2 -MT gettimeofday.o -MD -MP -MF .deps/gettimeofday.Tpo -c -o gettimeofday.o gettimeofday.c
> gettimeofday.c:102:1: error: conflicting types for 'gettimeofday'
>  gettimeofday (struct timeval *restrict tv, void *restrict tz)
>  ^
> In file included from gettimeofday.c:23:0:
> C:/MinGW/msys/1.0/home/rzl24ozi/src/emacs/nt/inc/sys/time.h:47:5: note: previous declaration of 'gettimeofday' was here
>  int gettimeofday (struct timeval *__restrict, struct timezone *__restrict);
>      ^
> make[2]: *** [gettimeofday.o] Error 1
> make[2]: Leaving directory `/home/rzl24ozi/src/emacs/lib'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/rzl24ozi/src/emacs/lib'
> make: *** [lib] Error 2
> 
> make.log and config.log are attached to this mail.

Thanks.  Please try again with the latest trunk.  If there are still
errors, please type "make -k" so that all the errors are seen, and
please again attach both logs.





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

* bug#14538: 24.3.50; MinGW64 (32bit) build with Posix configure failed
  2013-06-03 17:17 ` Eli Zaretskii
@ 2013-06-05 13:57   ` rzl24ozi
  2013-06-05 16:20     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: rzl24ozi @ 2013-06-05 13:57 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 14538

Eli Zaretskii <eliz@gnu.org> writes:
>> From: rzl24ozi@gmail.com
>> Date: Sun, 02 Jun 2013 12:02:21 +0900
>> 
>> MinGW64 (32bit) build with Posix configure failed. (trunk revision 112819)
    :
> Thanks.  Please try again with the latest trunk.  If there are still
> errors, please type "make -k" so that all the errors are seen, and
> please again attach both logs.

It has built well.
Thanks.





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

* bug#14538: 24.3.50; MinGW64 (32bit) build with Posix configure failed
  2013-06-05 13:57   ` rzl24ozi
@ 2013-06-05 16:20     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2013-06-05 16:20 UTC (permalink / raw)
  To: rzl24ozi; +Cc: 14538-done

> From: rzl24ozi@gmail.com
> Cc: 14538@debbugs.gnu.org
> Date: Wed, 05 Jun 2013 22:57:59 +0900
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> >> From: rzl24ozi@gmail.com
> >> Date: Sun, 02 Jun 2013 12:02:21 +0900
> >> 
> >> MinGW64 (32bit) build with Posix configure failed. (trunk revision 112819)
>     :
> > Thanks.  Please try again with the latest trunk.  If there are still
> > errors, please type "make -k" so that all the errors are seen, and
> > please again attach both logs.
> 
> It has built well.
> Thanks.

Thanks, closing.





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

end of thread, other threads:[~2013-06-05 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-02  3:02 bug#14538: 24.3.50; MinGW64 (32bit) build with Posix configure failed rzl24ozi
2013-06-03 17:17 ` Eli Zaretskii
2013-06-05 13:57   ` rzl24ozi
2013-06-05 16:20     ` 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).