mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Koller <clemens.koller@embeon.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Libtool error when building mysql on ptxdist 2013.12.0
Date: Tue, 26 May 2015 12:35:26 +0200	[thread overview]
Message-ID: <55644C6E.7030608@embeon.de> (raw)
In-Reply-To: <4A4E10012FB6044186795E3D889C223D28AD807D@Beluga.ocean.de>

Hello!

> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/sql'
> /bin/bash ../libtool --preserve-dup-deps --tag=CXX   --mode=link g++  -O3    -fno-implicit-templates -fno-exceptions -fno-rtti -static -rdynamic  -o gen_lex_hash gen_lex_hash.o ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a ../zlib/libz.la  -lpthread -lcrypt -lnsl -lm  -lpthread 
> libtool: link: cannot find the library `../zlib/libz.la' or unhandled argument `../zlib/libz.la'
> make[1]: *** [gen_lex_hash] Error 1

It seems like the dependency to libz is missing or broken.

FYI:
http://www.cvedetails.com/vulnerability-list/vendor_id-185/product_id-316/Mysql-Mysql.html
(a.k.a. Don't ride dead horses. ;-)

Regards,

Clemens

-- 

On 05/26/2015 12:25 PM, Kai Hasenklever wrote:
> Hello,
> 
> I am using the following ptxdist-configuration for a TQ-Group ARM9-Board (tqma28-aa):
> 
> - Ptxdist 2013.12.0
> - OSELAS Toolchain 2013.12.2
> - BSP revision 0109
> (as recommended on http://support.tq-group.com/doku.php?id=en:arm:tqma28:linux)
> 
> When trying to compile mysql (5.1.14-beta) the following error occurs:
> 
> $ ptxdist go
> 
> -----------------
> target: mysql.get
> -----------------
> 
> finished target mysql.get
> 
> ---------------------
> target: mysql.extract
> ---------------------
> 
> extract: pkg_src=TQ-ARM-BSP-REV.0109/src/mysql-5.1.14-beta.tar.gz
> extract: pkg_extract_dir=TQ-ARM-BSP-REV.0109/platform-tqma28/build-target/mysql-5.1.14-beta
> 
> pkg_patch_dir:     'ptxdist-2013.12.0/patches/mysql-5.1.14-beta'
> pkg_patch_series:  'ptxdist-2013.12.0/patches/mysql-5.1.14-beta/series'
> 
> patchin: quilt: apply 'ptxdist-2013.12.0/patches/mysql-5.1.14-beta/series'
> Applying patch mysql-5.0.26_configure.in
> patching file configure.in
> 
> Applying patch mysql-5.0.26_comp_err_gen_lex_hash.diff
> patching file extra/Makefile.am
> patching file configure.in
> patching file sql/Makefile.am
> 
> Applying patch mysql-5.0.26_factorial.diff
> patching file dbug/Makefile.am
> 
> Applying patch mysql-5.1.14-beta-query_cache.diff
> patching file sql/sql_class.cc
> 
> Applying patch mysql-5.1.14-beta-install-to-usr-lib.diff
> patching file libmysql/Makefile.shared
> 
> Now at patch mysql-5.1.14-beta-install-to-usr-lib.diff
> patchin: quilt: done
> 
> finished target mysql.extract
> 
> --------------------------
> target: host-mysql.compile
> --------------------------
> 
> # we need a comp_err tool
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/include && PATH=$PATH make
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/include'
> make  all-am
> make[2]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/include'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/include'
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/include'
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/mysys && PATH=$PATH make libmysys.a
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/mysys'
> make[1]: `libmysys.a' is up to date.
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/mysys'
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/dbug && PATH=$PATH make libdbug.a
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/dbug'
> make[1]: `libdbug.a' is up to date.
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/dbug'
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/strings && PATH=$PATH make libmystrings.a
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/strings'
> make[1]: `libmystrings.a' is up to date.
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/strings'
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/extra && PATH=$PATH make comp_err
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/extra'
> make[1]: `comp_err' is up to date.
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/extra'
> # we need sql/gen_lex_hash
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/storage/myisam && PATH=$PATH make libmyisam.a
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/storage/myisam'
> make[1]: `libmyisam.a' is up to date.
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/storage/myisam'
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/storage/myisammrg && PATH=$PATH make libmyisammrg.a
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/storage/myisammrg'
> make[1]: `libmyisammrg.a' is up to date.
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/storage/myisammrg'
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/storage/heap && PATH=$PATH make libheap.a
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/storage/heap'
> make[1]: `libheap.a' is up to date.
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/storage/heap'
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/vio && PATH=$PATH make libvio.a
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/vio'
> make[1]: `libvio.a' is up to date.
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/vio'
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/regex && PATH=$PATH make libregex.a
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/regex'
> make[1]: `libregex.a' is up to date.
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/regex'
> cd /home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/sql && PATH=$PATH make gen_lex_hash
> make[1]: Entering directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/sql'
> /bin/bash ../libtool --preserve-dup-deps --tag=CXX   --mode=link g++  -O3    -fno-implicit-templates -fno-exceptions -fno-rtti -static -rdynamic  -o gen_lex_hash gen_lex_hash.o ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a ../zlib/libz.la  -lpthread -lcrypt -lnsl -lm  -lpthread 
> libtool: link: cannot find the library `../zlib/libz.la' or unhandled argument `../zlib/libz.la'
> make[1]: *** [gen_lex_hash] Error 1
> make[1]: Leaving directory `/ssd_user/dev/linux/TQ-ARM-BSP-REV.0109/platform-tqma28/build-host/mysql-5.1.14-beta/sql'
> make: *** [/home/jabba/dev/TQ-ARM-BSP-REV.0109/platform-tqma28/state/host-mysql.compile] Error 2
> 
> Hope someone can point me into the right direction, how to fix this.
> 
> Greetings,
> Kai Hasenklever
> 
> 
> 

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2015-05-26 10:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 10:25 Kai Hasenklever
2015-05-26 10:35 ` Clemens Koller [this message]
2015-05-26 11:04   ` Kai Hasenklever
2015-05-26 11:25     ` Gieseler, Christian
2015-05-26 11:56       ` Kai Hasenklever
2015-05-26 12:52         ` Gieseler, Christian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55644C6E.7030608@embeon.de \
    --to=clemens.koller@embeon.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox