emerge dev-scheme/scheme48-1.8 fails with error: 'struct hostent' has no member named 'h_addr'. This is similar to bug 102185 and has the same fix. The as-needed bug (157188) has reappeared. The patch needed to be updated and put back into the ebuild. Reproducible: Always Steps to Reproduce: 1. emerge scheme48 2. 3. Actual Results: emerge dev-scheme/scheme48-1.8 fails with error: 'struct hostent' has no member named 'h_addr'. Once that is patched, emerge fails with the --as-needed flag. Expected Results: emerge should succeed. Here are the two necessary patches: ------------------------------------------------------------- scheme48-1.8-h_addr.patch diff -urwpN scheme48-1.8/c/unix/socket.c scheme48-1.8.chg/c/unix//socket.c --- scheme48-1.8/c/unix/socket.c 2008-06-16 12:15:39.781188837 -0700 +++ scheme48-1.8.chg/c/unix/socket.c 2008-06-16 12:33:08.619059318 -0700 @@ -351,7 +351,7 @@ gethostbyname_thread(void *void_handshak else handshake->errno_val = 0; - memcpy(handshake->host_addr, host->h_addr, handshake->host_length); + memcpy(handshake->host_addr, host->h_addr_list[ 0], handshake->host_length); } s48_note_external_event((long) handshake->event_uid); } @@ -382,7 +382,7 @@ s48_get_host_by_name(s48_value machine) free(handshake); if (host == NULL) s48_raise_os_error(h_errno); - return s48_enter_byte_vector(host->h_addr, host->h_length); + return s48_enter_byte_vector(host->h_addr_list[ 0 ], host->h_length); } else { ---------------------------------------------------------------------- scheme48-1.8-as-needed.patch diff -urwpN scheme48-1.8/Makefile.in scheme48-1.8.chg/Makefile.in --- scheme48-1.8/Makefile.in 2008-06-16 15:37:27.576861318 -0700 +++ scheme48-1.8.chg/Makefile.in 2008-06-16 15:53:50.762746764 -0700 @@ -286,8 +286,8 @@ $(VM): c/main.o $(OBJS) $(GC_OBJS) $(UNI c/scheme48.exp c/scheme48.def $(CC) $(LDFLAGS) $(LDFLAGS_VM) $(CFLAGS) -o $@ c/main.o \ $(OBJS) $(GC_OBJS) $(UNIX_OBJS) \ - $(LIBOBJS) $(LIBS) \ - $(EXTERNAL_OBJECTS) + $(LIBOBJS) \ + $(EXTERNAL_OBJECTS) $(LIBS) # Cygwin if test -x /usr/bin/dlltool; then \ dlltool --dllname $(VM).exe --output-lib $(VM).a --def $(srcdir)/c/scheme48.def; \
In what situation is scheme48-1.8-h_addr.patch needed?
(In reply to comment #1) > In what situation is scheme48-1.8-h_addr.patch needed? Sorry. Here is complete info. I'm using x86_64-pc-linux-gnu-4.3.1 dev-scheme/scheme48-1.8 USE="doc emacs" -------------------------------------------------------- The error message is: x86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ -DS48_HOST_ARCHITECTURE=\"x86_64-pc-linux-gnu\" -I ./c -I./c -I./c/bibop -march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -pthread -o c/unix/socket.o c/unix/socket.c c/unix/socket.c: In function ‘gethostbyname_thread’: c/unix/socket.c:354: error: ‘struct hostent’ has no member named ‘h_addr’ c/unix/socket.c: In function ‘s48_get_host_by_name’: c/unix/socket.c:385: error: ‘struct hostent’ has no member named ‘h_addr’ x86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ -DS48_HOST_ARCHITECTURE=\"x86_64-pc-linux-gnu\" -I ./c -I./c -I./c/bibop -march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -pthread -o c/unix/dynlink.o c/unix/dynlink.c make: *** [c/unix/socket.o] Error 1 ------------------------------------------------------------------- Here is emerge --info: Portage 2.1.5.6 (default-linux/amd64/2007.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 x86_64) ================================================================= System uname: 2.6.25-gentoo-r5 x86_64 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz Timestamp of tree: Wed, 18 Jun 2008 16:30:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r4 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ABI="amd64" ACCEPT_KEYWORDS="amd64 ~amd64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ANT_HOME="/usr/share/ant-core" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ARCH="amd64" ASFLAGS_x86="--32" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CCACHE_DIR="/var/tmp/ccache/" CCACHE_SIZE="2G" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer" CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLASSPATH="/usr/lib64/openoffice/program/classes/fax.jar:/usr/lib64/openoffice/program/classes/hsqldb.jar:/usr/lib64/openoffice/program/classes/query.jar:/usr/lib64/openoffice/program/classes/jurt.jar:/usr/lib64/openoffice/program/classes/xmerge.jar:/usr/share/xml-commons-external-1.3/lib/xml-apis-ext.jar:/usr/share/ant-core/lib/ant.jar:/usr/lib64/openoffice/program/classes/XSLTFilter.jar:/usr/lib64/openoffice/program/classes/juh.jar:/usr/lib64/openoffice/program/classes/officebean.jar:/usr/lib64/openoffice/program/classes/table.jar:/usr/lib64/openoffice/program/classes/unoloader.jar:/usr/share/gjdoc/lib/com-sun-tools-doclets-Taglet.jar:/usr/lib64/openoffice/program/classes/report.jar:/usr/lib64/openoffice/program/classes/agenda.jar:/usr/share/gjdoc/lib/gnu-classpath-tools-gjdoc.jar:/usr/share/javacup/lib/javacup-runtime.jar:/usr/lib64/openoffice/program/classes/form.jar:/usr/share/db-4.5/lib/db.jar:/usr/share/cyrus-sasl-2/lib/cyrus-sasl.jar:/usr/lib64/openoffice/program/classes/ScriptProviderForBeanShell.jar:/usr/share/libreadline-java/lib/libreadline-java.jar:/usr/lib64/openoffice/program/classes/java_uno.jar:/usr/share/xml-commons-external-1.3/lib/xml-apis.jar:/usr/lib64/openoffice/program/classes/XSLTValidate.jar:/usr/share/subversion/lib/svn-javahl.jar:/usr/lib64/openoffice/program/classes/js.jar:/usr/share/servletapi-2.4/lib/jsp-api.jar:/usr/share/xalan-serializer/lib/serializer.jar:/usr/lib64/openoffice/program/classes/pocketword.jar:/usr/share/xml-commons-resolver/lib/xml-commons-resolver.jar:/usr/share/xerces-2/lib/xercesImpl.jar:/usr/share/antlr/lib/antlr.jar:/usr/share/jakarta-regexp-1.3/lib/jakarta-regexp.jar:/usr/share/mDNSResponder/lib/dns_sd.jar:/usr/share/ant-core/lib/ant-launcher.jar:/usr/share/libidn/lib/libidn.jar:/usr/lib64/openoffice/program/classes/commonwizards.jar:/usr/share/bcel/lib/bcel.jar:/usr/share/servletapi-2.4/lib/servlet-api.jar:/usr/share/ant-core/lib/ant-bootstrap.jar:/usr/lib64/openoffice/program/classes/web.jar:/usr/share/gjdoc/lib/com-sun-javadoc.jar:/usr/lib64/openoffice/program/classes/letter.jar:/usr/lib64/openoffice/program/classes/ScriptFramework.jar:/usr/lib64/openoffice/program/classes/jut.jar:/usr/lib64/openoffice/program/classes/ScriptProviderForJavaScript.jar:/usr/lib64/openoffice/program/classes/aportisdoc.jar:/usr/share/xjavac-1/lib/xjavac.jar:/usr/lib64/openoffice/program/classes/XMergeBridge.jar:/usr/lib64/openoffice/program/classes/unoil.jar:/usr/lib64/openoffice/program/classes/sandbox.jar:/usr/share/xalan/lib/xalan.jar:/usr/share/bsh/lib/bsh.jar:/usr/lib64/openoffice/program/classes/sdbc_hsqldb.jar:/usr/lib64/openoffice/program/classes/writer2latex.jar:/usr/lib64/openoffice/program/classes/ScriptProviderForJava.jar:/usr/lib64/openoffice/program/classes/classes.jar:/usr/lib64/openoffice/program/classes/pexcel.jar:/usr/share/javacup/lib/javacup.jar:/usr/lib64/openoffice/program/classes/ridl.jar:." CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CVS_RSH="ssh" CXXFLAGS="-march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer" DEFAULT_ABI="amd64" DISPLAY=":0" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" ELIBC="glibc" EMERGE_DEFAULT_OPTS="-v --color y" EMERGE_WARNING_DELAY="10" FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" GAMBIT_IMPLEMENTATION_PATH="/usr/local/Gambit-C/current/" GCC_SPECS="" GDK_USE_XFT="1" GENERATION="2" GENTOO_MIRRORS=" http://mirror.espri.arizona.edu/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://cudlug.cudenver.edu/gentoo/ " GUILE_LOAD_PATH="/usr/share/guile/1.8" HG="/usr/bin/hg" HOME="/root" INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.1/info:/usr/share/info/emacs-22" INPUT_DEVICES="keyboard mouse" JAVAC="/etc/java-config-2/current-system-vm/bin/javac" JAVA_HOME="/etc/java-config-2/current-system-vm" JDK_HOME="/etc/java-config-2/current-system-vm" KDEDIRS="/usr:/usr/local:/usr/kde/3.5" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LIBDIR_amd64="lib64" LIBDIR_x86="lib32" LOGNAME="root" LS_COLORS="rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:" MAKEOPTS="-j5" MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.1/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/lib64/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man" MULTILIB_ABIS="amd64 x86" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)" NOCOLOR="false" OPENGL_PROFILE="nvidia" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/local/Gambit-C/current/bin:/root/.snow-site/current/bin" PKGDIR="/usr/portage/packages" PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig" PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib64/portage/bin" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="warn error log" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_NICENESS="19 " PORTAGE_PYM_PATH="/usr/lib64/portage/pym" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="10" PORTAGE_TMPDIR="/var/tmp" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/local-overlay" PWD="/root" PYTHONDOCS="/usr/share/doc/python-docs-2.5.1/html/lib" PYTHONPATH="/usr/lib64/portage/pym" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" ROOT="/" ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/local/Gambit-C/current/bin:/root/.snow-site/current/bin" RPMDIR="/usr/portage/rpm" SANE_CONFIG_DIR="/etc/sane.d" SBCL_HOME="/usr/lib64/sbcl" SBCL_SOURCE_ROOT="/usr/lib64/sbcl/src" SCHEME_LIBRARY_PATH="/usr/share/slib/" SHELL="/bin/bash" SHLVL="1" STAGE1_USE="nptl nptlonly unicode" SYMLINK_LIB="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" TEXINPUTS="/usr/lib64/ocaml/ocamldoc:" USB_DEVFS_PATH="/dev/bus/usb" USE="X a52 aac acl acpi alsa amd64 apache2 athena bash-completion berkdb bzip2 cairo cddb cdr cgi cli colordiff cracklib crypt css cups dbus divx dnd doc dri dvd dvdnav dvdr dvdread eds emacs emboss encode eolconv esd evo exif fam fame ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtkspell hal hddtemp iconv imagemagick imlib ipv6 isdnlog java javascript jpeg kde kdexdeltas kerberos latex ldap lm_sensors mad maildir midi mikmod mim mmx mp3 mpeg mplayer mplayer-bin mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl php png pop ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline realmedia reflection scanner sdl session snmp spell spl sse sse2 ssl subversion svg symlink tcpd threads tiff tk truetype type1 unicode usb vorbis wmp xcomposite xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" USER="root" USERLAND="GNU" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" VIDEO_CARDS="nvidia" VMHANDLE="blackdown-jdk-1.4.2" XAUTHORITY="/root/.xauthCMoSxd" XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share" _="/usr/bin/emerge"
Created attachment 157507 [details, diff] scheme48-1.8 ebuild's patch I haven't checked yet, about the --as-needed issue, but from a quick test, something like what I did in the patch above, seems to solve the issue, for glibc-2.8. I'm not sure, though, that it is the correct solution. Panagiotis
(In reply to comment #3) > Created an attachment (id=157507) [edit] > scheme48-1.8 ebuild's patch > > I haven't checked yet, about the --as-needed issue, but from a quick test, > something like what I did in the patch above, seems to solve the issue, for > glibc-2.8. I'm not sure, though, that it is the correct solution. > > Panagiotis > That works for me, modulo the need for an --as-needed patch. That is, with your patch alone, I get the following error, which disappears when the scheme48-1.8-as-needed.patch is added, in which case everything is fine. --------------------------------------------------------------- x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -rdynamic -pthread -march=nocona -msse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -pthread -o scheme48vm c/main.o \ c/scheme48vm-64.o c/extension.o c/free.o c/double_to_string.o c/bignum.o c/external.o c/external-lib.o c/external-init.o c/init.o c/scheme48-twospace-heap-64.o c/unix/misc.o c/unix/io.o c/unix/fd-io.o c/unix/event.o \ -lnsl -ldl -lm \ c/unix/socket.o c/unix/dynlink.o c/unix/sysexits.o c/fake/glue.o c/unix/dynlink.o: In function `shared_object_dlclose': dynlink.c:(.text+0x8b): undefined reference to `dlclose' dynlink.c:(.text+0xa1): undefined reference to `dlerror' c/unix/dynlink.o: In function `shared_object_dlsym': dynlink.c:(.text+0xd8): undefined reference to `dlsym' dynlink.c:(.text+0xfb): undefined reference to `dlerror' c/unix/dynlink.o: In function `shared_object_dlopen': dynlink.c:(.text+0x1ad): undefined reference to `dlopen' dynlink.c:(.text+0x1f3): undefined reference to `dlerror' collect2: ld returned 1 exit status make: *** [scheme48vm] Error 1
Hi, Tonight, I mailed for these issues and sent a patch to upstream. I also added a temporary ebuild in gentoo-lisp-overlay. Marijn, when you find time, please review it, and tell me if you want me to add it to the main tree, so we will be able to close "yet another" bug :). Shaughan, thank you for reporting this, and for your patches. Panagiotis