This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: Compatibility with Debian 4.0?
- From: "Howland Craig D (Craig)" <howland at LGSInnovations dot com>
- To: "Jason E Miller" <jasonm at MIT dot EDU>
- Cc: <newlib at sources dot redhat dot com>
- Date: Mon, 24 Nov 2008 10:30:52 -0500
- Subject: RE: Compatibility with Debian 4.0?
- References: <20081121225351.x6ng3r81hdesg8c0@webmail.mit.edu>
Jason:
That's odd. From where is your compiler getting sys/unistd.h?
Given
your error, it would appear to not be getting the one from newlib.
Craig
-----Original Message-----
From: Jason E Miller [mailto:jasonm@MIT.EDU]
Sent: Friday, November 21, 2008 10:54 PM
To: Howland Craig D (Craig)
Cc: newlib@sources.redhat.com
Subject: RE: Compatibility with Debian 4.0?
Craig,
Thanks for the quick responses. I think I already tried the
_SC_PAGESIZE suggestion but I tried it again to be sure and it didn't
change anything. I also tried applying the patch you sent out but I
get compilation errors in newlib/src/newlib/libc/sys/linux/sysconf.c:
sysconf.c: In function 'sysconf':
sysconf.c:375: error: '_SC_SS_REPL_MAX' undeclared (first use in this
function)
sysconf.c:375: error: (Each undeclared identifier is reported only once
sysconf.c:375: error: for each function it appears in.)
sysconf.c:487: error: '_SC_TRACE_EVENT_NAME_MAX' undeclared (first use
in this function)
sysconf.c:508: error: '_SC_TRACE_NAME_MAX' undeclared (first use in this
function)
sysconf.c:515: error: '_SC_TRACE_SYS_MAX' undeclared (first use in this
function)
sysconf.c:522: error: '_SC_TRACE_USER_EVENT_MAX' undeclared (first use
in this function)
sysconf.c:878: error: '_SC_XOPEN_STREAMS' undeclared (first use in this
function)
-Jason