TMIB
Still Fresh
- Joined
- Jul 26, 2011
- Messages
- 18
I'm trying to get Xastir ported over to work on the Pandora, and I'm not having much luck. I'm hoping someone here can offer some useful suggestions. I'm pretty new to Linux, (most of my coding has been in C++ and C# using Windos)so I'm struggling my way through the process of trying to cross-compile it for this platform. (which means a lot of looking up posts by folks in esoteric linux forums around the net.) I'm doing my compiling on a VirtualBox running a VM of Fedora15.
I've got the cross compiler setup, and I've worked out most of the dependencies. However when I try and run the configure file for Xastir (./configure --host=arm-none-linux-gnueabi --prefix=$PNDSDK) I get a message that it cant find the -lxm files it needs.
I believe that means I also need to cross compile the X11 libraries for the Angstrom, so I've been trudging my way through that, figuring out all the odd dependencies and compiling them individually. It's been a rather difficult process, though I feel like I've made a lot of progress. However I've now run into another block, as trying to run "make" for libX11-1.4.0 is giving me errors:
make[3]: Entering directory `/media/sf_vmshare/libX11-1.4.0/modules/im/ximcp'
CC imCallbk.lo
arm-angstrom-linux-gnueabi-gcc: 11_CFLAGS: No such file or directory
arm-angstrom-linux-gnueabi-gcc: ../xproto-7.0.20: No such file or directory
In file included from ../../../include/X11/xlocale.h:36,
from /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/string.h:118,
from /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/X11/Xfuncs.h:46,
from ../../../include/X11/Xlibint.h:229,
from imCallbk.c:38:
/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/locale.h:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'locale_t'
I'm not sure what that's all about. the makefile includes a line that might not be getting escaped properly: "X11_CFLAGS = $X11_CFLAGS ../xproto-7.0.20", but removing this section does not remove the error.
My end goal is to be able to use the Pandora as both an APRS front end as well as a heads-up GPS, (in addition to an awesome retro gaming console) Right now I've got everything setup in the Jeep so that my radio, TNC (a Tinytrak4) and GPS sensor hook to my Windows Tablet PC running APRSISCE. It does everything I need- however the tablet is a much larger device and can't work as a dash-mounted solution. (it's usually something that my passenger has to hold in their lap). If I can accomplish the same thing with the Pandora, then I'll be able to just set the unit on the dash and have a very handy display.
has anyone had success in compiling the X11 libraries for the Pandora, or perhaps even Xastir?
Thanks,
--TMIB
I've got the cross compiler setup, and I've worked out most of the dependencies. However when I try and run the configure file for Xastir (./configure --host=arm-none-linux-gnueabi --prefix=$PNDSDK) I get a message that it cant find the -lxm files it needs.
I believe that means I also need to cross compile the X11 libraries for the Angstrom, so I've been trudging my way through that, figuring out all the odd dependencies and compiling them individually. It's been a rather difficult process, though I feel like I've made a lot of progress. However I've now run into another block, as trying to run "make" for libX11-1.4.0 is giving me errors:
make[3]: Entering directory `/media/sf_vmshare/libX11-1.4.0/modules/im/ximcp'
CC imCallbk.lo
arm-angstrom-linux-gnueabi-gcc: 11_CFLAGS: No such file or directory
arm-angstrom-linux-gnueabi-gcc: ../xproto-7.0.20: No such file or directory
In file included from ../../../include/X11/xlocale.h:36,
from /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/string.h:118,
from /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/X11/Xfuncs.h:46,
from ../../../include/X11/Xlibint.h:229,
from imCallbk.c:38:
/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/include/locale.h:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'locale_t'
I'm not sure what that's all about. the makefile includes a line that might not be getting escaped properly: "X11_CFLAGS = $X11_CFLAGS ../xproto-7.0.20", but removing this section does not remove the error.
My end goal is to be able to use the Pandora as both an APRS front end as well as a heads-up GPS, (in addition to an awesome retro gaming console) Right now I've got everything setup in the Jeep so that my radio, TNC (a Tinytrak4) and GPS sensor hook to my Windows Tablet PC running APRSISCE. It does everything I need- however the tablet is a much larger device and can't work as a dash-mounted solution. (it's usually something that my passenger has to hold in their lap). If I can accomplish the same thing with the Pandora, then I'll be able to just set the unit on the dash and have a very handy display.
has anyone had success in compiling the X11 libraries for the Pandora, or perhaps even Xastir?
Thanks,
--TMIB