Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - CaptainDondo

Pages: [1]
1
Open Embedded / Which Version Of Gcc To Compile Against?
« on: August 25, 2006, 06:46:11 pm »
Quote
Did you ever try this?  I'm running into the same issue myself -- my toolchain uses gcc-4.1.1 so I'm wondering if my programs will run on the Zaurus.  I'm planning on using ipkg "--force-depends" and seeing if that works.

See this.  The answer is, of course, it depends.  :-)

http://gcc.gnu.org/ml/libstdc++/2006-02/msg00086.html

I've found 3.4.4 to be the most stable for crosscompiling, but YMMV.

If you end up with weird header related issues, it's probably your gcc version,

It's not that hard to build alternate gcc toolchains.

2
Angstrom & OpenZaurus / Gpsdrive Compile Problems
« on: August 19, 2006, 01:02:04 pm »
I am trying to build the current gpsdrive cvs using the dev branch.  I updated the dev branch this morning.and downloaded the latest gpsdrive cvs.  The build is failing with this error:

Code: [Select]
NOTE: package gpsdrive-2.10pre3+cvs-20060819: started
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_fetch: started
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_fetch: completed
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_configure: started
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_configure: completed
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/temp/log.do_compile.6147)
| NOTE: make
| cd /usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive && /bin/sh /usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/missing --run autoheader
| rm -f stamp-h1
| touch /usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/config.h.in
| cd . && /bin/sh ./config.status config.h
| config.status: creating config.h
| config.status: config.h is unchanged
| make  all-recursive
| make[1]: Entering directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive'
| Making all in src
| make[2]: Entering directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/src'
| Making all in lib_map
| make[3]: Entering directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/src/lib_map'
| if arm-linux-gcc -march=armv5te -mtune=xscale -DHAVE_CONFIG_H -I. -I/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/src/lib_map -I../..   -isystem/usr/local/zaurus/tmp/staging/arm-linux/include  -isystem/usr/local/zaurus/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -D_GNU_SOURCE -g -Wall -Wno-format-y2k -pipe  -I/usr/local/include -DHAVE_GTK   -I/usr/local/zaurus/tmp/staging/arm-linux/include/gtk-2.0 -I/usr/local/zaurus/tmp/staging/arm-linux/lib/gtk-2.0/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/atk-1.0 -I/usr/local/zaurus/tmp/staging/arm-linux/include/cairo -I/usr/local/zaurus/tmp/staging/arm-linux/include/pango-1.0 -I/usr/local/zaurus/tmp/staging/arm-linux/include/glib-2.0 -I/usr/local/zaurus/tmp/staging/arm-linux/lib/glib-2.0/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/freetype2 -I/usr/local/zaurus/tmp/staging/arm-linux/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/libpng12   -pthread -I/usr/local/zaurus/tmp/staging/arm-linux/include/gtk-2.0 -I/usr/local/zaurus/tmp/staging/arm-linux/lib/gtk-2.0/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/atk-1.0 -I/usr/local/zaurus/tmp/staging/arm-linux/include/cairo -I/usr/local/zaurus/tmp/staging/arm-linux/include/pango-1.0 -I/usr/local/zaurus/tmp/staging/arm-linux/include/glib-2.0 -I/usr/local/zaurus/tmp/staging/arm-linux/lib/glib-2.0/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/freetype2 -I/usr/local/zaurus/tmp/staging/arm-linux/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/libpng12 -I/usr/local/zaurus/tmp/staging/arm-linux/include/libart-2.0   -DHAVE_CAIRO -I/usr/local/zaurus/tmp/staging/arm-linux/include/cairo -I/usr/local/zaurus/tmp/staging/arm-linux/include/freetype2 -I/usr/local/zaurus/tmp/staging/arm-linux/include -I/usr/local/zaurus/tmp/staging/arm-linux/include/libpng12    -I/usr/include/mysql  -MT map_draw.o -MD -MP -MF ".deps/map_draw.Tpo" -c -o map_draw.o map_draw.c; \
|       then mv -f ".deps/map_draw.Tpo" ".deps/map_draw.Po"; else rm -f ".deps/map_draw.Tpo"; exit 1; fi

************************************

| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/mysql

************************************

| cc1: internal compiler error: Aborted
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See for instructions.
| make[3]: *** [map_draw.o] Error 1
| make[3]: Leaving directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/src/lib_map'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/gpsdrive'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /usr/local/zaurus/tmp/work/armv5te-linux/gpsdrive-2.10pre3+cvs-20060819-r1/temp/log.do_compile.6147
NOTE: package gpsdrive-2.10pre3+cvs-20060819-r1: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gpsdrive-2.10pre3+cvs-20060819: failed
ERROR: Build of 'gpsdrive' failed
Build statistics:
  Attempted builds: 1
  Failed builds: 1

I have no idea why this is happening; I don:t know enough about gcc internals to know where to begin looking....

Any suggestions?

--Yan

3
Angstrom & OpenZaurus / Gpsdrive 2.10_pre2
« on: July 27, 2006, 09:17:52 am »
Quote
The program depends from gpsd daemon but something is wrong: gpsdrive cannot stop and start gpsd properly. Need root permission? Missing groups?

Well, after a while I realized the installed gpsd init file looks for /dev/ttyS3 but should instead listen to /dev/rfcomm0 in my case, as I specified in the gpsdrive settings.

So after the small correction, from root console just did
/etc/init.d/gpsd stop
/etc/init.d/gpsd start

This way gpsdrive found a NMEA GPS and was magically working!

There is another bug in gpsdrive + gpsd which I am trying to track down...  If you have gpsd and gpsdrive on separate machines, and the network connection gets interrupted, gpsdrive goes into an infinite loop and never reconnects.

I've submitted a patch to gpsdrive, GPSDrive Bug 90 and I've been trying to compile gpsdrive-cvs with my patch...

But the newest CVS depends on gdal.  I am new to bitbake, and I can't seem to get gdal to build...

it fails with

Code: [Select]
| automake (GNU automake) 1.9.3
| Written by Tom Tromey .
|
| Copyright 2004 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions.  There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| AUTOV is 1.9
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal-1.9 -I /home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: configure.in: not using Gettext
| autoreconf: running: aclocal -I /home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal-1.9 -I /home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal --force
| aclocal:configure.in:1940: warning: macro `AM_INIT_PYEXEC_MOD' not found in library
| aclocal:configure.in:1941: warning: macro `AM_CHECK_NUMPY' not found in library
| autoreconf: configure.in: tracing
| autoreconf: running: libtoolize --copy --force
| aclocal:configure.in:1940: warning: macro `AM_INIT_PYEXEC_MOD' not found in library
| aclocal:configure.in:1941: warning: macro `AM_CHECK_NUMPY' not found in library
| autoreconf: running: /home/nfs/yan/oz/tmp/staging/x86_64-linux/bin/autoconf --include=/home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal-1.9 --include=/home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal --force --warnings=cross
| configure.in:56: error: possibly undefined macro: AC_COMPILER_PIC
|       If this token and others are legitimate, please use m4_pattern_allow.
|       See the Autoconf documentation.
| configure.in:57: error: possibly undefined macro: AC_LD_SHARED
| configure.in:85: error: possibly undefined macro: AC_HAVE_LONG_LONG
| configure.in:86: error: possibly undefined macro: AC_UNIX_STDIO_64
| configure.in:130: error: possibly undefined macro: AC_CHECK_FUNC_CUSTOM
| configure.in:1819: error: possibly undefined macro: AC_COMPILER_WFLAGS
| configure.in:1940: error: possibly undefined macro: AM_INIT_PYEXEC_MOD
| configure.in:1941: error: possibly undefined macro: AM_CHECK_NUMPY
| configure.in:1942: error: possibly undefined macro: AC_COMPILER_LOCALHACK
| autoreconf: /home/nfs/yan/oz/tmp/staging/x86_64-linux/bin/autoconf failed with exit status: 1
| FATAL: autoreconf execution failed.

Is anyone working on GPSDrive?  Could someone please share some bitbake knowledge?

Thanks,

--Yan

4
Software / Login Manager?
« on: April 07, 2006, 12:08:23 pm »
Quote
what rom are you using?  pdaxrom and OZ gpe should have that, but the sharp rom only runs as zaurus afaik

I am using the stock Sharp 1.02 JP ROM.  I'm a bit leery of changing the ROM until I figure out how to fully backup the current config....

Basically I have a stock SL-C3100, with a few minor additions/updates, such as ssh and Opera, and bi-lingual menus...

5
Software / Login Manager?
« on: April 07, 2006, 11:59:30 am »
I know this is a bit weird, but....

We (my wife and I) use our Zaurus to keep track of trips, check our email, etc.  We bought it to replace a full-size laptop.  As such it would be really handy to have two different configurations on it....

So I'm looking for a "user manager" or "login manager", something that would allow us to have two different setups based on the user who is logged in....

Is this even possible?

I guess I am looking for something like gdm, but lightweight.... Security is not really an issue, this is more of a convenience and look and feel thing...

--Yan

6
Accessories / Cf Or Sd Wi-fi Cards
« on: April 07, 2006, 11:50:33 am »
Quote
sometimes I have read where people have had issues with a g router in mixed mode.  If you have the same problems with a dedicated b router then I suspect the mix mode a little less.  Does it connect better without encryption?  Maybe you do have a defective card or live in an area with lots of interference.

OK, let me do some more testing....  Turns out that the AP at my lab is also g... So I'm going to slow it down to b and see if that improves matters....

Quote
As far as sd/cf goes, I think CF is your only solution for reliable operation.  I haven't heard of any good cf G drivers for the Z.  My socket wifi works flawlessly, though there is some issue with it not wanting to hop channels with wellenreiter.  I have separate routers for b and g operations.

OK, thanks.  For now I am going to follow up on using b only....

I'll test my SMC as soon as I can get it flashed with linux, so I have a bit more control...

--Yan

7
Accessories / Cf Or Sd Wi-fi Cards
« on: April 07, 2006, 10:15:54 am »
Quote
You say you have g router.  Is it locked to b mode only?

No....  The card behavior is weird; at times it behaves perfectly, with good connection and range, and at other times it will not connect at all.  Would it help to lock it to b mode only?

I see this behavior with 2 different access points; one is 802.11g+ (Netgear's own 108 MBps deal) and the other is a 3Com 802.11b...  I also have an SMC 2652W (802.11b) which is down at the moment but it is typically the most reliable.... But still it can connect only about 1/2 the time to it....

I suspect it may have something to do with the encryption - but I live across from 2 schools so I really need encryption....

--Yan

8
Accessories / Cf Or Sd Wi-fi Cards
« on: April 06, 2006, 11:32:52 pm »
When I bought my SL-C3100, I also got a Planex WG-CF11X CF wifi card.  The card is supposed to be good, but I am starting to wonder if mine isn't defective.  It won't connect except about one in ten times; it won't give off errors but I get weird size packets on connection attempts (like 1.6 MB TCP packets)....

So...  I'm in the market for a new card.

If 802.11g support is working it would be nice. I have a netgear 802.11g network at the house.  I also have an 802.11b network in the travel van and at my lab at work, so I need solid 802.11b support more than g....

I live in the US, so US models, please....  (Yes I now the Planex is Japanese; I bought it in Japan.... A bit too far to go for warranty service at the moment, though.)

TIA,

--Yan

Pages: [1]