Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `__imp_xsltGenericDebug' #685

Open
mjschuh opened this issue May 3, 2020 · 0 comments
Open

undefined reference to `__imp_xsltGenericDebug' #685

mjschuh opened this issue May 3, 2020 · 0 comments

Comments

@mjschuh
Copy link

@mjschuh mjschuh commented May 3, 2020

This issue affects

Installing github-pages gem.

What did you do (e.g., steps to reproduce)

I am trying to install github-pages on Cygwin64.
I was able to install Jekyll with
gem install jekyll bundler
That worked fine.
I am unable to install github-pages. I have tried:
gem install --clear-sources github-pages

What did you expect to happen?

I was expecting a successful installation

What happened instead?

I received the following error message. It appears that it is related to building the libxslt.

mschuh@ARSLW18061203 ~/src/jekyll_myblog
$ gem install --clear-sources github-pages
Building native extensions. This could take a while...
ERROR: Error installing github-pages:
ERROR: Failed to build gem native extension.

current directory: /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri

/usr/bin/ruby.exe -I /usr/share/rubygems -r ./siteconf20200502-63000-1ionkq4.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.4.0
checking for gzdopen() in -lz... yes
checking for iconv... yes


IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.10
with the following patches applied:
- 0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
- 0002-Remove-script-macro-support.patch
- 0003-Update-entities-to-remove-handling-of-ssi.patch
- 0004-libxml2.la-is-in-top_builddir.patch
- 0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch

Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:

