Coda File System

Re: Build Error on linux-2.2.1

From: Peter J. Braam <braam_at_cs.cmu.edu>
Date: Tue, 16 Feb 1999 20:50:59 -0500
We don't support libc5 anymore, since there is no longer a maintainer
for it. Can you go to libc6? Then these problems will go away.

- Peter -



donthomp_at_luna.cs.unm.edu wrote:
> 
> I'm attempting to build coda-5.0.1 source on a linux 2.2.1 kernel system
> using libc5 libraries. I get identical errors using gcc-2.7.2.3 and
> egcs-1.1.1 . First it couldn't seem to find readline.h where its installed
> in /usr/local/include/readline/readline.h . So I simply hardcoded to the
> path in the #include for readline.h in parser.c . That fixed that...but
> then I developed this error,
> 
> <---- Leaving base.
> ----> Entering mlwp
> make[2]: Entering directory `/usr/local2/pkg/build/coda-obj/lib-src/mlwp'
> cc -DLWPDEBUG  -g -MD   -I. -I../../../coda-5.0.1/lib-src/mlwp -I/usr/local2/pkg/build/coda-obj/include  -Wall  -DOLDLWP  -c ../../../coda-5.0.1/lib-src/mlwp/lwp.c
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c: In function `LWP_CreateProcess':
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:553: `MAP_FAILED' undeclared (first use in this function)
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:553: (Each undeclared identifier is reported only once
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:553: for each function it appears in.)
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c: At top level:
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:784: parse error before `register_t'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:784: warning: no semicolon at end of struct or union
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:785: warning: type defaults to `int' in declaration of `esi'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:785: warning: data definition has no type or storage class
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:786: parse error before `ebp'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:786: warning: type defaults to `int' in declaration of `ebp'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:786: warning: data definition has no type or storage class
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:787: parse error before `unused'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:787: warning: type defaults to `int' in declaration of `unused'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:787: warning: data definition has no type or storage class
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:788: parse error before `ebx'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:788: warning: type defaults to `int' in declaration of `ebx'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:788: warning: data definition has no type or storage class
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:789: parse error before `edx'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:789: warning: type defaults to `int' in declaration of `edx'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:789: warning: data definition has no type or storage class
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:790: parse error before `ecx'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:790: warning: type defaults to `int' in declaration of `ecx'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:790: warning: data definition has no type or storage class
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:791: parse error before `eax'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:791: warning: type defaults to `int' in declaration of `eax'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:791: warning: data definition has no type or storage class
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c: In function `Trace_Swapped_Stack':
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:800: storage size of `reg' isn't known
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:801: `register_t' undeclared (first use in this function)
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:801: parse error before `ip'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:805: `esp' undeclared (first use in this function)
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:805: parse error before `top'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:809: sizeof applied to an incomplete type
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:812: `ip' undeclared (first use in this function)
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:812: parse error before `)'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:830: parse error before `)'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:833: parse error before `)'
> ../../../coda-5.0.1/lib-src/mlwp/lwp.c:800: warning: unused variable `reg'
> make[2]: *** [lwp.o] Error 1
> make[2]: Leaving directory `/usr/local2/pkg/build/coda-obj/lib-src/mlwp'
> ----> Error in mlwp
> make[1]: *** [Coda] Error 1
> make[1]: Leaving directory `/usr/local2/pkg/build/coda-obj/lib-src'
> ----> Error in lib-src
> make: *** [Coda] Error 1
> 
> I can't seem to find MAP_FAILED on any of my system header files, so I'm
> not exactly sure how to resolve the problem. Am I missing a header file
> someplace or doing something else wrong. Any help is appreciated.
> 
> -Donald Thompson
Received on 1999-02-16 20:52:43