all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacsclient breaks build on OS X 10.3.9
@ 2006-11-10 11:25 David Reitter
  2006-11-10 12:17 ` Juanma Barranquero
  0 siblings, 1 reply; 8+ messages in thread
From: David Reitter @ 2006-11-10 11:25 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1448 bytes --]

It appears that a recent change (on or after Nov 2) has broken the  
build on my OS X 10.3.9 system:

gcc -fpascal-strings -DMAC_OSX -I../mac/src -DHAVE_CONFIG_H -I. -I../ 
src -I/Users/dr/Aquamacs/emacs/lib-src -I/Users/dr/Aquamacs/emacs/lib- 
src/../src  -fpascal-strings -DMAC_OSX -I../mac/src   -g -O2  /Users/ 
dr/Aquamacs/emacs/lib-src/emacsclient.c getopt.o getopt1.o - 
DVERSION="\"22.0.90\""  -o emacsclient
In file included from /Users/dr/Aquamacs/emacs/lib-src/emacsclient.c:45:
/usr/include/netinet/in.h:255: error: parse error before "in_addr_t"

full log here: http://homepages.inf.ed.ac.uk/dreitter/Aquamacs/emacs- 
build.log

It appears that this doesn't occur on more current OS X versions  
because they include this in their netinet/in.h:

----
#include <sys/_types.h>

#ifndef _IN_ADDR_T
#define _IN_ADDR_T
typedef	__uint32_t	in_addr_t;	/* base type for internet address */
#endif

#ifndef _IN_PORT_T
#define _IN_PORT_T
typedef	__uint16_t	in_port_t;
#endif
-----

which is not present in the 10.3.9 variant.

A recent revision is likely to be responsible:

revision 1.83
date: 2006-11-02 09:54:09 +0000;  author: lektu;  state: Exp;  lines:  
+7 -22
[WINDOWSNT]: Define HAVE_INET_SOCKETS.
[!WINDOWSNT]: Include <netinet/in.h> if available.
[HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
(IOCTL, IOCTL_BOOL_ARG): Remove.
(set_tcp_socket): Don't set the socket in blocking mode.  Remove c_arg.


Hope that is specific enough.




[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2454 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

end of thread, other threads:[~2006-11-11 16:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-10 11:25 emacsclient breaks build on OS X 10.3.9 David Reitter
2006-11-10 12:17 ` Juanma Barranquero
2006-11-10 14:25   ` David Reitter
2006-11-10 15:19     ` Juanma Barranquero
2006-11-10 15:34       ` Kim F. Storm
2006-11-10 15:43         ` Juanma Barranquero
2006-11-11 16:18           ` David Reitter
2006-11-11 16:29             ` Juanma Barranquero

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.