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

Bug 16843

Summary: dante 1.1.13 fails to compile with some CFLAGS
Product: Gentoo Linux Reporter: Marco Mascherpa (RETIRED) <mascherpa>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marco Mascherpa (RETIRED) gentoo-dev 2003-03-04 12:48:25 UTC
dante 1.1.13 fails to compile with my CFLAGS
(-march=athlon-mp -mcpu=athlon-mp -O3 -pipe -m3dnow -mmmx
-funroll-loops -falign-functions=4 -frerun-loop-opt
-frerun-cse-after-loop -fforce-addr).
this is the error message i get:

gcc -DSOCKS_SERVER=1 -DSOCKS_CLIENT=0 -march=athlon-mp -mcpu=athlon-mp -O3 -pipe
-m3dnow -mmmx -funroll-loops -falign-functions=4 -frerun-loop-opt
-frerun-cse-after-loop -fforce-addr -g -pipe -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 -lpam -lnsl -lcrypt -ldl
sockd_request.o(.text+0x909): In function `dorequest':
/usr/portage/buildir/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:391:
undefined reference to `__bswap_32'
sockd_request.o(.text+0xfec):/usr/portage/buildir/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:1107:
undefined reference to `__bswap_32'
sockd_request.o(.text+0x1eff):/usr/portage/buildir/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:752:
undefined reference to `__bswap_32'
sockd_request.o(.text+0x22b8):/usr/portage/buildir/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:543:
undefined reference to `__bswap_32'
sockd_request.o(.text+0x261f):/usr/portage/buildir/portage/dante-1.1.13/work/dante-1.1.13/sockd/sockd_request.c:370:
undefined reference to `__bswap_32'
sockd_request.o(.text+0x2681):/usr/portage/buildir/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
make[1]: *** [sockd] Error 1
make[1]: Leaving directory
`/usr/portage/buildir/portage/dante-1.1.13/work/dante-1.1.13/sockd'
make: *** [all-recursive] Error 1

!!! ERROR: net-misc/dante-1.1.13 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! compile problem

emerging setting CFLAGS="" works fine.
It's a problem already known, isn't it?
Comment 1 SpanKY gentoo-dev 2003-03-04 14:35:38 UTC
emerge rsync and try again 

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