Hi,

You probably want to run ./buildgen.sh cleanall to make sure that 
configure isn't caching anything that it's worked out previously.

I forgot to mention that I also always export LDFLAGS=-L$ROOTFS/usr/lib 
(as libtool has sometimes got confused on systems I've built on).

However that doesn't look like it's your problem. Is it possible to 
provide at least the few lines before the error? A full log of the 
output of make and configure would be useful but really I'm just looking 
for what compiler is getting invoked and what flags it's being provided 
with.

It looks like configure isn't detecting the toolchain correctly. Is it 
running the gcc for your ARM target? If it isn't then you can tell 
configure the command it should be running by exporting CC, CXX and LD 
before running configure. For example I've been building with 
CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++ 
LD=arm-none-linux-gnueabi-ld.

Regards,

Toby

On 28/02/2011 12:45, naveen_...@yahoo.co.in wrote:
> Hi Toby,
>
> Thank you for your support.
>
> I am totally confused with this path problem. I followed the steps as said by 
> you
>
> 1. I mounted the root file system of ARM on desktop
> (Assume ROOTFS=mounted ARM root file system)
> 2. I set the library install path as
> ROOTFS/usr
> 3. I cross compiled the libusb library. The libusb libraries got installed at 
> ROOTFS/usr/lib directory
> 4. I exported the paths as below
>
> Export PKG_CONFIG_LIBDIR=ROOTFS/usr
>
> Export PKG_CONFIG_PATH=ROOTFS/usr/lib/pkgconfig
>
> 5. ./buildgen.sh
>
> 6. ./configure --host=arm
>
> 7. Make
>
> But again I am getting an error as mentioned below
> J_server.cc: in member function 'bool barry:: JDWP::JDWServer::start()';
> J_server.cc: 135: error: invalid 'asm': invalid operand for code 'w'
>
>
> Thanks and Regards
> Naveen
> Sent from BlackBerry® on Airtel
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search&  Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights.http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to