unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Building today's trunk ...
@ 2012-12-24  9:12 martin rudalics
  2012-12-24 11:57 ` Andy Moreton
  2012-12-25 17:15 ` Eli Zaretskii
  0 siblings, 2 replies; 7+ messages in thread
From: martin rudalics @ 2012-12-24  9:12 UTC (permalink / raw)
  To: emacs-devel

... with MinGW results here in:

gcc -I. -c -gdwarf-2 -g3  -DEMACSDEBUG -fno-crossjumping -std=gnu99   -Demacs=1 -I../lib -I../nt/inc -DUSE_CRT_DLL=1 -o oo/i386/w32.o w32.c
w32.c: In function 'acl_to_text':
w32.c:4701:3: warning: passing argument 5 of 'convert_sd_to_sddl' from incompatible pointer type [enabled by default]
w32.c:1023:1: note: expected 'PULONG' but argument is of type 'ssize_t *'
gcc -I. -c -gdwarf-2 -g3  -DEMACSDEBUG -fno-crossjumping -std=gnu99   -Demacs=1 -I../lib -I../nt/inc -DUSE_CRT_DLL=1 -o oo/i386/w32proc.o w32proc.c
rm oo/i386/temacs1.a
ar -rsc oo/i386/temacs1.a oo/i386/alloc.o oo/i386/atimer.o oo/i386/buffer.o oo/i386/bytecode.o oo/i386/callint.o oo/i386/callproc.o oo/i386/casefiddle.o oo/i386/cmds.o oo/i386/data.o oo/i386/dired.o oo/i386/dispnew.o oo/i386/doc.o oo/i386/doprnt.o oo/i386/editfns.o oo/i386/eval.o oo/i386/fileio.o oo/i386/filelock.o oo/i386/fns.o oo/i386/indent.o oo/i386/insdel.o oo/i386/keyboard.o oo/i386/keymap.o oo/i386/lread.o oo/i386/macros.o oo/i386/marker.o oo/i386/minibuf.o oo/i386/w32.o oo/i386/w32heap.o oo/i386/w32inevt.o oo/i386/w32proc.o oo/i386/w32console.o oo/i386/print.o oo/i386/process.o oo/i386/regex.o oo/i386/scroll.o oo/i386/search.o oo/i386/sound.o oo/i386/syntax.o
gcc -o oo/i386/temacs.bin  -gdwarf-2 -g3    -Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 -Wl,-subsystem,console -Wl,-entry,__start -Wl,-Map,oo/i386/temacs.map oo/i386/firstfile.o oo/i386/emacs.res oo/i386/temacs0.a oo/i386/temacs1.a oo/i386/temacs2.a oo/i386/lastfile.a ../lib/oo/i386/libgnu.a -lwinmm -ladvapi32 -lgdi32 -lcomdlg32 -luser32 -lmpr -lshell32 -lwinspool -lole32 -lcomctl32 -lusp10
../lib/oo/i386/libgnu.a(filemode.o): In function `ftypelet':
c:\emacs\trunk\lib/filemode.c:81: undefined reference to `S_ISMPX'
collect2: ld returned 1 exit status
make[1]: *** [oo/i386/temacs.exe] Error 1
make[1]: Leaving directory `c:/emacs/trunk/src'
make: *** [all-other-dirs-gmake] Error 2

martin



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

* Re: Building today's trunk ...
  2012-12-24  9:12 Building today's trunk martin rudalics
@ 2012-12-24 11:57 ` Andy Moreton
  2012-12-24 13:45   ` martin rudalics
  2012-12-25 17:15 ` Eli Zaretskii
  1 sibling, 1 reply; 7+ messages in thread
From: Andy Moreton @ 2012-12-24 11:57 UTC (permalink / raw)
  To: emacs-devel

On Mon 24 Dec 2012, martin rudalics wrote:

> ... with MinGW results here in:
>
> gcc -o oo/i386/temacs.bin -gdwarf-2 -g3 -Wl,-stack,0x00800000
> -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 -Wl,-subsystem,console
> -Wl,-entry,__start -Wl,-Map,oo/i386/temacs.map oo/i386/firstfile.o
> oo/i386/emacs.res oo/i386/temacs0.a oo/i386/temacs1.a oo/i386/temacs2.a
> oo/i386/lastfile.a ../lib/oo/i386/libgnu.a -lwinmm -ladvapi32 -lgdi32
> -lcomdlg32 -luser32 -lmpr -lshell32 -lwinspool -lole32 -lcomctl32 -lusp10
> ../lib/oo/i386/libgnu.a(filemode.o): In function `ftypelet':
> c:\emacs\trunk\lib/filemode.c:81: undefined reference to `S_ISMPX'
> collect2: ld returned 1 exit status
> make[1]: *** [oo/i386/temacs.exe] Error 1
> make[1]: Leaving directory `c:/emacs/trunk/src'
> make: *** [all-other-dirs-gmake] Error 2

This is due to the gnulib import in r111314. Fixed by:

=== modified file 'nt/inc/sys/stat.h'
--- nt/inc/sys/stat.h   2012-12-14 14:05:01 +0000
+++ nt/inc/sys/stat.h   2012-12-24 11:52:56 +0000
@@ -74,6 +74,7 @@
 #define S_ISDOOR(m)    0
 #define S_ISMPB(m)     0
 #define S_ISMPC(m)     0
+#define S_ISMPX(m)     0
 #define S_ISNWK(m)     0
 #define S_ISPORT(m)    0
 #define S_ISWHT(m)     0


HTH,

    AndyM




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

* Re: Building today's trunk ...
  2012-12-24 11:57 ` Andy Moreton
