Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123686 - net-misc/proxytunnel 1.6.0 cannot be compiled with USE=static
Summary: net-misc/proxytunnel 1.6.0 cannot be compiled with USE=static
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 02:00 UTC by Alexander Skwar
Modified: 2006-02-22 15:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Skwar 2006-02-22 02:00:31 UTC
[ebuild     U ] net-misc/proxytunnel-1.6.0 [1.5.0] USE="static" 0 kB

emerge fails:

cc -o proxytunnel -O2 -march=pentium4 -pipe -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=1  -static -lssl -lcrypto proxytunnel.o base64.o setproctitle.o io.o http.o basicauth.o messages.o cmdline.o ntlm.o
proxytunnel.o: In function `tunnel_connect':
proxytunnel.c:(.text+0x89): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
proxytunnel.o: In function `do_ssl':
proxytunnel.c:(.text+0x1dd): undefined reference to `SSL_library_init'
proxytunnel.c:(.text+0x1e2): undefined reference to `SSLv2_client_method'
proxytunnel.c:(.text+0x1ec): undefined reference to `SSL_load_error_strings'
proxytunnel.c:(.text+0x1f9): undefined reference to `SSL_CTX_new'
proxytunnel.c:(.text+0x206): undefined reference to `SSL_new'
proxytunnel.c:(.text+0x21d): undefined reference to `SSL_set_fd'
proxytunnel.c:(.text+0x22a): undefined reference to `SSL_connect'
io.o: In function `copy_to_SSL':
io.c:(.text+0x18b): undefined reference to `SSL_write'
io.o: In function `copy_from_SSL':
io.c:(.text+0x1d4): undefined reference to `SSL_read'
io.o: In function `cpio':
io.c:(.text+0x45f): undefined reference to `SSL_get_fd'
io.c:(.text+0x4b2): undefined reference to `SSL_free'
io.c:(.text+0x4bf): undefined reference to `SSL_CTX_free'
ntlm.o: In function `hmac_md5':
ntlm.c:(.text+0x471): undefined reference to `MD5_Init'
ntlm.c:(.text+0x48b): undefined reference to `MD5_Update'
ntlm.c:(.text+0x4a1): undefined reference to `MD5_Update'
ntlm.c:(.text+0x4b0): undefined reference to `MD5_Final'
ntlm.c:(.text+0x4b8): undefined reference to `MD5_Init'
ntlm.c:(.text+0x4d2): undefined reference to `MD5_Update'
ntlm.c:(.text+0x4e9): undefined reference to `MD5_Update'
ntlm.c:(.text+0x4f8): undefined reference to `MD5_Final'
ntlm.c:(.text+0x511): undefined reference to `MD5_Init'
ntlm.c:(.text+0x521): undefined reference to `MD5_Update'
ntlm.c:(.text+0x53a): undefined reference to `MD5_Final'
ntlm.o: In function `build_ntlm2_response':
ntlm.c:(.text+0x5fa): undefined reference to `MD4_Init'
ntlm.c:(.text+0x60e): undefined reference to `MD4_Update'
ntlm.c:(.text+0x620): undefined reference to `MD4_Final'
collect2: ld gab 1 als Ende-Status zur
Comment 1 Alexander Skwar 2006-02-22 02:00:31 UTC
[ebuild     U ] net-misc/proxytunnel-1.6.0 [1.5.0] USE="static" 0 kB

emerge fails:

cc -o proxytunnel -O2 -march=pentium4 -pipe -DHAVE_GETOPT_LONG -DUSE_SSL -DSETPROCTITLE -DSPT_TYPE=1  -static -lssl -lcrypto proxytunnel.o base64.o setproctitle.o io.o http.o basicauth.o messages.o cmdline.o ntlm.o
proxytunnel.o: In function `tunnel_connect':
proxytunnel.c:(.text+0x89): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
proxytunnel.o: In function `do_ssl':
proxytunnel.c:(.text+0x1dd): undefined reference to `SSL_library_init'
proxytunnel.c:(.text+0x1e2): undefined reference to `SSLv2_client_method'
proxytunnel.c:(.text+0x1ec): undefined reference to `SSL_load_error_strings'
proxytunnel.c:(.text+0x1f9): undefined reference to `SSL_CTX_new'
proxytunnel.c:(.text+0x206): undefined reference to `SSL_new'
proxytunnel.c:(.text+0x21d): undefined reference to `SSL_set_fd'
proxytunnel.c:(.text+0x22a): undefined reference to `SSL_connect'
io.o: In function `copy_to_SSL':
io.c:(.text+0x18b): undefined reference to `SSL_write'
io.o: In function `copy_from_SSL':
io.c:(.text+0x1d4): undefined reference to `SSL_read'
io.o: In function `cpio':
io.c:(.text+0x45f): undefined reference to `SSL_get_fd'
io.c:(.text+0x4b2): undefined reference to `SSL_free'
io.c:(.text+0x4bf): undefined reference to `SSL_CTX_free'
ntlm.o: In function `hmac_md5':
ntlm.c:(.text+0x471): undefined reference to `MD5_Init'
ntlm.c:(.text+0x48b): undefined reference to `MD5_Update'
ntlm.c:(.text+0x4a1): undefined reference to `MD5_Update'
ntlm.c:(.text+0x4b0): undefined reference to `MD5_Final'
ntlm.c:(.text+0x4b8): undefined reference to `MD5_Init'
ntlm.c:(.text+0x4d2): undefined reference to `MD5_Update'
ntlm.c:(.text+0x4e9): undefined reference to `MD5_Update'
ntlm.c:(.text+0x4f8): undefined reference to `MD5_Final'
ntlm.c:(.text+0x511): undefined reference to `MD5_Init'
ntlm.c:(.text+0x521): undefined reference to `MD5_Update'
ntlm.c:(.text+0x53a): undefined reference to `MD5_Final'
ntlm.o: In function `build_ntlm2_response':
ntlm.c:(.text+0x5fa): undefined reference to `MD4_Init'
ntlm.c:(.text+0x60e): undefined reference to `MD4_Update'
ntlm.c:(.text+0x620): undefined reference to `MD4_Final'
collect2: ld gab 1 als Ende-Status zurück
make: *** [proxytunnel] Fehler 1

