Hi, Amruta
I already have Compiled it For Openmoko and Might Upload it on *Source Forge
* with all necessary tools In a day Or Two, If You Need it then Be wait a
bit
On Thu, Feb 18, 2010 at 2:10 AM, Hal Finney <[email protected]> wrote:
> Hi Amruta - I guess for OpenMoko development you need to cross-compile
> for Arm, and somehow it is pulling in some native libraries. Maybe
> something is going wrong in the configure process? Probably you would
> get more answers asking on openmoko development forums. Cross
> compiling is often tricky to get set up right.
>
> Hal
>
>
> On Tue, Feb 16, 2010 at 7:43 PM, Amruta Gokhale <[email protected]>
> wrote:
> > Oh, I had forgotten about that :(
> > Thanks Hal. "make clean" solved that problem.
> >
> > But now, I am facing another issue - something to do with the library
> flags.
> >
> > When I run "make", it gives following error:
> > <error>
> > /usr/lib/libgio-2.0.so: could not read symbols: File in wrong format
> > collect2: ld returned 1 exit status
> > make: *** [libtspi.la] Error 1
> > </error>
> >
> > From the gcc command, what I figured out was that both the files,
> > /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/libgio-2.0.soand
> > /usr/lib/libgio-2.0.so, are being passed to the linker. I don't
> understand
> > whether this is right (because of library dependencies) or whether this
> is a
> > mistake caused by some wrong environment variable, and
> > /usr/lib/libgio-2.0.so should never need to be passed to the linker...
> >
> > I also tried setting
> > GTK_LIBS=-L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib
> >
> > But it didn't work.
> >
> > Here are some variables of my environment:
> > <env>
> > CC=ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
> > RANLIB=arm-angstrom-linux-gnueabi-ranlib
> > CFLAGS=-isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
> > -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
> > GNOME_DESKTOP_SESSION_ID=this-is-deprecated
> >
> PATH=/usr/local/openmoko/arm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> > LD=arm-angstrom-linux-gnueabi-ld
> > LDFLAGS=-L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
> > -Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
> > -Wl,-O1
> > </env>
> >
> > Can someone help me to figure out what is going wrong?
> >
> > Thank you.
> > Amruta
> >
> >
> > Hal Finney wrote:
> >>
> >> Try make clean? See if that helps -
> >> Hal
> >>
> >
> >
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> TrouSerS-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/trousers-users
>
--
Waqar Afridi
Android Developer
SERG IM|Sciences
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users