Bug 101717
Summary: | hpux not defined when compiling rpmio | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Dano Carroll <dano> | ||||||
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||||
Status: | CLOSED UPSTREAM | QA Contact: | Mike McLean <mikem> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 8.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | parisc11 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-11-16 00:10:38 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: | |||||||||
Attachments: |
|
Description
Dano Carroll
2003-08-05 23:50:29 UTC
Created attachment 93418 [details]
Change hpux defines to __hpux
The same problem (hpux not defined) also causes compilation of rpmrpc.c to fail: source='rpmrpc.c' object='rpmrpc.lo' libtool=yes \ depfile='.deps/rpmrpc.Plo' tmpdepfile='.deps/rpmrpc.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -I../zlib -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c -o rpmrpc.lo `test -f 'rpmrpc.c' || echo './'`rpmrpc.c rm -f .libs/rpmrpc.lo /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -I../zlib -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c rpmrpc.c -MT rpmrpc.lo -MD -MP -MF .deps/rpmrpc.TPlo -fPIC -DPIC -o .libs/rpmrpc.lo rpmrpc.c: In function `vfs_parse_ls_lga': rpmrpc.c:649: warning: comparison is always false due to limited range of data type rpmrpc.c: In function `ftpReaddir': rpmrpc.c:1291: error: structure has no member named `d_off' rpmrpc.c:1293: error: structure has no member named `d_type' rpmrpc.c: In function `Glob': rpmrpc.c:1437: warning: assignment from incompatible pointer type rpmrpc.c:1438: warning: assignment from incompatible pointer type rpmrpc.c:1439: warning: assignment from incompatible pointer type Created attachment 93419 [details]
Same fix of hpux define fro rpmrpc.c
Fixed in rpm cvs, should be in rpm-4.4.3-0.50 when built. Thanks for patch and patience. |