Re: Building master on Debian systems fails at linking "check".

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Nov 2011 10:12:55 -0800
Brian Gix <bgix@xxxxxxxxxxxxxx> wrote:

> Hi Antonio,
> 
> On 11/14/2011 6:56 AM, Antonio Ospite wrote:
> > Hi,
> >
> > building the master branch (a267bc2) on Debian systems fails when
> > linking the unit tests to the "check" library with this error:
> >
[...]

> >
> > The workaround I use for now is:
> >    - run "make" and let the build system fail
> >    - show the  failing command with "make V=1"
> >    - change -lcheck to -lcheck_pic and rerun the command
> >    - "make" will now proceed with the build
> 
> 
> This same solution works for me:  After running ./bootstrap-configure, I 
> change the unit_test_eir_LDADD line in the Makefile to:
> 
> unit_test_eir_LDADD = lib/libbluetooth-private.la -lglib-2.0   -lcheck_pic
>

Eh Brian, this is surely a little prettier than what I am doing :)

> There is probably a way to make this happen automatically, but I don't 
> know enough about the configure mechanism to know how to do this.
>

I think using a “libcheck_pic aware” m4 macro is the way to go, ideally
this should be provided in the check package itself, I'll try asking the
Debian maintainers if there is no interest for a solution in BlueZ.

Regards,
   Antonio

-- 
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?

Attachment: pgpee7B08dZDp.pgp
Description: PGP signature


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux