On Mon, Nov 19, 2012 at 02:49:47PM +0100, Michael Olbrich wrote:
> On Sun, Nov 18, 2012 at 10:33:01PM +0100, Thomas Weber wrote:
> > On 11/15/2012 11:02 PM, Thomas Weber wrote:
> > >I tried to build cpufrequtils and got the following error messages
> > >when building libtool.
> > >I use ptxdist-2012.10.0
> > >
> > >Regards,
> > >Thomas
> > >
> > >------------------------
> > >target: cpufrequtils.get
> > >------------------------
> > >
> > >finished target cpufrequtils.get
> > >
> > >----------------------------
> > >target: cpufrequtils.extract
> > >----------------------------
> > >
> > >extract: pkg_src=my_ptxdist/src/cpufrequtils-007.tar.bz2
> > >extract: 
> > >pkg_extract_dir=my_ptxdist/platform-devkit8000/build-target/cpufrequtils-007
> > >
> > >pkg_patch_dir:     'ptxdist-2012.10.0/patches/cpufrequtils-007'
> > >pkg_patch_series: 'ptxdist-2012.10.0/patches/cpufrequtils-007/series'
> > >
> > >patchin: patch: apply 'ptxdist-2012.10.0/patches/cpufrequtils-007/series'
> > >applying '0001-Fix-various-issues-while-cross-compiling.patch'
> > >patching file Makefile
> > >patchin: patch: done
> > >
> > >finished target cpufrequtils.extract
> > >
> > >-----------------------------
> > >target: libtool-1.5.26.tar.gz
> > >-----------------------------
> > >
> > >
> > >error: empty parameter to 'ptxd_make_get'
> > >
> > >
> > After adding debug switch, the output shows, that libtool was not available.
> > After downloading it manually it works.
> 
> Yes, this is a broken. cpufrequtils needs libtool. But the cross-libtool
> package is broken: The URL is not set correctly. There is also the
> host-autotools-libtool package.
> If changed cpufrequtils to use host-autotools-libtool instead and removed
> cross-libtool.

Forget this. libtool must be a cross tool here.

> You can also fix the URL:
> 
> CROSS_LIBTOOL_URL = $(LIBLTDL_URL)

This is the correct fix.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to