gem install nokogiri -- --use-system-libraries
    [--with-xml2-config=/path/to/xml2-config]
    [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

bundle config build.nokogiri --use-system-libraries
bundle install

Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors.


Extracting libxml2-2.9.10.tar.gz into tmp/x86_64-pc-cygwin/ports/libxml2/2.9.10... OK
Running git apply with /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch... OK
Running git apply with /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/patches/libxml2/0002-Remove-script-macro-support.patch... OK
Running git apply with /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch... OK
Running git apply with /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/patches/libxml2/0004-libxml2.la-is-in-top_builddir.patch... OK
Running git apply with /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/patches/libxml2/0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch... OK
Running 'configure' for libxml2 2.9.10... OK
Running 'compile' for libxml2 2.9.10... OK
Running 'install' for libxml2 2.9.10... OK
Activating libxml2 2.9.10 (from /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ports/x86_64-pc-cygwin/libxml2/2.9.10)...


IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxslt-1.1.34.

Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:

gem install nokogiri -- --use-system-libraries
    [--with-xml2-config=/path/to/xml2-config]
    [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

bundle config build.nokogiri --use-system-libraries
bundle install

Extracting libxslt-1.1.34.tar.gz into tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34... OK
Running 'configure' for libxslt 1.1.34... OK
Running 'compile' for libxslt 1.1.34... ERROR, review '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/compile.log' to see what happened. Last lines are:

/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0x738f): undefined reference to __imp_xsltGenericDebug' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0x7399): undefined reference to __imp_xsltGenericDebugContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0x74d5): undefined reference to __imp_xsltGenericDebug' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0x74df): undefined reference to __imp_xsltGenericDebugContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(saxon.o):saxon.c:(.text+0x613): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(saxon.o):saxon.c:(.text+0x61d): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x4f): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x59): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x110): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x11a): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x22e): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x238): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x41a): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x424): undefined reference to __imp_xsltGenericErrorContext'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:484: xsltproc.exe] Error 1
make[2]: Leaving directory '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/libxslt-1.1.34/xsltproc'
make[1]: *** [Makefile:615: all-recursive] Error 1
make[1]: Leaving directory '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/libxslt-1.1.34'
make: *** [Makefile:441: all] Error 2

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--help
--clean
--use-system-libraries
--enable-static
--disable-static
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--enable-cross-build
--disable-cross-build
/home/mschuh/.gem/ruby/2.6.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:402:in block in execute': Failed to complete compile task (RuntimeError) from /home/mschuh/.gem/ruby/2.6.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:373:in chdir'
from /home/mschuh/.gem/ruby/2.6.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:373:in execute' from /home/mschuh/.gem/ruby/2.6.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:115:in compile'
from /home/mschuh/.gem/ruby/2.6.0/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:154:in cook' from extconf.rb:365:in block (2 levels) in process_recipe'
from extconf.rb:257:in block in chdir_for_build' from extconf.rb:256:in chdir'
from extconf.rb:256:in chdir_for_build' from extconf.rb:364:in block in process_recipe'
from extconf.rb:262:in tap' from extconf.rb:262:in process_recipe'
from extconf.rb:574:in `

'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

/home/mschuh/.gem/ruby/2.6.0/extensions/x86_64-cygwin/2.6.0/nokogiri-1.10.9/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9 for inspection.
Results logged to /home/mschuh/.gem/ruby/2.6.0/extensions/x86_64-cygwin/2.6.0/nokogiri-1.10.9/gem_make.out

Here are the contents of the compile.log file:

cat /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/compile.log
make all-recursive
make[1]: Entering directory '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/libxslt-1.1.34'
Making all in libxslt
make[2]: Entering directory '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/libxslt-1.1.34/libxslt'
CC attrvt.lo
CC xslt.lo
CC xsltlocale.lo
CC xsltutils.lo
CC pattern.lo
CC templates.lo
CC variables.lo
CC keys.lo
CC numbers.lo
CC extensions.lo
CC extra.lo
CC functions.lo
CC namespaces.lo
CC imports.lo
CC attributes.lo
CC documents.lo
CC preproc.lo
CC transform.lo
CC security.lo
CCLD libxslt.la
make[2]: Leaving directory '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/libxslt-1.1.34/libxslt'
Making all in libexslt
make[2]: Entering directory '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/libxslt-1.1.34/libexslt'
CC exslt.lo
CC common.lo
CC crypto.lo
CC math.lo
CC sets.lo
CC functions.lo
CC strings.lo
CC date.lo
CC saxon.lo
CC dynamic.lo
CCLD libexslt.la
make[2]: Leaving directory '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/libxslt-1.1.34/libexslt'
Making all in xsltproc
make[2]: Entering directory '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/libxslt-1.1.34/xsltproc'
CC xsltproc.o
CCLD xsltproc.exe
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0x9e2): undefined reference to __imp_xsltMaxDepth' xsltproc.o:xsltproc.c:(.text+0x9e2): relocation truncated to fit: R_X86_64_PC32 against undefined symbol __imp_xsltMaxDepth'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0x9f5): undefined reference to __imp_xsltMaxVars' xsltproc.o:xsltproc.c:(.text+0x9f5): relocation truncated to fit: R_X86_64_PC32 against undefined symbol __imp_xsltMaxVars'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0xbc7): undefined reference to __imp_xsltMaxDepth' xsltproc.o:xsltproc.c:(.text+0xbc7): relocation truncated to fit: R_X86_64_PC32 against undefined symbol __imp_xsltMaxDepth'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0xbde): undefined reference to __imp_xsltMaxVars' xsltproc.o:xsltproc.c:(.text+0xbde): relocation truncated to fit: R_X86_64_PC32 against undefined symbol __imp_xsltMaxVars'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0x1070): undefined reference to __imp_exsltLibraryVersion' xsltproc.o:xsltproc.c:(.text+0x1070): relocation truncated to fit: R_X86_64_PC32 against undefined symbol __imp_exsltLibraryVersion'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0x107a): undefined reference to __imp_xsltEngineVersion' xsltproc.o:xsltproc.c:(.text+0x107a): relocation truncated to fit: R_X86_64_PC32 against undefined symbol __imp_xsltEngineVersion'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0x10be): undefined reference to __imp_xsltLibxmlVersion' xsltproc.o:xsltproc.c:(.text+0x10be): relocation truncated to fit: R_X86_64_PC32 against undefined symbol __imp_xsltLibxmlVersion'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0x10c7): undefined reference to __imp_xsltLibxsltVersion' xsltproc.o:xsltproc.c:(.text+0x10c7): relocation truncated to fit: R_X86_64_PC32 against undefined symbol __imp_xsltLibxsltVersion'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0x10e1): undefined reference to __imp_exsltLibxmlVersion' xsltproc.o:xsltproc.c:(.text+0x10e1): relocation truncated to fit: R_X86_64_PC32 against undefined symbol __imp_exsltLibxmlVersion'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0x10ea): undefined reference to __imp_exsltLibexsltVersion' xsltproc.o:xsltproc.c:(.text+0x10ea): relocation truncated to fit: R_X86_64_PC32 against undefined symbol __imp_exsltLibexsltVersion'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0x1db3): undefined reference to __imp_xsltMaxDepth' xsltproc.o:xsltproc.c:(.text+0x1db3): additional relocation overflows omitted from the output /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: xsltproc.o:xsltproc.c:(.text+0x1e5d): undefined reference to __imp_xsltMaxVars'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(common.o):common.c:(.text+0x2a5): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(common.o):common.c:(.text+0x2af): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(math.o):math.c:(.text+0x109): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(math.o):math.c:(.text+0x113): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x47): undefined reference to __imp_xsltGenericDebug' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x51): undefined reference to __imp_xsltGenericDebugContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x194): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x19e): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1c5): undefined reference to __imp_xsltGenericDebug' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1cf): undefined reference to __imp_xsltGenericDebugContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x250): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x25a): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x441): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x44b): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x5b1): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x5d9): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x611): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x639): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x69e): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x6a8): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xa73): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xa9b): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xb95): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xb9f): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xbff): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xc0d): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xd61): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xd6b): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xe31): undefined reference to __imp_xsltGenericDebug' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xe43): undefined reference to __imp_xsltGenericDebugContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xf36): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0xf40): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1006): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1010): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x10b2): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x10bc): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1175): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x117f): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1202): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x120c): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1388): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1392): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x13bb): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x13c5): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x141d): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1427): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1528): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1532): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x158e): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1598): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x1653): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(functions.o):functions.c:(.text+0x165d): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(strings.o):strings.c:(.text+0x874): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(strings.o):strings.c:(.text+0x87e): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(strings.o):strings.c:(.text+0xa32): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(strings.o):strings.c:(.text+0xa3c): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(strings.o):strings.c:(.text+0xbe4): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(strings.o):strings.c:(.text+0xbee): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(strings.o):strings.c:(.text+0xeb2): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(strings.o):strings.c:(.text+0xebc): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0xa15): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0xa1f): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0xae2): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0xaec): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0x738f): undefined reference to __imp_xsltGenericDebug' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0x7399): undefined reference to __imp_xsltGenericDebugContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0x74d5): undefined reference to __imp_xsltGenericDebug' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(date.o):date.c:(.text+0x74df): undefined reference to __imp_xsltGenericDebugContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(saxon.o):saxon.c:(.text+0x613): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(saxon.o):saxon.c:(.text+0x61d): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x4f): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x59): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x110): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x11a): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x22e): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x238): undefined reference to __imp_xsltGenericErrorContext'
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x41a): undefined reference to __imp_xsltGenericError' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: ../libexslt/.libs/libexslt.a(dynamic.o):dynamic.c:(.text+0x424): undefined reference to __imp_xsltGenericErrorContext'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:484: xsltproc.exe] Error 1
make[2]: Leaving directory '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/libxslt-1.1.34/xsltproc'
make[1]: *** [Makefile:615: all-recursive] Error 1
make[1]: Leaving directory '/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/tmp/x86_64-pc-cygwin/ports/libxslt/1.1.34/libxslt-1.1.34'
make: *** [Makefile:441: all] Error 2

compile.log
compile.log

Here are the contents of the mkmkf.log file:

$ cat /home/mschuh/.gem/ruby/2.6.0/extensions/x86_64-cygwin/2.6.0/nokogiri-1.10.9/mkmf.log
"gcc -o conftest.exe -I/usr/include/ruby-2.6 -I/usr/include/ruby-2.6/ruby/backward -I/usr/include/ruby-2.6 -I. -D_XOPEN_SOURCE -D_GNU_SOURCE -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 conftest.c -L. -L/usr/lib -L. -fstack-protector-strong -lruby260 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char *argv)
4: {
5: return 0;
6: }
/
end */

"gcc -I/usr/include/ruby-2.6 -I/usr/include/ruby-2.6/ruby/backward -I/usr/include/ruby-2.6 -I. -D_XOPEN_SOURCE -D_GNU_SOURCE -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror -c conftest.c"
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: int main() {return 0;}
/
end */

have_library: checking for gzdopen() in -lz... -------------------- yes

"gcc -o conftest.exe -I/usr/include/ruby-2.6 -I/usr/include/ruby-2.6/ruby/backward -I/usr/include/ruby-2.6 -I. -D_XOPEN_SOURCE -D_GNU_SOURCE -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline conftest.c -L. -L/usr/lib -L. -fstack-protector-strong -lruby260 -lz "
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <zlib.h>
4:
5: /top/
6: extern int t(void);
7: int main(int argc, char *argv)
8: {
9: if (argc > 1000000) {
10: int (
volatile tp)(void)=(int (
)(void))&t;
11: printf("%d", (tp)());
12: }
13:
14: return 0;
15: }
16: int t(void) { void ((volatile p)()); p = (void (()()))gzdopen; return !p; }
/
end */


have_iconv?: checking for iconv... -------------------- yes

"gcc -o conftest.exe -I/usr/include/ruby-2.6 -I/usr/include/ruby-2.6/ruby/backward -I/usr/include/ruby-2.6 -I. -D_XOPEN_SOURCE -D_GNU_SOURCE -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline conftest.c -L. -L/usr/lib -L. -fstack-protector-strong -lruby260 "
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: /tmp/ccZs1nMZ.o: in function main': /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/conftest.c:8: undefined reference to libiconv_open'
/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/conftest.c:8:(.text.startup+0x14): relocation truncated to fit: R_X86_64_PC32 against undefined symbol libiconv_open' /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: /home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/conftest.c:9: undefined reference to libiconv'
/home/mschuh/.gem/ruby/2.6.0/gems/nokogiri-1.10.9/ext/nokogiri/conftest.c:9:(.text.startup+0x2d): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `libiconv'
collect2: error: ld returned 1 exit status
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <stdlib.h>
4: #include <iconv.h>
5:
6: int main(void)
7: {
8: iconv_t cd = iconv_open("", "");
9: iconv(cd, NULL, NULL, NULL, NULL);
10: return EXIT_SUCCESS;
11: }
/
end */

"gcc -o conftest.exe -I/usr/include/ruby-2.6 -I/usr/include/ruby-2.6/ruby/backward -I/usr/include/ruby-2.6 -I. -D_XOPEN_SOURCE -D_GNU_SOURCE -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline conftest.c -L. -L/usr/lib -L. -fstack-protector-strong -lruby260 -liconv "
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <stdlib.h>
4: #include <iconv.h>
5:
6: int main(void)
7: {
8: iconv_t cd = iconv_open("", "");
9: iconv(cd, NULL, NULL, NULL, NULL);
10: return EXIT_SUCCESS;
11: }
/
end */


Additional information

None.

Please help me successfully install github-pages.

Thanks,
Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.