Bug 132903 - libXdmcp.a prevents compilation of gdm
Summary: libXdmcp.a prevents compilation of gdm
Status: CLOSED DUPLICATE of bug 131130
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11   
(Show other bugs)
Version: rawhide
Hardware: x86_64 Linux
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2004-09-19 03:21 UTC by Warren Togami
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 19:05:42 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Warren Togami 2004-09-19 03:21:38 UTC
Description of problem:
gcc -O2 -g -pipe -m64 -o gdm-binary -pie gdm.o display.o slave.o
server.o misc.o auth.o cookie.o xdmcp.o choose.o filecheck.o md5.o
verify-pam.o errorgui.o gdm-net.o getvt.o -Wl,--export-dynamic  -lpam
-lselinux -lattr -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/X11R6/lib64 -lXdmcp
-lXau -lX11 -lXext /usr/lib64/libpopt.so -lXinerama
-L/home/builder/rpmbuild/BUILD/gdm- -lvicious
/usr/bin/ld: /usr/X11R6/lib64/libXdmcp.a(Fill.o): relocation
R_X86_64_PC32 against `recvfrom@@GLIBC_2.2.5' can not be used when
making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

<warren> /usr/bin/ld: /usr/X11R6/lib64/libXdmcp.a(Fill.o): relocation
R_X86_64_PC32 against `recvfrom@@GLIBC_2.2.5' can not be used when
making a shared object; recompile with -fPIC
<foo> warren: if a library is only available as an archive, it must be
compiled with -fpic
<foo> warren: so that the files can be in a DSO.  tell mharris to fix it
<warren> Is it "correct" for me to -fPIC here, or whack mharris and
wait until it is fixed?
<foo> warren: owen also said, I think, that compiling a DSO is strange
<foo> warren: no, you have to recompile libXdmcp.a

Version-Release number of selected component (if applicable):

Comment 1 Mike A. Harris 2004-09-19 10:38:38 UTC

*** This bug has been marked as a duplicate of 131130 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:05:42 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.