OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Capn_Fish on September 25, 2006, 08:45:04 pm
-
I am running Ubuntu 6.06.1 with the Beta1 cross compiler. I am trying to compile VisualBoy Advance, but it wants libpng. I have it installed, but the compiler can't find it. How do I make it recognize this library?
Thanks.
-
change the prefix during configure so that it installs the libs in /opt/cross.../
or
move the headers and .so files manually together with the other libs and headers
-
I am running Ubuntu 6.06.1 with the Beta1 cross compiler. I am trying to compile VisualBoy Advance, .
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142299\"][{POST_SNAPBACK}][/a][/div]
ohhh.. this sounds interesting.
-
I copied four or so files like "libxxx.so.x.x.x", three of which were symbolic links, and it till didn't work. Do I have to delete them from /usr/lib as well or edit any files?
Thanks.
-
you have to tell more about what you do and what error you get
-
in some cases you will need to compile two versions of the library, one native library (for the host architecture) and one cross compiled for the zaurus. the cross compiled libraries need to go under /opt/cross/.../armv5tel-linux/lib.
you also need to make sure you put the .pc file for your libary into the pkgconfig directory and/or the -config files under the bin directory of native/cross environment with the references to where to find the libraries updated to refer to the right location
-
pgas: I simply (as root) do a #CC=armv5tel-cacko-linux-gcc ./configure --host=armv5tel-cacko-linux --build=i686-linux --disable-sound", and I get
"checking for png_create_write_struct in -lpng... no
configure: error: *** Cannot compile without libpng."
Meanie: Could you explain what you mean? I take it I have to copy the libs from my Zaurus to the .../lib directory of the cross compiler as well as edit some files. Could you walk me through that?
Thanks