[Nix-dev] binutils missing libbfd

Nawal Husnoo nawal at husnoo.com
Fri Mar 3 08:58:09 CET 2017


Hi, I found from my old notes that I ended up using simavr before anyway...
so I've now compiled that instead, although the examples and tests gave me
grief so I rm -r themand put a dummy Makefile in the directory. Not tested
it with my code yet.

cheers,

Nawal

On 3 March 2017 at 07:35, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:

> On 3 March 2017 at 00:27, Nawal Husnoo <nawal at husnoo.com> wrote:
> > Hi,
> >
> > I'm trying to build simulavr, using the script below. However, it's not
> > finding *binutils-2.27/lib/libbfd.so
> >
> >
> > bfd search-
> > /nix/store/43cpb15i8jjing1gwn8rmbg80lhl8kqv-binutils-2.27/lib/libbfd.la
> in
> > "include" and ""... no
> > configure: error:
> >     Could not locate libbfd.so/libbfd.a and/or bfd.h.
> >
> >
> > But it's possible to have it installed:
> >
> > $ ls /nix/store/*binutils*/lib/libbfd*
> > /nix/store/2mvblw8kq86ncaidjrp3x4rssy1lhlhi-binutils-2.27/lib/libbfd-2.
> 27.so
> > /nix/store/2mvblw8kq86ncaidjrp3x4rssy1lhlhi-binutils-2.27/lib/libbfd.la
> > /nix/store/2mvblw8kq86ncaidjrp3x4rssy1lhlhi-binutils-2.27/lib/libbfd.so
> > /nix/store/b7sf8p9fgjlrwr1ndwvwdy71lfnn02pv-binutils-2.27-lib/lib/libbf
> d-2.27.so
> > /nix/store/b7sf8p9fgjlrwr1ndwvwdy71lfnn02pv-binutils-2.27-lib/lib/libbf
> d.la
> > /nix/store/b7sf8p9fgjlrwr1ndwvwdy71lfnn02pv-binutils-2.27-lib/lib/
> libbfd.so
> > /nix/store/cwxfpjwr4fp6mhyfc46pj0apy4w4dwyr-binutils-2.27-lib/lib/libbf
> d-2.27.so
> > /nix/store/cwxfpjwr4fp6mhyfc46pj0apy4w4dwyr-binutils-2.27-lib/lib/libbf
> d.la
> > /nix/store/cwxfpjwr4fp6mhyfc46pj0apy4w4dwyr-binutils-2.27-lib/lib/
> libbfd.so
> > /nix/store/j1myzr7f9139kckijcy6yqv4l62vml8j-binutils-2.27-lib/lib/libbf
> d-2.27.so
> > /nix/store/j1myzr7f9139kckijcy6yqv4l62vml8j-binutils-2.27-lib/lib/libbf
> d.la
> > /nix/store/j1myzr7f9139kckijcy6yqv4l62vml8j-binutils-2.27-lib/lib/
> libbfd.so
>
> I had the same problem in 2014[1]. Didn't solve it :-)
>
> According to "./configure --help", the binutils package needs to be
> the one cross-compiled for AVR.
>
> Do you know how simulavr compares to simavr? simulavr seems pretty
> dead, whereas simavr maintainer just put out a release. Or is simulavr
> simply "completed"?
>
> [1]: https://github.com/bjornfor/nixpkgs/tree/avr-stuff
>
> Best regards,
> Bjørn Forsman
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170303/37cbf04e/attachment-0001.html>


More information about the nix-dev mailing list