Hi!

I tried to build the emacs-22.0.90 pretest on OSF1 today. 

uname -a
=> OSF1 helene.molgen.mpg.de P4.0 227 alpha

The build stops at src/process.c with the following error message:

process.c: In function `Fdelete_process':
process.c:820: warning: comparison is always false due to limited range
of data type
process.c:830: warning: comparison is always false due to limited range
of data type
process.c: In function `Fprocess_id':
process.c:917: warning: comparison is always false due to limited range
of data type
process.c: In function `conv_sockaddr_to_lisp':
process.c:2283: `uint16_t' undeclared (first use in this function)
process.c:2283: (Each undeclared identifier is reported only once
process.c:2283: for each function it appears in.)
process.c:2283: `ip6' undeclared (first use in this function)
process.c:2283: parse error before ')' token
process.c:2283: dereferencing pointer to incomplete type
process.c:2283: invalid lvalue in assignment
process.c:2284: dereferencing pointer to incomplete type
process.c:2287: dereferencing pointer to incomplete type
process.c: In function `get_lisp_to_sockaddr_size':
process.c:2341: sizeof applied to an incomplete type
process.c: In function `conv_lisp_to_sockaddr':
process.c:2398: `uint16_t' undeclared (first use in this function)
process.c:2398: `ip6' undeclared (first use in this function)
process.c:2398: parse error before ')' token
process.c:2398: dereferencing pointer to incomplete type
process.c:2398: invalid lvalue in assignment
process.c:2399: dereferencing pointer to incomplete type
process.c:2401: dereferencing pointer to incomplete type
process.c: In function `server_accept_connection':
process.c:3964: field `in6' has incomplete type
process.c:3969: confused by earlier errors, bailing out

The problem seems to be that the version of OSF1 I am using does not 
support IPv6. Yet to me it looks like emacs assumes that all systems 
other than Windows NT support IPv6. 

124 /* Disable IPv6 support for w32 until someone figures out how to do it
125    properly.  */
126 #ifdef WINDOWSNT
127 # ifdef AF_INET6
128 #  undef AF_INET6
129 # endif
130 #endif

If I add another line saying

#undef AF_INET6

after this block of code, emacs builds fine until this happens:

LC_ALL=C ./temacs -batch -l loadup dump
Loading loadup.el (source)...
Using load-path 
(/amd/molgix/4/home/abt_lh/helbig/compile/tru64/emacs-22.0.90/lisp)
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Symbol's value as variable is void: nil

I have no clue how to debug this. A CVS version some months back (march) was
building fine, I could find out where this broke. I would prefer just
reporting a meaningful error message, though. 

regards, 

anselm


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to