🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50167

Problems compiling glibc 1.06

#50167
From: Rich Winkel
Date: Tue, 09 Nov 1993 23:14
19 lines
1525 bytes
I'm trying to compile it for sparc-sun-sunos4.1.
I have gnu ld and gcc 2.5.0.
The configure seems to work fine, but when I do a 'make lib', I get:
gcc ../sysdeps/generic/atan.c -c -O -Wall -Wwrite-strings -fstrength-reduce -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 -DHAVE_GNU_LD  -D_LIBC -o atan.o
../sysdeps/generic/atan.c:25: conflicting types for `atan'
./math.h:60: previous declaration of `atan'
make[1]: *** [atan.o] Error 1

My configparms file looks like this:
override stddef.h =
stdarg.h :=
localtime = US/Central
posixrules = US/Central
+defines = -DHAVE_GNU_LD
default_cflags := -O

What did I do wrong???

Rich
Technical Details
Message-ID: <rich.752886842@pencil>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!wupost!mont!pencil!rich

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,1eaa8d49d6ed6309,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-09 15:41:54 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!wupost!mont!pencil!rich
From: rich@pencil.cs.missouri.edu (Rich Winkel)
Subject: Problems compiling glibc 1.06
Message-ID: <rich.752886842@pencil>
Keywords: help!!!
Sender: news@mont.cs.missouri.edu
Nntp-Posting-Host: pencil.cs.missouri.edu
Organization: University of Missouri
Date:  9 Nov 93 23:14:02 GMT
Lines: 19