🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49816

Troubles installing gnu library on SunOS 4.1.3

#49816
From: Christian Engel
Date: Mon, 20 Dec 1993 10:45
117 lines
6781 bytes
I tried to install the gnu library on my system.
Machine:   Sparcstation IPC
System:    SunOs 4.1.3
Hostname:  primel

I want the gnu stuff located in `/usr/gnu'. The gcc version is 2.5.7. I used
the following specifications in `configparms' (I'm not sure where to prepend
an `override' since I can't read it from the installation advices):

    override stddef.h =
    override prefix = /usr/gnu
    override stdarg.h =
    override localtime = MET
    defines = -DHAVE_GNU_LD
    override CC = gcc

Then I called `configure' yielding the following response:

    No target given.  Trying to guess target...
    Configuring the GNU C library in /usr/tmp2/glibc-1.06
    on primel for sparc-sun-sunos4.1.3.
    Using system-dependent files from directories:
            unix/bsd/sun/sunos4
            unix/bsd/sun/sparc
            unix/bsd/sun
            unix/bsd
            unix/sparc
            unix
            sparc
            unix/common
            posix
            ieee754
            unix/inet
            generic
            stub
    checking for install
    checking for ranlib
    checking for gcc
    checking how to run the C preprocessor
    checking for signed size_t type
    running configure fragment for unix
    running configure fragment for unix/common
    checking for sys_siglist
    checking for _sys_siglist
    checking for _ctype_
    checking for __ctype_
    checking for __ctype
    checking for _ctype__
    Wrote config.make in /usr/tmp2/glibc-1.06.
    Wrote config.status in /usr/tmp2/glibc-1.06.


I added `__CONSTVALUE' to some math functions which don't match their prototype
in `math/math.h' otherwise. But now I get the following error messages by `make
lib':

    ../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[1]: *** [tcsetattr.o] Error 1
    ../sysdeps/unix/bsd/tcgetpgrp.c: In function `tcgetpgrp':
    ../sysdeps/unix/bsd/tcgetpgrp.c:30: `TIOCGPGRP' undeclared (first use this function)
    ../sysdeps/unix/bsd/tcgetpgrp.c:30: (Each undeclared identifier is reported only once
    ../sysdeps/unix/bsd/tcgetpgrp.c:30: for each function it appears in.)
    make[1]: *** [tcgetpgrp.o] Error 1
    ../sysdeps/unix/bsd/tcsetpgrp.c: In function `tcsetpgrp':
    ../sysdeps/unix/bsd/tcsetpgrp.c:29: `TIOCSPGRP' undeclared (first use this function)
    ../sysdeps/unix/bsd/tcsetpgrp.c:29: (Each undeclared identifier is reported only once
    ../sysdeps/unix/bsd/tcsetpgrp.c:29: for each function it appears in.)
    make[1]: *** [tcsetpgrp.o] Error 1
    ../sysdeps/unix/bsd/tcdrain.c: In function `tcdrain':
    ../sysdeps/unix/bsd/tcdrain.c:34: `TIOCGETP' undeclared (first use this function)
    ../sysdeps/unix/bsd/tcdrain.c:34: (Each undeclared identifier is reported only once
    ../sysdeps/unix/bsd/tcdrain.c:34: for each function it appears in.)
    ../sysdeps/unix/bsd/tcdrain.c:35: `TIOCSETP' undeclared (first use this function)
    make[1]: *** [tcdrain.o] Error 1
    ../sysdeps/unix/bsd/sun/sunos4/tcflow.c: In function `tcflow':
    ../sysdeps/unix/bsd/sun/sunos4/tcflow.c:28: `TCXONC' undeclared (first use this function)
    ../sysdeps/unix/bsd/sun/sunos4/tcflow.c:28: (Each undeclared identifier is reported only once
    ../sysdeps/unix/bsd/sun/sunos4/tcflow.c:28: for each function it appears in.)
    make[1]: *** [tcflow.o] Error 1
    ../sysdeps/unix/bsd/sun/sunos4/tcflush.c: In function `tcflush':
    ../sysdeps/unix/bsd/sun/sunos4/tcflush.c:28: `TCFLSH' undeclared (first use this function)
    ../sysdeps/unix/bsd/sun/sunos4/tcflush.c:28: (Each undeclared identifier is reported only once
    ../sysdeps/unix/bsd/sun/sunos4/tcflush.c:28: for each function it appears in.)
    make[1]: *** [tcflush.o] Error 1
    ../sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: In function `__tcgetattr':
    ../sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c:30: `TCGETS' undeclared (first use this function)
    ../sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c:30: (Each undeclared identifier is reported only once
    ../sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c:30: for each function it appears in.)
    make[1]: *** [__tcgetatr.o] Error 1
    make[1]: Target `subdir_lib' not remade because of errors.
    make: *** [termios/subdir_lib] Error 1
    ../sysdeps/unix/bsd/gtty.c: In function `gtty':
    ../sysdeps/unix/bsd/gtty.c:28: `TIOCGETP' undeclared (first use this function)
    ../sysdeps/unix/bsd/gtty.c:28: (Each undeclared identifier is reported only once
    ../sysdeps/unix/bsd/gtty.c:28: for each function it appears in.)
    make[1]: *** [gtty.o] Error 1
    ../sysdeps/unix/bsd/stty.c: In function `stty':
    ../sysdeps/unix/bsd/stty.c:28: `TIOCSETP' undeclared (first use this function)
    ../sysdeps/unix/bsd/stty.c:28: (Each undeclared identifier is reported only once
    ../sysdeps/unix/bsd/stty.c:28: for each function it appears in.)
    make[1]: *** [stty.o] Error 1
    make[1]: Target `subdir_lib' not remade because of errors.
    make: *** [misc/subdir_lib] Error 1
    make[1]: fopen: sysdeps/../config.make: No such file or directory

What do I make wrong? Has the installation procedure of the gnu library not
been tested for the SunOS 4.1 ? How do I fix the error?
-- 
/////  Christian Engel                       Lehrstuhl fuer Informatik IV  //
////  Tel: +49-241-8021412                                   RWTH Aachen  ///
///  Fax: +49-241-8021429                                  Ahornstr. 55  ////
//  krischan@informatik.rwth-aachen.de         D-52074 Aachen, Germany  /////
Technical Details
Message-ID: <2f3vnk$8oq@urmel.informatik.rwth-aachen.de>
Path: arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!primel!krischan

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a10ef7aa6dd54832,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-12-20 02:45:48 PST
Path: arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!primel!krischan
From: krischan@primel.informatik.rwth-aachen.de (Christian Engel)
Newsgroups: gnu.gcc.help
Subject: Troubles installing gnu library on SunOS 4.1.3
Date: 20 Dec 1993 10:45:08 GMT
Organization: Rechnerbetrieb Informatik - RWTH Aachen
Lines: 117
Message-ID: <2f3vnk$8oq@urmel.informatik.rwth-aachen.de>
NNTP-Posting-Host: primel.informatik.rwth-aachen.de
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit