Article View: gnu.gcc.help
Article #51383Re: glibc-1.06 make lib error
From: Andreas Schuch
Date: Thu, 27 May 1993 13:24
Date: Thu, 27 May 1993 13:24
56 lines
3955 bytes
3955 bytes
Scott Crosbie (crosbie@mercury.cs.clemson.edu) wrote:
: Has anyone succesfully compiled glibc-1.06 on a sparc2 running sunos4.1.3?
: I am running configure with -sparc-sun-sunos4.1.3, --with-gnu-ld, and
: --with gnu-as options.
: I get the following error message while making lib:
: gcc ../sysdeps/unix/bsd/__setsid.c -c -Wall -Wwrite-strings -g -I. -I.. -I../sysdeps/unix/bsd/sun/sunos4 -I../sysdeps/unix/bsd/sun/sparc -I../sysdeps/unix/bsd/sun -I../sysdeps/unix/bsd -I../sysdeps/unix/sparc -I../sysdeps/unix -I../sysdeps/sparc -I../sysdeps/unix/common -I../sysdeps/posix -I../sysdeps/ieee754 -I../sysdeps/unix/inet -I../sysdeps/generic -I../sysdeps/stub -D__SIZE_TYPE__=unsigned -DHAVE_SYS_SIGLIST=1 -DHAVE__CTYPE_=1 -DHAVE_GNU_LD -DHAVE_GNU_AS -D_LIBC -o __setsid.o
: *Initialization*:1: warning: `__SIZE_TYPE__' redefined
: ../sysdeps/unix/bsd/__setsid.c: In function `__setsid':
: ../sysdeps/unix/bsd/__setsid.c:52: `TIOCNOTTY' undeclared (first use this function)
: ../sysdeps/unix/bsd/__setsid.c:52: (Each undeclared identifier is reported only once
: ../sysdeps/unix/bsd/__setsid.c:52: for each function it appears in.)
: make[1]: *** [__setsid.o] Error 1
: make: *** [posix/subdir_lib] Error 1
: Does anyone know why its bombing?
: Thanks,
: Scott Crosbie
: Clemson University Math Dept.
: crosbie@math.clemson.edu
: Scott Crosbie, Clemson University Math Science Dept.
I have the same problem when compiling glibc-1.06 on sun4 with
sunos4.1.3.
The only header file in the glibc-1.06 package containing a
declaration of `TIOCNOTTY' is sysdeps/unix/bsd/bsd4.4/ioctls.h.
So I added the line
#include <bsd4.4/ioctls.h>
to __setsid.c.
Then the compilation aborts when making
sysdeps/unix/bsd/__isatty.c ('TIOCGET' undeclared). This can also be solved
by including <bsd4.4/ioctls.h> to __isatty.c.
The next error occurs with tcsetattr.c:
gcc ../sysdeps/unix/bsd/sun/sunos4/tcsetattr.c -c -Wall -Wwrite-strings -g -I. -I../sysdeps/unix/bsd/sun/sunos4 -I../sysdeps/unix/bsd/sun/sparc -I../sysdeps/unix/bsd/sun -I../sysdeps/unix/bsd -I../sysdeps/unix/sparc -I../sysdeps/unix -I../sysdeps/sparc -I../sysdeps/unix/common -I../sysdeps/posix -I../sysdeps/ieee754 -I../sysdeps/unix/inet -I../sysdeps/generic -I../sysdeps/stub -DHAVE_SYS_SIGLIST=1 -DHAVE__CTYPE_=1 -D_LIBC -o tcsetattr.o
./sysdeps/unix/bsd/sun/sunos4/tcsetattr.c: In function `tcsetattr':
./sysdeps/unix/bsd/sun/sunos4/tcsetattr.c:35: `TCSETS' undeclared (first use this function)
./sysdeps/unix/bsd/sun/sunos4/tcsetattr.c:35: (Each undeclared identifier is reported only once
./sysdeps/unix/bsd/sun/sunos4/tcsetattr.c:35: for each function it appears in.)
./sysdeps/unix/bsd/sun/sunos4/tcsetattr.c:38: `TCSETSW' undeclared (first use this function)
./sysdeps/unix/bsd/sun/sunos4/tcsetattr.c:41: `TCSETSF' undeclared (first use this function)
make: *** [tcsetattr.o] Error 1
make: *** [termios/subdir_lib] Error 1
There is no file in the glibc-1.06 package with definitions of
`TCSETS', `TCSETSW', and `TCSETSF'.
Can anyone help to get this thing working?
Thanks.
Andreas Schuch
schuch@physik.uni-kl.de
Fachbereich Physik, Universitaet Kaiserslautern, Germany
Technical Details
Message-ID:
<1993May27.132410.6260@rhrk.uni-kl.de>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!math.fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!sun.rhrk.uni-kl.de!pamuk.physik.uni-kl.de!schuchReferences:
<1993May25.181251.20712@hubcap.clemson.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,9e363ee6e27e82f9 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-27 07:01:56 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!math.fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!sun.rhrk.uni-kl.de!pamuk.physik.uni-kl.de!schuch From: schuch@physik.uni-kl.de (Andreas Schuch) Subject: Re: glibc-1.06 make lib error Message-ID: <1993May27.132410.6260@rhrk.uni-kl.de> Sender: news@rhrk.uni-kl.de Organization: University of Kaiserslautern, Germany X-Newsreader: TIN [version 1.1 PL8] References: <1993May25.181251.20712@hubcap.clemson.edu> Date: Thu, 27 May 1993 13:24:10 GMT Lines: 56