!!! ERROR: net-misc/proxytunnel-1.6.0 failed.


I was able to compile proxytunnel 1.5.0 with USE=static.

[11:00:22 vz6tml@dewup-ww02:~/public_html/Software/Unix/Linux/Gentoo] $ emerge info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r3.05 i686)
=================================================================
System uname: 2.6.15-gentoo-r3.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/Gentoo/portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="        http://localhost/~vz6tml/gentoo-files http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files    http://localhost/gentoo-files/ http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/      http://localhost/~vz6tml/gentoo-files/ http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/       http://alexander.skwar.name/~askwar/stuff/gentoo/           http://mirrors.sec.informatik.tu-darmstadt.de:80/gentoo/        http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/        ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     http://localhost:60081/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     http://localhost:60080/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/        http://localhost:60082/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
        ftp://pandemonium.tiscali.de/pub/gentoo/        http://localhost:60083/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/    http://distro.ibiblio.org/pub/linux/distributions/gentoo/       ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/    http://localhost:60084/ http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/Gentoo/portage/packages"
PORTAGE_TMPDIR="/Gentoo/portage/tmp"
PORTDIR="/Gentoo/portage/tree"
PORTDIR_OVERLAY="/Gentoo/portage/local-tree/misc"
SYNC="rsync://localhost:10873/gentoo-portage"
USE="x86 7zip GAPING_SECURITY_HOLE X acl apache apache2 artworkextra async avi bash-completion berkdb bitmap-fonts ccache ck-server crypt css cups dbus dvd encode exif fat firefox font-server foomaticdb gd gdbm gif gmail gmailtimestamps gnome gpm gs gtk gtk2 hal hfs hpn i8x0 iconv id3 imagemagick imlib imlib2 java javascript jfs jikes jpeg kde kdeenablefinal lame libg++ libwww linuxthreads-tls lm_sensors lynxkeymap lzo lzw lzw-tiff mad mailbox maildir matroska mmx motif mozsvg mp3 mpeg mpm-worker msdav mysql mysqli ncurses network nfs nis nls no-old-linux no-suexec nodrm nomusic nptl ntlm offensive ogg oggvorbis pam pcre pdflib perl php png posix postfix python qt quicktime rar rdesktop readline real recode reiserfs samba sapdb screen sdl sendfile sftp smp sockets spell sse sse2 ssl stream subtitles symlink sysvipc tcpd tiff transcode truetype truetype-fonts unicode usb userlocales utf8 vim vim-pager vim-with-x vorbis webdav win32codecs xattr xfs xinetd xml2 xmms xv xvid yp zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
Comment 2 SpanKY gentoo-dev 2006-02-22 15:25:29 UTC
fixed in 1.6.0-r1