discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] CMake builds vs Autotools builds


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] CMake builds vs Autotools builds
Date: Mon, 5 Dec 2011 10:56:49 -0500

On Mon, Dec 5, 2011 at 10:35 AM, Josh Blum <address@hidden> wrote:


On 12/05/2011 05:30 AM, Tom Rondeau wrote:
> On Mon, Dec 5, 2011 at 12:58 AM, Marcus D. Leech <address@hidden> wrote:
>
>> I ran into a problem tonight when I tried to build gr-fcd -- it didn't
>> like the /usr/local/lib/libgnuradio*.la
>>  files that some previous Gnu Radio build had left lying around.  So, I
>> thought I'd do a make uninstall
>>  make; sudo make install from the CMake side, and everything would be
>> peachy.  Well, no.  The CMake
>>  side doesn't update those artifacts, it seems, so if you want a to
>> build an auto-tools based "add on",
>>  like gr-fcd, you had better make sure that you've recently done an
>> auto-tools build of Gnu Radio, so
>>  that the *.la artifacts are up-to-date.  This caused me grief because
>> at some point, around October 31,
>>  I'd done an auto-tools build that produced *syntactically invalid*
>>  *.la files, but since I'd subsequently
>>  moved my life over to CMake, I guess I never noticed, until I had to
>> build gr-fcd as an "add on".
>
>
>
> Thanks, Marcus. I've been wondering if/when that was going to bite us in
> the ass. Josh and I worked on it a bit a while ago, but we didn't know any
> case where it wouldn't work. All I knew was that they were building
> different .la files. We'll have to investigate this again now that there's
> a known need.
>
> Also, this is exactly why we have the parallel builds as we work out the
> kinks in cmake.
>
> Tom
>
>

http://gnuradio.org/cgit/gnuradio.git/commit/?id=56fcd5f9b22af33976f9413d3a9d0aec41a7b556

-josh

Marcus, would you be up for trying that? The resulting la files do not match what comes out of autotools. We don't know if they will work, despite their differences, and it'd be good to know.

Thanks,
Tom


reply via email to

[Prev in Thread] Current Thread [Next in Thread]