# Gr-air will not link correctly on 64 bit Ubuntu 12.04 says incompatible with

**URL:** <https://www.ruby-forum.com/t/gr-air-will-not-link-correctly-on-64-bit-ubuntu-12-04-says-incompatible-with/234934>\
**Category:** GNU Radio\
**Created:** [May 19, 2013, 6:56pm UTC](https://www.ruby-forum.com/t/gr-air-will-not-link-correctly-on-64-bit-ubuntu-12-04-says-incompatible-with/234934 "2013-05-19T18:56:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [May 19, 2013, 6:56pm UTC](https://www.ruby-forum.com/t/gr-air-will-not-link-correctly-on-64-bit-ubuntu-12-04-says-incompatible-with/234934/1 "2013-05-19T18:56:23Z")

</div>

Hello discuss-gnuradio list this is Lee M,

Making the gr-air application on a 64 bit Ubuntu 12.04 computer stops  
with a linking error.

I found the Wiki instruction about editing /etc/ld.so.conf

The wiki entry is:  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall#Broken-libtool-on-Debian-and-Ubuntu](http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall#Broken-libtool-on-Debian-and-Ubuntu)

It seems to me that /etc/ld.so.conf is a list of directories that the  
linker “ld” is being configured to vist, yes?

I tried various versions of adding the text “/usr/local/lib” to  
ld.so.conf, I ran ldconfig. The make error stayed the same.

Here is the text of the linking error:

cat errortext.txt

# Executing make

# Sunday May 19, 2013

# 

:~/gnuradio/gr-air/gr-air-modes/build$ make  
Linking CXX shared library libair\_modes.so  
/usr/bin/ld: i386 architecture of input file  
`CMakeFiles/air\_modes.dir/modes\_crc.cc.o’ is incompatible with  
i386:x86-64 output  
collect2: ld returned 1 exit status  
make[2]: \*\*\* [lib/libair\_modes.so.0.0] Error 1  
make[1]: \*\*\* [lib/CMakeFiles/air\_modes.dir/all] Error 2  
make: \*\*\* [all] Error 2

Thank you so much for your comment. Cordially yours, Lee M

---

<div class="post-metadata">

**Author:** ![Lee\_McKusick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ed655f/32.png) [@Lee\_McKusick](https://www.ruby-forum.com/u/Lee_McKusick)\
**Post date:** [May 19, 2013, 7:02pm UTC](https://www.ruby-forum.com/t/gr-air-will-not-link-correctly-on-64-bit-ubuntu-12-04-says-incompatible-with/234934/2 "2013-05-19T19:02:48Z")

</div>

> It seems to me that /etc/ld.so.conf is a list of directories that the
> 
> # 
> 
> Thank you so much for your comment. Cordially yours, Lee M
> 
> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

Here’s what I just did:

git clone [GitHub - bistromath/gr-air-modes: Gnuradio Mode-S/ADS-B radio · GitHub](https://github.com/bistromath/gr-air-modes)  
cd gr-air-modes  
mkdir build  
cd build  
cmake ..  
make

Worked just fine.

–  
Marcus L.  
Principal Investigator  
Shirleys Bay Radio Astronomy Consortium

> **[Live Draw HK Tercepat | Result HK | HK Pools | Live HK | HK Prize Hari Ini](https://www.sbrac.org)**
>
> Temukan live draw hk tercepat melalui halaman hk pools yang resmi dan dapatkan result hk prize melalui live hk secara langsung di situs kami.

---

<div class="post-metadata">

**Author:** ![Lee\_McKusick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ed655f/32.png) [@Lee\_McKusick](https://www.ruby-forum.com/u/Lee_McKusick)\
**Post date:** [May 20, 2013, 7:48am UTC](https://www.ruby-forum.com/t/gr-air-will-not-link-correctly-on-64-bit-ubuntu-12-04-says-incompatible-with/234934/3 "2013-05-20T07:48:47Z")

</div>

Run the file command on CMakeFiles/air\_modes.dir/modes\_crc.cc.o

Perhaps there is a version mismatch betwenn 32 and 64 bit ?

Volker

Am 19.05.2013 18:55, schrieb Lee McKusick:
