This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Compatibility with Debian 4.0?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]