* emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue
@ 2014-10-08 11:53 Nelson H. F. Beebe
2014-10-08 15:50 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Nelson H. F. Beebe @ 2014-10-08 11:53 UTC (permalink / raw)
To: emacs-devel; +Cc: beebe
An emacs-24.3.94 build on Debian GNU/kFreeBSD 7 (wheezy) x86-64 with
CC=c99 fails with this error:
/usr/bin/c99 -c -Demacs -I. -I. -I../lib -I./../lib \
-I/usr/include/freetype2 \
-I/usr/include/freetype2 -MMD -MF deps/process.d -MP \
-I/usr/uumath/include process.c
process.c:177:1: error: static declaration of `accept4' follows
non-static declarationmake[1]: Leaving directory
`/local/build/c99/emacs-24.3.94/src'
The problem is this code in the indicated system header file:
#ifdef __USE_GNU
/* Similar to 'accept' but takes an additional parameter to specify flags.
This function is a cancellation point and therefore not marked with
__THROW. */
extern int accept4 (int __fd, __SOCKADDR_ARG __addr,
socklen_t *__restrict __addr_len, int __flags);
#endif
The solution was simple:
% diff src/process.c.~1~ src/process.c
176c176
< static int
---
> /* static */ int
I restarted the build, and it completed successfully, as did the final
"make install" step.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu -
- 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue
2014-10-08 11:53 emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue Nelson H. F. Beebe
@ 2014-10-08 15:50 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2014-10-08 15:50 UTC (permalink / raw)
To: Nelson H. F. Beebe; +Cc: emacs-devel
Filed as http://debbugs.gnu.org/18666 .
Please report bugs to the bug list.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-08 15:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-08 11:53 emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue Nelson H. F. Beebe
2014-10-08 15:50 ` Glenn Morris
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).