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

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

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

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
[email protected]
Discuss-gnuradio Info Page

Here’s what I just did:

git clone GitHub - bistromath/gr-air-modes: Gnuradio Mode-S/ADS-B radio
cd gr-air-modes
mkdir build
cd build
cmake …
make

Worked just fine.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

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: