Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 13786

Summary: dante 1.1.1[23] ebuild fails to compile
Product: Gentoo Linux Reporter: Felix Buenemann <atmosfear>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 1.4_rc2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Felix Buenemann 2003-01-12 11:32:05 UTC
Hi, 
 
dante 1.1.12 and 1.1.13(masked) both fail to build inside sockd/sockd_request.c with an 
undefined reference to __bswap_32, which isn't reference directly in that file, maybe pulled in 
from a macro. 
 
Please point me to a bug reporting document for gentoo if available or tell me if you need further 
information. 
 
Here's the output from dante 1.1.13 compiled with gcc-3.2.1-rc6: 
---snip--- 
gcc -DSOCKS_SERVER=1 -DSOCKS_CLIENT=0 -DSOCKSLIBRARY_DYNAMIC=1 -O2 -o 
sockd sockd.o sockd_child.o io.o sockd_negotiate.o sockd_request.o method_uname.o 
debug.o udp_util.o util.o log.o socket.o sockd_socket.o config_parse.o config_scan.o config.o 
sockd_util.o sockd_protocol.o serverconfig.o lib_protocol.o hostcache.o interposition.o 
broken.o serr.o sockd_io.o accesscheck.o auth_password.o auth_pam.o tostring.o redirect.o 
redirect_key.o addressmatch.o checkmodule.o bandwidth.o bandwidth_key.o getifa.o  
../libscompat/.libs/libscompat.al -lwrap -lpam -lnsl -lcrypt -ldl 
sockd_request.o(.text+0xa6b): In function `dorequest': 
/var/tmp/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:391: undefined 
reference to `__bswap_32' 
sockd_request.o(.text+0x11c0):/var/tmp/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:1107: 
undefined reference to `__bswap_32' 
sockd_request.o(.text+0x212f):/var/tmp/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:752: 
undefined reference to `__bswap_32' 
sockd_request.o(.text+0x2568):/var/tmp/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:543: 
undefined reference to `__bswap_32' 
sockd_request.o(.text+0x2998):/var/tmp/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:370: 
undefined reference to `__bswap_32' 
sockd_request.o(.text+0x2a47):/var/tmp/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:352: 
more undefined references to `__bswap_32' follow 
collect2: ld returned 1 exit status 
---snip--- 
 
--  
Best Regards, 
   Felix
Comment 1 SpanKY gentoo-dev 2003-01-12 11:50:31 UTC

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