Bug 5823

Summary: rpm-3.0.3 configure problem - lib/rpmmalloc.c
Product: [Retired] Red Hat Linux Reporter: benedict
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-04-13 11:02:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description benedict 1999-10-11 08:13:08 UTC
With libz installed as shared library only, ie.
libz.so.1.1.3 exists, but libz.a does not, the configure
script incorrectly infers, that
ac_cv_header_stdc=no

Next, compilation of lib/rpmmalloc.c fails, as it needs the
definition of EXIT_FAILURE.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../build -I../popt
-I/usr/local/include -I../intl -I../misc -g -O2
-D__BIT_TYPES_DEFINED__ -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes
-Wno-char-subscripts -c rpmmalloc.c -o rpmmalloc.o
rpmmalloc.c: In function `vmefail':
rpmmalloc.c:6: `EXIT_FAILURE' undeclared (first use in this
function)
rpmmalloc.c:6: (Each undeclared identifier is reported only
once
rpmmalloc.c:6: for each function it appears in.)

Comment 1 Jeff Johnson 1999-10-11 15:49:59 UTC
What platform?

Comment 2 benedict 1999-10-11 15:55:59 UTC
platforms: irix6.5
I suppose, if you set $ac_cv_header_stdc=no in config.cache, it will
not build on linux either, but that's just a conjecture.

Comment 3 Jeff Johnson 2000-04-13 11:02:59 UTC
Fixed in cvs.

Comment 4 Ralph Bean 2017-02-24 20:48:01 UTC
Package request has been approved: https://admin.stg.fedoraproject.org/pkgdb/package/modules/haproxy