unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6570: Sources pulled at 9 o'clock UTC don't compile in lib-src/movemail.c
@ 2010-07-06 10:20 Peter Dyballa
  2010-07-06 12:00 ` Andreas Schwab
  2010-07-06 12:03 ` Juanma Barranquero
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Dyballa @ 2010-07-06 10:20 UTC (permalink / raw)
  To: 6570

Hello!

I configure GNU Emacs --without-pop. Trying to compile it in the  
background leads to a fatal error:

	gcc-4.2 -I/opt/local/include -L/opt/local/lib -c   -DHAVE_CONFIG_H - 
I. -I../src -I..../emacs/lib-src -I..../emacs/lib-src/../src  -g -H - 
Wno-pointer-sign -pipe -fPIC -fno-common -mcpu=7450 -mtune=G4 - 
faltivec -fast  ..../emacs/lib-src/movemail.c
	. ../src/config.h
	.. ../src/s/darwin.h
	.. ../src/m/macppc.h
	.. /usr/include/string.h
	... /usr/include/_types.h
	.... /usr/include/sys/_types.h
	..... /usr/include/sys/cdefs.h
	..... /usr/include/machine/_types.h
	...... /usr/include/ppc/_types.h
	.. /usr/include/strings.h
	.. /usr/include/stdlib.h
	... /usr/include/available.h
	... /usr/include/sys/wait.h
	.... /usr/include/sys/signal.h
	..... /usr/include/sys/appleapiopts.h
	..... /usr/include/machine/signal.h
	...... /usr/include/ppc/signal.h
	....... /usr/include/ppc/_structs.h
	..... /usr/include/sys/_structs.h
	...... /usr/include/machine/_structs.h
	....... /usr/include/ppc/_structs.h
	........ /usr/include/mach/ppc/_structs.h
	.... /usr/include/sys/resource.h
	..... /usr/include/sys/_structs.h
	.... /usr/include/machine/endian.h
	..... /usr/include/ppc/endian.h
	...... /usr/include/sys/_endian.h
	... /usr/include/alloca.h
	... /usr/include/machine/types.h
	.... /usr/include/ppc/types.h
	..... /usr/include/ppc/_types.h
	. /usr/include/sys/types.h
	.. /usr/include/sys/_structs.h
	. /usr/include/sys/stat.h
	.. /usr/include/sys/_structs.h
	. /usr/include/sys/file.h
	.. /usr/include/sys/fcntl.h
	.. /usr/include/sys/unistd.h
	.. /usr/include/sys/queue.h
	. /usr/include/stdio.h
	. /usr/include/errno.h
	.. /usr/include/sys/errno.h
	. /usr/include/time.h
	.. /usr/include/_structs.h
	... /usr/include/sys/_structs.h
	. ./getopt.h
	.. /usr/include/unistd.h
	... /usr/include/sys/select.h
	.... /usr/include/sys/_structs.h
	.... /usr/include/sys/_select.h
	.. /usr/include/ctype.h
	... /usr/include/runetype.h
	. /usr/include/fcntl.h
	. ../src/syswait.h
	..../emacs/lib-src/movemail.c:158: error: expected ‘)’ before ‘server’
	Multiple include guards may be useful for:
	../src/s/darwin.h
	make[1]: *** [movemail.o] Error 1

Obviously the type popserver is not known:

	int pop_retr (popserver server, int msgno, FILE *arg);

Mac OS X 10.5.8, PPC

--
Greetings

   Pete

Perl—the only language that looks the same before and after RSA  
encryption.
				- Keith Bostic






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

* bug#6570: Sources pulled at 9 o'clock UTC don't compile in lib-src/movemail.c
  2010-07-06 10:20 bug#6570: Sources pulled at 9 o'clock UTC don't compile in lib-src/movemail.c Peter Dyballa
@ 2010-07-06 12:00 ` Andreas Schwab
  2010-07-06 12:03 ` Juanma Barranquero
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2010-07-06 12:00 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 6570-done

Should be fixed now.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#6570: Sources pulled at 9 o'clock UTC don't compile in lib-src/movemail.c
  2010-07-06 10:20 bug#6570: Sources pulled at 9 o'clock UTC don't compile in lib-src/movemail.c Peter Dyballa
  2010-07-06 12:00 ` Andreas Schwab
@ 2010-07-06 12:03 ` Juanma Barranquero
  1 sibling, 0 replies; 3+ messages in thread
From: Juanma Barranquero @ 2010-07-06 12:03 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 6570

On Tue, Jul 6, 2010 at 12:20, Peter Dyballa <Peter_Dyballa@freenet.de> wrote:

> Obviously the type popserver is not known:
>
>        int pop_retr (popserver server, int msgno, FILE *arg);

Does it work with this change?

    Juanma



=== modified file 'lib-src/movemail.c'
--- lib-src/movemail.c	2010-07-03 00:50:23 +0000
+++ lib-src/movemail.c	2010-07-06 12:01:56 +0000
@@ -155,6 +155,8 @@
 char *concat (char *s1, char *s2, char *s3);
 long *xmalloc (unsigned int size);
+#ifdef MAIL_USE_POP
 int popmail (char *mailbox, char *outfile, int preserve, char
*password, int reverse_order);
 int pop_retr (popserver server, int msgno, FILE *arg);
+#endif /* MAIL_USE_POP */
 int mbx_write (char *line, int len, FILE *mbf);
 int mbx_delimit_begin (FILE *mbf);





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

end of thread, other threads:[~2010-07-06 12:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-06 10:20 bug#6570: Sources pulled at 9 o'clock UTC don't compile in lib-src/movemail.c Peter Dyballa
2010-07-06 12:00 ` Andreas Schwab
2010-07-06 12:03 ` Juanma Barranquero

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