Article View: gnu.gcc.help
Article #51404gcc 2.4.1, glib 1.06, SunOS 4.1.2 plea for help
From: Larry W. Virden
Date: Sat, 29 May 1993 09:49
Date: Sat, 29 May 1993 09:49
192 lines
13708 bytes
13708 bytes
This should not be this hard, I would think. I am TRYING to install the
glibc code in the above mentioned environment. I have had lots of difficulties.
Finally, someone yesterday mentioned that I really should use all the GNU
utilities during configuration, etc. So I tried that. I even deleted the
old copy of 1.06 and fetched a fresh copy.
When I tried to configure the copy, I got some warning msgs - things like:
Wrote config.make in /tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.06.
Wrote config.status in /tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.06.
gmake: fopen: sysd-dirs: No such file or directory
gmake: fopen: sysdeps/../sysd-Makefile: No such file or directory
but it went on so I had some hope. After quite a number of these types
of msgs, plus what appeared to be actions creating various of the files,
etc. I then got some messages like:
cd sysdeps/../; gcc -DHAVE_SYS_SIGLIST=1 -DHAVE__CTYPE_=1 -DHAVE_SYS_TERMIOS_H \
make-ioctls.c -o make-ioctls
In file included from make-ioctls.c:15:
/usr/include/sys/ioctl.h:23: warning: `ECHO' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/sys/termios.h:16
2: warning: this is the location of the previous definition
9
and quite a few of these types appeared. But again, things kept on moving along
so I had some hope.
When we got to the math functions, then we started getting some warnings
like statement has no effect, defined but not used, etc. All of those
no effect statements had me a bit worried, but make kept running, so I
just hung in there.
Things went along swimmingly for the most part. Well,
memset which got a warning about a shift >> .
And then
gcc ../sysdeps/unix/bsd/sun/sparc/vfork.S -c -I. -I.. -I../sysdeps/unix/bsd/sun
/sunos4 -I../sysdeps/unix/bsd/sun/sparc -I../sysdeps/unix/bsd/sun -I../sysdeps/u
nix/bsd -I../sysdeps/unix/sparc -I../sysdeps/unix -I../sysdeps/sparc -I../sysdep
s/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_LI
BC -o vfork.o
as: "/usr/tmp/cca08873.s", line 24: warning: last CTI in segment has empty delay
slot
and then in getttyent.c:
getttyent.c: In function `getttynam':
getttyent.c:53: warning: suggest parentheses around assignment used as truth val
ue
getttyent.c: In function `getttyent':
getttyent.c:127: warning: suggest parentheses around assignment used as truth va
lue
getttyent.c: In function `setttyent':
getttyent.c:187: warning: suggest parentheses around assignment used as truth va
lue
and in getusersh.c
getusersh.c: In function `initshells':
getusersh.c:108: warning: return from incompatible pointer type
getusersh.c:111: warning: return from incompatible pointer type
getusersh.c:115: warning: return from incompatible pointer type
getusersh.c:122: warning: return from incompatible pointer type
There were several other items which generated warnigns which I am not
going to mention here.
Finally, most of the functions were added to the libc.a being built.
Next, I did a gmake tests. When the makefile got to tst-printf.c,
there were a number of warning msgs about unknown formats, etc.- I
don't know if that is the intent here or not. Likewise, tst-strtol had
some warning msgs about decimal values being too large.
The tester program also got some msgs similar to tst-printf, about
unknown z format. I think I reported yesterday that the make tests failed
when it reached the grp testing - getpwuid is returning a null for
some reason.
I went ahead and did a make install, hoping that the failure of gwpwuid
would be a temporary set back - in many cases, folk use the default
libraries rather than the glibc anyways. This went well until it reached:
gmake -C assert/ subdir_install
gmake[1]: Entering directory `/tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.
06/assert'
gmake[1]: *** No rule to make target `libc.a'. Stop.
gmake[1]: Leaving directory `/tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.0
6/assert'
gmake: *** [assert/subdir_install] Error 1
At this point I was hosed, since I could not complete installation - but
with this much installed, further use of gcc was pretty much hosed, because
some of the items installed in the include directory rely on items installed
afterwards to be installed in place. All of the subdirectories should
be installed before the include/*.h files are installed...
Now when I try to do an install, I get:
In file included from /tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.06/sysdeps/unix/mk-local_lim.c:30:
/usr/include/sys/limits.h:6: warning: `CHAR_BIT' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:22: warning: this is the location of the previous definition
/usr/include/sys/limits.h:7: warning: `SCHAR_MIN' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:30: warning: this is the location of the previous definition
/usr/include/sys/limits.h:8: warning: `SCHAR_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:32: warning: this is the location of the previous definition
/usr/include/sys/limits.h:9: warning: `UCHAR_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:36: warning: this is the location of the previous definition
/usr/include/sys/limits.h:10: warning: `CHAR_MIN' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:46: warning: this is the location of the previous definition
/usr/include/sys/limits.h:11: warning: `CHAR_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:48: warning: this is the location of the previous definition
/usr/include/sys/limits.h:12: warning: `SHRT_MIN' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:53: warning: this is the location of the previous definition
/usr/include/sys/limits.h:13: warning: `SHRT_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:55: warning: this is the location of the previous definition
/usr/include/sys/limits.h:14: warning: `USHRT_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:59: warning: this is the location of the previous definition
/usr/include/sys/limits.h:15: warning: `INT_MIN' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:63: warning: this is the location of the previous definition
/usr/include/sys/limits.h:16: warning: `INT_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:65: warning: this is the location of the previous definition
/usr/include/sys/limits.h:17: warning: `UINT_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:69: warning: this is the location of the previous definition
/usr/include/sys/limits.h:18: warning: `LONG_MIN' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:74: warning: this is the location of the previous definition
/usr/include/sys/limits.h:19: warning: `LONG_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:76: warning: this is the location of the previous definition
/usr/include/sys/limits.h:20: warning: `ULONG_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:80: warning: this is the location of the previous definition
/usr/include/sys/limits.h:21: warning: `MB_LEN_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:26: warning: this is the location of the previous definition
gmake: *** [sysdeps/../mk-local_lim] Error 1
cwd=`pwd`; cd sysdeps/../; \
gcc -DHAVE_SYS_SIGLIST=1 -DHAVE__CTYPE_=1 -DHAVE_SYS_PARAM_H -DHAVE_SYS_LIMITS_H -DHAVE_LIMITS_H $cwd/sysdeps/unix/mk-local_lim.c -o mk-local_lim
In file included from /tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.06/sysdeps/unix/mk-local_lim.c:19:
/projects/gnu/sun4/include/sys/types.h:1: posix/sys/types.h: No such file or directory
In file included from /projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/sys/param.h:72, from /tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.06/sysdeps/unix/mk-local_lim.c:22:
/projects/gnu/sun4/include/sys/signal.h:1: signal/sys/signal.h: No such file or directory
In file included from /projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/sys/param.h:97, from /tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.06/sysdeps/unix/mk-local_lim.c:22:
/projects/gnu/sun4/include/sys/types.h:1: posix/sys/types.h: No such file or directory
In file included from /projects/gnu/sun4/include/features.h:141, from /projects/gnu/sun4/include/limits.h:26, from /tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.06/sysdeps/unix/mk-local_lim.c:26:
/projects/gnu/sun4/include/sys/cdefs.h:1: misc/sys/cdefs.h: No such file or directory
In file included from /projects/gnu/sun4/include/limits.h:30, from /tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.06/sysdeps/unix/mk-local_lim.c:26:
/projects/gnu/sun4/include/posix1_lim.h:1: posix/posix1_lim.h: No such file or directory
In file included from /projects/gnu/sun4/include/limits.h:34, from /tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.06/sysdeps/unix/mk-local_lim.c:26:
/projects/gnu/sun4/include/posix2_lim.h:1: posix/posix2_lim.h: No such file or directory
In file included from /tmp_mnt/projects/sprs_lwv/sprs_lwv/glibc/glibc-1.06/sysdeps/unix/mk-local_lim.c:30:
/usr/include/sys/limits.h:6: warning: `CHAR_BIT' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:22: warning: this is the location of the previous definition
/usr/include/sys/limits.h:7: warning: `SCHAR_MIN' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:30: warning: this is the location of the previous definition
/usr/include/sys/limits.h:8: warning: `SCHAR_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:32: warning: this is the location of the previous definition
/usr/include/sys/limits.h:9: warning: `UCHAR_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:36: warning: this is the location of the previous definition
/usr/include/sys/limits.h:10: warning: `CHAR_MIN' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:46: warning: this is the location of the previous definition
/usr/include/sys/limits.h:11: warning: `CHAR_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:48: warning: this is the location of the previous definition
/usr/include/sys/limits.h:12: warning: `SHRT_MIN' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:53: warning: this is the location of the previous definition
/usr/include/sys/limits.h:13: warning: `SHRT_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:55: warning: this is the location of the previous definition
/usr/include/sys/limits.h:14: warning: `USHRT_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:59: warning: this is the location of the previous definition
/usr/include/sys/limits.h:15: warning: `INT_MIN' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:63: warning: this is the location of the previous definition
/usr/include/sys/limits.h:16: warning: `INT_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:65: warning: this is the location of the previous definition
/usr/include/sys/limits.h:17: warning: `UINT_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:69: warning: this is the location of the previous definition
/usr/include/sys/limits.h:18: warning: `LONG_MIN' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:74: warning: this is the location of the previous definition
/usr/include/sys/limits.h:19: warning: `LONG_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:76: warning: this is the location of the previous definition
/usr/include/sys/limits.h:20: warning: `ULONG_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:80: warning: this is the location of the previous definition
/usr/include/sys/limits.h:21: warning: `MB_LEN_MAX' redefined
/projects/gnu/sun4/lib/gcc-lib/sparc-sun-sunos4.1/2.4.1/include/limits.h:26: warning: this is the location of the previous definition
gmake: *** [sysdeps/../mk-local_lim] Error 1
Can someone give me a pointer to resolving this problem?
--
:s
:s Larry W. Virden INET: lvirden@cas.org
:s Personal: 674 Falls Place, Reynoldsburg, OH 43068-1614
Technical Details
Message-ID:
<1993May29.103413.11868@cas.org>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!news.dfn.de!darwin.sura.net!wupost!uunet!caen!malgudi.oar.net!chemabs!lwv26Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f0358d9e0a5d8685,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-29 03:42:29 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!news.dfn.de!darwin.sura.net!wupost!uunet!caen!malgudi.oar.net!chemabs!lwv26 From: lwv26@cas.org (Larry W. Virden) Subject: gcc 2.4.1, glib 1.06, SunOS 4.1.2 plea for help Message-ID: <1993May29.103413.11868@cas.org> Sender: usenet@cas.org Reply-To: lvirden@cas.org (Larry W. Virden) Organization: Nedriv Software and Shoe Shiners, Uninc. Date: Sat, 29 May 1993 09:49:37 GMT Lines: 192