Send USRP-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of USRP-users digest..."


Today's Topics:

   1. Re: error building uhd/images (Farhad Abdolian)
   2. Problem UHD (Paola Madonna)
   3. Re: Problem UHD (Josh Blum)
   4. Re: error building uhd/images (Josh Blum)


----------------------------------------------------------------------

Message: 1
Date: Wed, 23 Mar 2011 06:52:24 -0700 (PDT)
From: Farhad Abdolian <[email protected]>
To: Arun Pillai <[email protected]>, [email protected]
Cc: [email protected]
Subject: Re: [USRP-users] error building uhd/images
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hi,
I had lots of problem installing UHD on my new installed Ubuntu 10.10 laptop. I 
could not get the cmake to work properly using the main UHD git, but when I 
used 
the alternative one, it worked properly. I am still having problem connecting 
to 
the USRP N210 via UHD even after the installation was done properly.

Best regards,
Farhad




________________________________
From: Arun Pillai <[email protected]>
To: [email protected]
Cc: [email protected]
Sent: Wed, March 23, 2011 5:44:29 AM
Subject: Re: [USRP-users] error building uhd/images

This is not a xilinx problem, it is a cmake issue due to weird interaction with 
the settings64.sh. settings64.sh sets the LD_LIBRARY_PATH to the ISE/, EDK/ 
etc. 
directories of Xilinx. cmake then looks for libstdc++.so.6, finds the one in 
Xilinx, and barfs because that libstdc++ requires some version of g++ which it 
doesn't find. If I remove the call to settings64.sh in my .bashrc, I don't have 
the problem.

So, it seems like Xilinx wants the environment one way - with its directories 
at 
the beginning of the LD_LIBRARY_PATH, and cmake wants it the other (sensible) 
way.

I ended up using something similar to your solution. The make files call 
xtclsh, 
not ise, so your method probably won't work directly, but I just created a 
xtclsh in /usr/local/bin/ that indirects to the real xtclsh in a manner similar 
to yours below, and that solves the problem. Both the FPGA and firmware now 
build without clobbering each other.

It would have been much nicer if Xilinx had done the sensible thing itself, 
putting wrappers around its executables, rather than polluting the entire 
environment with variables only it needs.

Arun

On 3/22/2011 9:15 PM, [email protected] wrote:
> Have you run the Xilinx setup scripts (setttings[32|64].sh found in the 
> Xilinx 
>directories?
> 
> I like to setup a level of indirection, with wrapper scripts pointing at the 
>Xilinx executables, as they have been historically finicky:
> 
> kfleming@wisdom:~$ cat `which ise`
> #!/bin/sh
> ###
> ### (c) Copyright 2009, Kermin Fleming, MIT
> ###
> source $XILINX_HOME/ISE/settings64.sh
> source $XILINX_HOME/EDK/settings64.sh
> exec $XILINX_HOME/ISE/bin/lin64/ise "$@"
> 
> 
> Quoting "Arun Pillai" <[email protected]>:
> 
>> I am getting the following error when running "make images" under uhd/images/
>> 
>> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version 
>>`GLIBCXX_3.4.11' not found (required by cmake)
>> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version 
>>`GLIBCXX_3.4.9' not found (required by cmake)
>> 
>> The full output of the "make images" command is:
>> 
>> mkdir uhd/images/images
>> cd uhd/images/../firmware/fx2 && rm -rf build
>> cd uhd/images/../firmware/fx2 && mkdir build
>> cd uhd/images/../firmware/fx2/build && cmake ../
>> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version 
>>`GLIBCXX_3.4.11' not found (required by cmake)
>> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version 
>>`GLIBCXX_3.4.9' not found (required by cmake)
>> make: *** [uhd/images/images/usrp1_fw.ihx] Error 1
>> 
>> I am running ubuntu 10.10, the default gcc version is 4.4. I tried going to:
>> 
>> http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/
>> 
>> but did not find any versions called 3.4.11 or 3.4.9. I tried installing the 
>>highest available version 3.4.6, but got the same error.
>> 
>> Do you know how I can solve this problem?
>> 
>> Thanks,
>> Arun
>> 
>> _______________________________________________
>> USRP-users mailing list
>> [email protected]
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>> 
> 
> 


_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20110323/663427b9/attachment-0001.html>

------------------------------

Message: 2
Date: Wed, 23 Mar 2011 15:55:25 +0100
From: "Paola Madonna" <[email protected]>
To: <[email protected]>
Subject: [USRP-users] Problem UHD
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hello,

We have installed UHD under windows but when we launch uhd_find_devices
--args="type=usrp1" a message error "NO UHD devices found" is displayed.

 

Please help me as soon as possible.

Greetings,

--------------------------------

Ing. Paola Madonna

TRS S.p.A.

Via Giulio Cesare 105

c/o Selex-SI, Stab. Fusaro

80070 Bacoli (NA)

Italy

Ph.:+39 (0)81 52 72 837

Fax: +39 (0)81 52 72 828

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20110323/97b41190/attachment-0001.html>

------------------------------

Message: 3
Date: Wed, 23 Mar 2011 09:37:16 -0700
From: Josh Blum <[email protected]>
To: [email protected]
Subject: Re: [USRP-users] Problem UHD
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1



On 03/23/2011 07:55 AM, Paola Madonna wrote:
> Hello,
> 
> We have installed UHD under windows but when we launch uhd_find_devices
> --args="type=usrp1" a message error "NO UHD devices found" is displayed.
> 
>  

Did you configure and build with USB and USRP1 support?
http://www.ettus.com/uhd_docs/manual/html/build.html#libusb-cmake-notes

Did you install the usb driver?
http://code.ettus.com/redmine/ettus/projects/uhd/wiki#Windows-USB-driver

-Josh

> 
> Please help me as soon as possible.
> 
> Greetings,
> 
> --------------------------------
> 
> Ing. Paola Madonna
> 
> TRS S.p.A.
> 
> Via Giulio Cesare 105
> 
> c/o Selex-SI, Stab. Fusaro
> 
> 80070 Bacoli (NA)
> 
> Italy
> 
> Ph.:+39 (0)81 52 72 837
> 
> Fax: +39 (0)81 52 72 828
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> 
> 
> 
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com



------------------------------

Message: 4
Date: Wed, 23 Mar 2011 09:41:17 -0700
From: Josh Blum <[email protected]>
To: [email protected]
Subject: Re: [USRP-users] error building uhd/images
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1



On 03/23/2011 06:52 AM, Farhad Abdolian wrote:
> Hi,
> I had lots of problem installing UHD on my new installed Ubuntu 10.10 laptop. 
> I 
> could not get the cmake to work properly using the main UHD git, but when I 
> used 
> the alternative one, it worked properly. I am still having problem connecting 
> to 
> the USRP N210 via UHD even after the installation was done properly.
> 

I believe that this thread was refering to building the FPGA and
firmware image files and not the host code. But if you care to elaborate
or share some details, I am sure someone could help you.

-Josh



------------------------------

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


End of USRP-users Digest, Vol 7, Issue 41
*****************************************

Reply via email to