[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems building PCTS on Caldera 3.1



Hi Arnold,

The problem appears to be caused by what I think might be a bug in the
wchar.h header file. When a change to wchar.h which is included in
later versions of glibc is included then the test suites build ok.
Attached is the required patch.

Someone else on the list may be able to confirm if its a bug in the
header file or not (FILE doesn't get defined when including wchar.h
without the patch).

Regards,

Chris.


--- wchar.h.orig	Mon Dec 10 02:20:52 2001
+++ wchar.h	Mon Dec 10 02:21:43 2001
@@ -31,6 +31,9 @@
 #ifdef _WCHAR_H
 /* Get FILE definition.  */
 # define __need___FILE
+# ifdef __USE_UNIX98
+#  define __need_FILE
+# endif
 # include <stdio.h>
 /* Get va_list definition.  */
 # define __need___va_list


Arnold Hayden writes:
> That didn't seem to help:
> 
> 	What is your C compiler called (must be c89 for
> 	UNIX98 registration runs) [/usr/bin/cc]? c89
> 	*** Could not find c89
> 
> I also searched for a c89 binary on Caldera but couldn't find one.
> 
> Arnold
> 
> On Thu, 6 Dec 2001, Christopher Yeoh wrote:
> 
> > Arnold Hayden writes:
> > > Attached is the output from setup.sh.  The machine is a Caldera 3.1 system
> > > with all packages loaded out of box and everything installed.
> >
> > Hi Arnold,
> >
> > Could you try it again, but this time answering 'c89' instead of just
> > return to the following question during the config.sh stage?
> >
> > What is your C compiler called (must be c89 for
> > UNIX98 registration runs) [/usr/bin/cc]?
> >
> > Thanks,
> >
> > Chris.
> >
> 

-- 
cyeoh@au.ibm.com
IBM OzLabs Linux Development Group
Canberra, Australia



Reply to: