bug-glibc
[Top][All Lists]
Advanced

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

Re: porting on to sun OS


From: Andreas Jaeger
Subject: Re: porting on to sun OS
Date: Mon, 27 Aug 2001 11:48:51 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Artificial Intelligence)

"Radha J[MIEL]" <address@hidden> writes:

> hi
>     i gave --enable-hacker-mode and configured it. But during make i am
> getting the following
> error while building csu . This the configuration i am building under
>
> sparc-sun-solaris2.6

this architecture is not supported and you therefore have to fix the
problems you encounter yourself.  You just cannot build glibc here,
you need to port it - and since none of the glibc developers uses this
architecture we can't really help you.

> gcc version 2.95.2
> GNU ld version 2.9.1 (with BFD 2.9.1)

Better get a newer version.

> GNU Make version 3.79
> GNU sed version 3.02

> can u tell me what the problem is?
>
> rad
>
> gcc -D_LIBC=1 -I../include -I. -I/users/rad/glibc_build/csu -I..
> -I../libio  -I/users/rad/glibc_build -I../sysdeps/sparc/sparc32/elf
> -I../sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32
> -I../sysdeps/unix/sysv/sysv4/solaris2/sparc
> -I../sysdeps/unix/sysv/sysv4/solaris2 -I../sysdeps/unix/sysv/sysv4
> -I../sysdeps/unix/common -I../sysdeps/unix/sysv -I../sysdeps/unix/sparc
> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sparc/sparc32/fpu
> -I../sysdeps/sparc/sparc32 -I../sysdeps/wordsize-32
> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
> -I../sysdeps/sparc/sparc32/soft-fp -I../sysdeps/sparc/fpu
> -I../sysdeps/sparc -I../sysdeps/ieee754 -I../sysdeps/generic/elf
> -I../sysdeps/generic   -E -dM -xc - | cat - >>
> /users/rad/glibc_build/bits/stdio_lim.hT
> sed -e 's@ /users/rad/glibc_build/@ $(common-objpfx)@g' -e
> 'address@hidden/users/rad/glibc_build/@$(common-objpfx)@g'
> /users/rad/glibc_build/bits/stdio_lim.dT >
> /users/rad/glibc_build/bits/stdio_lim.dt
> cat /users/rad/glibc_build/bits/stdio_lim.dt >>
> /users/rad/glibc_build/bits/stdio_lim.d
> fopen_max=`sed -n 's/^#define OPEN_MAX //1p'
> /users/rad/glibc_build/bits/stdio_lim.hT`;         \
> filename_max=`sed -n 's/^#define PATH_MAX //1p'
> /users/rad/glibc_build/bits/stdio_lim.hT`;
>
>  fopen_max=${fopen_max:-16};                                     \
> filename_max=${filename_max:-1024};                             \
> if [ -z $iov_max ]; then                                        \
     ^^^^^^^^^^^^^^^^
>   define_iov_max="# undef IOV_MAX";                             \
> else                                                            \
>   define_iov_max="# define IOV_MAX $iov_max";                   \
> fi;                                                             \
> sed -e "s/@FOPEN_MAX@/$fopen_max/"                              \
>     -e "s/@FILENAME_MAX@/$filename_max/"                        \
>     -e "s/@L_tmpnam@/20/"                               \
>     -e "s/@TMP_MAX@/238328/"                            \
>     -e "s/@L_ctermid@/9/"                               \
>     -e "s/@L_cuserid@/9/"                               \
>     -e "s/@define_IOV_MAX@/$define_iov_max/"                    \
>     ../stdio-common/stdio_lim.h.in >
>
> /bin/sh: test: argument expected

Check whether test support -z and check the value of $iov_max at the
place above.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj



reply via email to

[Prev in Thread] Current Thread [Next in Thread]