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.so and /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
