Article View: gnu.gcc.help
Article #49687GLIBC compilation problems
From: ksa
Date: Fri, 14 Jan 1994 17:54
Date: Fri, 14 Jan 1994 17:54
76 lines
4182 bytes
4182 bytes
We've been attempting to get glibc-1.06 compiled here but have been running into the following compilation error. It appears to occur not only for the "atan.c" file but all subroutines defined using the "__CONSTVALUE" and "DEFUN" macros. "atan.c" just happens to be the first one gmake hits. We then manually compiled the next one, "asinc.c", and got the same thing. First of all here's our "config.make" to show what configure did. Then I listed the gmake output just prior to and including the compilation error. It seems to me that the SPARC build is probably so bullet-proof by this point that it must be some idiotic thing we're not doing. Any chance someone can prove we really are idiots ? * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * config.make * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * # This file was generated automatically by configure. Do not edit. # Put configuration parameters in configparms instead. config-machine = sparc config-vendor = sun config-os = sunos4.1.3_U1 config-sysdirs = 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 prefix = /xshop/usr/lib/glibc-lib exec_prefix = /xshop/usr/lib/glibc-lib config-defines = -DHAVE_SYS_SIGLIST=1 -DHAVE__CTYPE_=1 INSTALL = /usr/bin/install -c INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) -m 644 RANLIB = ranlib stdarg.h = # The installed <stdarg.h> defines __gnuc_va_list. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * gmake results * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * gcc -M ../sysdeps/generic/atan.c -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 -DHAVE_SYS_SIGLIST=1 -DHAVE__CTYPE_=1 -D_LIBC | sed -e 's,atan\.o,atan.o atan.dep,' > atan.dep gmake[1]: Leaving directory `/ext/xshop/src/glibc-1.06/math' gmake[1]: Entering directory `/ext/xshop/src/glibc-1.06/math' gcc ../sysdeps/generic/atan.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 -DHAVE_SYS_SIGLIST=1 -DHAVE__CTYPE_=1 -D_LIBC -o atan.o ./sysdeps/generic/atan.c:25: conflicting types for `atan' /math.h:60: previous declaration of `atan' gmake[1]: *** [atan.o] Error 1 gmake[1]: Leaving directory `/ext/xshop/src/glibc-1.06/math' gmake: *** [math/subdir_lib] Error 1 gmake: Leaving directory `/ext/xshop/src/glibc-1.06' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Kirk Anderson INTERNET: ksa@topdown.com TopDown Design Solutions +1 603 888 8811 (work) Nashua, NH +1 603 424 4573 (home) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Technical Details
Message-ID:
<CJMIq9.JGy@topdown.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!uunet!noc.near.net!mv!topdown!newsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6741dac24d205731,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-14 08:37:41 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!uunet!noc.near.net!mv!topdown!news From: ksa@topdown.com Subject: GLIBC compilation problems Content-Type: TEXT/PLAIN; charset=US-ASCII Message-ID: <CJMIq9.JGy@topdown.com> Sender: news@topdown.com Organization: Topdown Design Solutions Mime-Version: 1.0 Date: Fri, 14 Jan 1994 17:54:35 GMT Lines: 77