* emacs23 compile failed on w32
@ 2008-05-14 16:01 Kyle M. Lee
2008-05-14 17:07 ` Óscar Fuentes
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Kyle M. Lee @ 2008-05-14 16:01 UTC (permalink / raw)
To: emacs-devel
E:\cvs_home\emacs23\emacs\nt>mingw32-make maintainer-clean
E:\cvs_home\emacs23\emacs\nt>configure.bat --no-debug --with-gcc
--no-cygwin --p
refix e:/emacs_gcc_std_install --cflags -I./inc --cflags -pipe
E:\cvs_home\emacs23\emacs\nt>mingw32-make bootstrap -j3
error message:
-------------------------------------
dired.c: In function `stat_uname':
dired.c:910: error: structure has no member named `st_uname'
dired.c: In function `stat_gname':
dired.c:925: error: structure has no member named `st_gname'
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: emacs23 compile failed on w32
2008-05-14 16:01 emacs23 compile failed on w32 Kyle M. Lee
@ 2008-05-14 17:07 ` Óscar Fuentes
2008-05-14 17:35 ` Óscar Fuentes
2008-05-14 17:43 ` Eli Zaretskii
2 siblings, 0 replies; 5+ messages in thread
From: Óscar Fuentes @ 2008-05-14 17:07 UTC (permalink / raw)
To: emacs-devel; +Cc: Kyle M. Lee
"Kyle M. Lee" <mail2kyle@gmail.com> writes:
[snip]
For the record: Emacs builds fine on my w2k/mingw setup (just did it an
hour ago, no CVS email notification).
This is the relevant part of the batch file I use:
set path=k:\msys\1.0\mingw\bin;k:\apps\GnuWin32\bin;%PATH%
cd emacs\nt
call configure.bat --cflags -It:/emacscvs/include --ldflags -Lt:/emacscvs/lib --without-gif
make cleanall
make bootstrap
Maybe you have an old mingw-runtime?
And what happens if you do a sequential make (drop the -j3)?
--
Oscar
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: emacs23 compile failed on w32
2008-05-14 16:01 emacs23 compile failed on w32 Kyle M. Lee
2008-05-14 17:07 ` Óscar Fuentes
@ 2008-05-14 17:35 ` Óscar Fuentes
2008-05-14 17:43 ` Eli Zaretskii
2 siblings, 0 replies; 5+ messages in thread
From: Óscar Fuentes @ 2008-05-14 17:35 UTC (permalink / raw)
To: emacs-devel; +Cc: Kyle M. Lee
[please keep the discussion on-list, thanks]
"Kyle M. Lee" <mail2kyle@gmail.com> writes:
> E:\cvs_home\emacs23\emacs\nt>mingw32-make maintainer-clean
> E:\cvs_home\emacs23\emacs\nt>configure.bat --no-debug --with-gcc
> --no-cygwin --p
> refix e:/emacs_gcc_std_install --cflags -I./inc --cflags -pipe
> E:\cvs_home\emacs23\emacs\nt>mingw32-make bootstrap -j3
>
> error message:
> -------------------------------------
> dired.c: In function `stat_uname':
> dired.c:910: error: structure has no member named `st_uname'
> dired.c: In function `stat_gname':
> dired.c:925: error: structure has no member named `st_gname'
See if you have a file named stat.h on the
E:\cvs_home\emacs23\emacs\nt\inc\sys\ directory.
If yes, see if it contains
char st_uname[260];
char st_gname[260];
near the end.
If the answer to any of those questions is no, you have an incomplete
checkout or update. Make sure to pass -d as a parameter to `cvs update'.
--
Oscar
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: emacs23 compile failed on w32
2008-05-14 16:01 emacs23 compile failed on w32 Kyle M. Lee
2008-05-14 17:07 ` Óscar Fuentes
2008-05-14 17:35 ` Óscar Fuentes
@ 2008-05-14 17:43 ` Eli Zaretskii
2008-05-15 1:03 ` Kyle M. Lee
2 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2008-05-14 17:43 UTC (permalink / raw)
To: Kyle M. Lee; +Cc: emacs-devel
> Date: Thu, 15 May 2008 00:01:41 +0800
> From: "Kyle M. Lee" <mail2kyle@gmail.com>
>
> E:\cvs_home\emacs23\emacs\nt>mingw32-make maintainer-clean
> E:\cvs_home\emacs23\emacs\nt>configure.bat --no-debug --with-gcc
> --no-cygwin --p
> refix e:/emacs_gcc_std_install --cflags -I./inc --cflags -pipe
> E:\cvs_home\emacs23\emacs\nt>mingw32-make bootstrap -j3
>
> error message:
> -------------------------------------
> dired.c: In function `stat_uname':
> dired.c:910: error: structure has no member named `st_uname'
> dired.c: In function `stat_gname':
> dired.c:925: error: structure has no member named `st_gname'
Very strange. I'm guessing that either (1) your CVS update somehow
failed to update all the files that were modified since the last time,
or (2) you are somehow overriding the GCC include path (normally set
by the -I command-line switch to GCC). If everything is okay, the
file nt/inc/sys/stat.h in CVS defines the `st_uname' and `st_gname'
members of `struct stat', and src/makefile should set things up so
that the compiler is invoked with the "-I ../nt/inc" command-line
switch. Please which one of these doesn't happen for you, and why.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: emacs23 compile failed on w32
2008-05-14 17:43 ` Eli Zaretskii
@ 2008-05-15 1:03 ` Kyle M. Lee
0 siblings, 0 replies; 5+ messages in thread
From: Kyle M. Lee @ 2008-05-15 1:03 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
Eli Zaretskii 写道:
>> Date: Thu, 15 May 2008 00:01:41 +0800
>> From: "Kyle M. Lee" <mail2kyle@gmail.com>
>>
>> E:\cvs_home\emacs23\emacs\nt>mingw32-make maintainer-clean
>> E:\cvs_home\emacs23\emacs\nt>configure.bat --no-debug --with-gcc
>> --no-cygwin --p
>> refix e:/emacs_gcc_std_install --cflags -I./inc --cflags -pipe
>> E:\cvs_home\emacs23\emacs\nt>mingw32-make bootstrap -j3
>>
>> error message:
>> -------------------------------------
>> dired.c: In function `stat_uname':
>> dired.c:910: error: structure has no member named `st_uname'
>> dired.c: In function `stat_gname':
>> dired.c:925: error: structure has no member named `st_gname'
>
> Very strange. I'm guessing that either (1) your CVS update somehow
> failed to update all the files that were modified since the last time,
> or (2) you are somehow overriding the GCC include path (normally set
> by the -I command-line switch to GCC). If everything is okay, the
> file nt/inc/sys/stat.h in CVS defines the `st_uname' and `st_gname'
> members of `struct stat', and src/makefile should set things up so
> that the compiler is invoked with the "-I ../nt/inc" command-line
> switch. Please which one of these doesn't happen for you, and why.
>
Sorry for that. It is my fault.
I copied some header files to the /emacs/nt/inc folder before.
That could cause the cvs update -d failed, there is not stat.h file in
the inc folder.And I deleted the /nt/inc folder and update again, I got
the stat.h.
Maybe the gcc used the mingw\include\sys that time.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-05-15 1:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 16:01 emacs23 compile failed on w32 Kyle M. Lee
2008-05-14 17:07 ` Óscar Fuentes
2008-05-14 17:35 ` Óscar Fuentes
2008-05-14 17:43 ` Eli Zaretskii
2008-05-15 1:03 ` Kyle M. Lee
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.