[Lunar-bugs] [Lunar Linux 0000292]: portmap 6.0 still doesn't compile

Lunar bug reports list lunar-bugs at lunar-linux.org
Sun Sep 30 14:18:00 CEST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=292 
====================================================================== 
Reported By:                gb
Assigned To:                
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   292
Category:                   module
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Moonbase Version:           20070929.17 
Core Tools:                 Lunar 
Core Tools Version:         20070623 
====================================================================== 
Date Submitted:             09-30-2007 13:54 CEST
Last Modified:              09-30-2007 14:18 CEST
====================================================================== 
Summary:                    portmap 6.0 still doesn't compile
Description: 
(arch: x86_64)

#:make

cc -MM -O2 -Wall -Wstrict-prototypes *.c > .depend
cc -O2 -Wall -Wstrict-prototypes -fpie -DHOSTS_ACCESS -DCHECK_PORT
-DIGNORE_SIGCHLD      -DFACILITY=LOG_DAEMON   -c -o portmap.o portmap.c
cc -O2 -Wall -Wstrict-prototypes -fpie -DHOSTS_ACCESS -DCHECK_PORT
-DIGNORE_SIGCHLD      -DFACILITY=LOG_DAEMON   -c -o pmap_check.o
pmap_check.c
pmap_check.c: In function 'good_client':
pmap_check.c:117: warning: implicit declaration of function 'hosts_ctl'
cc -O2 -Wall -Wstrict-prototypes -fpie -DHOSTS_ACCESS -DCHECK_PORT
-DIGNORE_SIGCHLD      -DFACILITY=LOG_DAEMON   -c -o from_local.o
from_local.c
cc -pie  portmap.o pmap_check.o from_local.o  -lwrap -o portmap
/usr/bin/ld:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libwrap.a(update.o):
relocation R_X86_64_32S against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libwrap.a: could
not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [portmap] Error 1

====================================================================== 

---------------------------------------------------------------------- 
 dveatch - 09-30-07 14:18  
---------------------------------------------------------------------- 
Not seeing that problem here. And no. At this point do not comment out the
portmap CFLAGS/LDFLAGS Makefile. The error looks to be caused by
tcp_wrappers. Though that also compiled fine here. 

Perhaps try a relin of tcp_wrappers and then portmap. If that does not
correct the issue. Then try adding;

export CFLAGS="$CFLAGS -fPIC" 

to the BUILD of tcp_wrappers, then relin tcp_wrappers and portmap. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-30-07 13:54  gb             New Issue                                    
09-30-07 13:54  gb             Moonbase Version          => 20070929.17     
09-30-07 13:54  gb             Core Tools                => Lunar           
09-30-07 13:54  gb             Core Tools Version        => 20070623        
09-30-07 13:54  gb             Issue Monitored: gb                          
09-30-07 14:18  dveatch        Note Added: 0000648                          
======================================================================



More information about the Lunar-bugs mailing list