@ 2012-12-24 13:45   ` martin rudalics
  2012-12-24 15:58     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: martin rudalics @ 2012-12-24 13:45 UTC (permalink / raw)
  To: Andy Moreton; +Cc: emacs-devel

> This is due to the gnulib import in r111314. Fixed by:
> 
> === modified file 'nt/inc/sys/stat.h'
> --- nt/inc/sys/stat.h   2012-12-14 14:05:01 +0000
> +++ nt/inc/sys/stat.h   2012-12-24 11:52:56 +0000
> @@ -74,6 +74,7 @@
>  #define S_ISDOOR(m)    0
>  #define S_ISMPB(m)     0
>  #define S_ISMPC(m)     0
> +#define S_ISMPX(m)     0
>  #define S_ISNWK(m)     0
>  #define S_ISPORT(m)    0
>  #define S_ISWHT(m)     0
> 
> 
> HTH,

It helps.

Thanks, martin




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

* Re: Building today's trunk ...
  2012-12-24 13:45   ` martin rudalics
@ 2012-12-24 15:58     ` Eli Zaretskii
  2012-12-24 18:06       ` martin rudalics
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2012-12-24 15:58 UTC (permalink / raw)
  To: martin rudalics; +Cc: andrewjmoreton, emacs-devel

> Date: Mon, 24 Dec 2012 14:45:17 +0100
> From: martin rudalics <rudalics@gmx.at>
> Cc: emacs-devel@gnu.org
> 
> > This is due to the gnulib import in r111314. Fixed by:
> > 
> > === modified file 'nt/inc/sys/stat.h'
> > --- nt/inc/sys/stat.h   2012-12-14 14:05:01 +0000
> > +++ nt/inc/sys/stat.h   2012-12-24 11:52:56 +0000
> > @@ -74,6 +74,7 @@
> >  #define S_ISDOOR(m)    0
> >  #define S_ISMPB(m)     0
> >  #define S_ISMPC(m)     0
> > +#define S_ISMPX(m)     0
> >  #define S_ISNWK(m)     0
> >  #define S_ISPORT(m)    0
> >  #define S_ISWHT(m)     0
> > 
> > 
> > HTH,
> 
> It helps.
> 
> Thanks, martin

Thanks.  But in the future, would someone please commit changes that
fix a broken build right away?  There's no sense in having the build
broken for hours, when a fix exists.  Don't worry if you are not sure
it's 100% correct (although in this case, it should be clear it is),
we can always do better later.  Just let people build the trunk again.

TIA



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

* Re: Building today's trunk ...
  2012-12-24 15:58     ` Eli Zaretskii
@ 2012-12-24 18:06       ` martin rudalics
  0 siblings, 0 replies; 7+ messages in thread
From: martin rudalics @ 2012-12-24 18:06 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: andrewjmoreton, emacs-devel

 > Thanks.  But in the future, would someone please commit changes that
 > fix a broken build right away?  There's no sense in having the build
 > broken for hours, when a fix exists.  Don't worry if you are not sure
 > it's 100% correct (although in this case, it should be clear it is),
 > we can always do better later.  Just let people build the trunk again.

Sorry.  I was busy at that time and just managed to build Emacs with
Andy's fix and write the mail :-(

martin



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

* Re: Building today's trunk ...
  2012-12-24  9:12 Building today's trunk martin rudalics
  2012-12-24 11:57 ` Andy Moreton
@ 2012-12-25 17:15 ` Eli Zaretskii
  2012-12-25 18:10   ` martin rudalics
  1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2012-12-25 17:15 UTC (permalink / raw)
  To: martin rudalics; +Cc: emacs-devel

> Date: Mon, 24 Dec 2012 10:12:15 +0100
> From: martin rudalics <rudalics@gmx.at>
> 
> gcc -I. -c -gdwarf-2 -g3  -DEMACSDEBUG -fno-crossjumping -std=gnu99   -Demacs=1 -I../lib -I../nt/inc -DUSE_CRT_DLL=1 -o oo/i386/w32.o w32.c
> w32.c: In function 'acl_to_text':
> w32.c:4701:3: warning: passing argument 5 of 'convert_sd_to_sddl' from incompatible pointer type [enabled by default]
> w32.c:1023:1: note: expected 'PULONG' but argument is of type 'ssize_t *'

I think I fixed this warning, but since I don't have such a nudge of a
compiler, please test.



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

* Re: Building today's trunk ...
  2012-12-25 17:15 ` Eli Zaretskii
@ 2012-12-25 18:10   ` martin rudalics
  0 siblings, 0 replies; 7+ messages in thread
From: martin rudalics @ 2012-12-25 18:10 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

>> gcc -I. -c -gdwarf-2 -g3  -DEMACSDEBUG -fno-crossjumping -std=gnu99   -Demacs=1 -I../lib -I../nt/inc -DUSE_CRT_DLL=1 -o oo/i386/w32.o w32.c
>> w32.c: In function 'acl_to_text':
>> w32.c:4701:3: warning: passing argument 5 of 'convert_sd_to_sddl' from incompatible pointer type [enabled by default]
>> w32.c:1023:1: note: expected 'PULONG' but argument is of type 'ssize_t *'
> 
> I think I fixed this warning, but since I don't have such a nudge of a
> compiler, please test.

No more warnings.  But I think they were already gone after defining S_ISMPX(m).
At least I can't imagine missing them in two subsequent builds.

Thanks, martin




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

end of thread, other threads:[~2012-12-25 18:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-24  9:12 Building today's trunk martin rudalics
2012-12-24 11:57 ` Andy Moreton
2012-12-24 13:45   ` martin rudalics
2012-12-24 15:58     ` Eli Zaretskii
2012-12-24 18:06       ` martin rudalics
2012-12-25 17:15 ` Eli Zaretskii
2012-12-25 18:10   ` martin rudalics

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).