Author Topic: Bitbake Of Gpsd Fails Can't Find Libncurses.so  (Read 7941 times)

oninitdialog

  • Newbie
  • *
  • Posts: 39
    • View Profile
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« on: May 08, 2005, 05:25:25 am »
Does any one know how to over come the problem I have building gpsd. I don't have any problems building any other packages just this one so far.
The errors are shown below.

| ccache arm-linux-gcc -march=armv4 -mtune=xscale -I/home/don/stuff/build/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -W -I/usr/X11R6/include -o .libs/sirfmon sirfmon.o  -L/usr/X11R6/lib -lncurses ./.libs/libgps.so -lc -lnsl -lm
| /home/don/stuff/build/tmp/cross/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: skipping incompatible /lib/libncurses.so when searching for /lib/libncurses.so
| /home/don/stuff/build/tmp/cross/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: cannot find /lib/libncurses.so
| collect2: ld returned 1 exit status
| make[1]: *** [sirfmon] Error 1
| make[1]: Leaving directory `/home/don/stuff/build/tmp/work/gpsd-2.23-r0/gpsd-2.23'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
NOTE: package gpsd-2.23-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gpsd-2.23: failed
ERROR: Build of gpsd failed

Thanks
C860 PDAXROM + SL5500 Sharp ROM
Pocketop Keyboard
WCF-12, 256Meg SD, CF, GlobalSAT GPS receiver Z-ThinUSBCable, etc.
Gentoo

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« Reply #1 on: May 08, 2005, 06:56:39 am »
Looks like ncurses is a either dep and hasn't been added to the .bb file, or the lib in staging hasn't been linked correctly.

Take a look in the .b file and see if ncurses is a dep, if not, run 'bitbake ncurses', then 'bitbake gpsd' again.

Also mention this on the OE bug tracker, or on #oe and it'll be fixed.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

oninitdialog

  • Newbie
  • *
  • Posts: 39
    • View Profile
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« Reply #2 on: May 09, 2005, 02:44:37 am »
I looked at the bb file for gpsd and ncurses is not listed as a requirement. So I ran bitbake ncurses and bitbake ncurses-native but gpsd still fails in the same way and the OE bugtracker seems to be down at the moment.
C860 PDAXROM + SL5500 Sharp ROM
Pocketop Keyboard
WCF-12, 256Meg SD, CF, GlobalSAT GPS receiver Z-ThinUSBCable, etc.
Gentoo

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« Reply #3 on: May 09, 2005, 05:13:43 am »
Strange, gpsd built fine for me on Friday or Saturday (I had ncurses built already).

Have you updated your tree recently?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

oninitdialog

  • Newbie
  • *
  • Posts: 39
    • View Profile
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« Reply #4 on: May 09, 2005, 07:47:12 am »
I use bk pull is this enougth to update my tree?
C860 PDAXROM + SL5500 Sharp ROM
Pocketop Keyboard
WCF-12, 256Meg SD, CF, GlobalSAT GPS receiver Z-ThinUSBCable, etc.
Gentoo

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

oninitdialog

  • Newbie
  • *
  • Posts: 39
    • View Profile
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« Reply #6 on: May 09, 2005, 04:10:38 pm »
OK that made some changes GPSD 2.6 build but not 2.22 or 2.23 my ultimate goal is to make a bb file for the gpsd from qpegps so that I can use qpegps at last. So I thought I would try and build the existing gpsd bb files firts to test my build system.
C860 PDAXROM + SL5500 Sharp ROM
Pocketop Keyboard
WCF-12, 256Meg SD, CF, GlobalSAT GPS receiver Z-ThinUSBCable, etc.
Gentoo

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« Reply #7 on: May 09, 2005, 06:12:46 pm »
I'm not sure which version I built - I'll check tomorrow and see.

Do you have a patch for the alterations needed for qpegps?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

oninitdialog

  • Newbie
  • *
  • Posts: 39
    • View Profile
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« Reply #8 on: May 10, 2005, 02:37:12 am »
I don't have a patch I was just going to try and build the gpsd provided by th qpegps team which can be found here:
http://kent.dl.sourceforge.net/sourceforge...ps_0_9_1.tar.gz
If you use the binary gpsd they provide it runs in OZ 3.5.3 but produces the wrong cordinates I wanted to see if compiling it with soft float would change that
C860 PDAXROM + SL5500 Sharp ROM
Pocketop Keyboard
WCF-12, 256Meg SD, CF, GlobalSAT GPS receiver Z-ThinUSBCable, etc.
Gentoo

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« Reply #9 on: May 10, 2005, 07:03:09 am »
gpsd 2.20 built fine for me on the 7th of May.

Base your .bb on that - it should be pretty much identical in fact, just change the URI and see where/whether it fails.


Si

P.S. Is there any more info anywhere on why qpegps won't work with the standard gpsd?
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« Reply #10 on: May 10, 2005, 08:26:27 am »
Apparantly the new maintainer of gpsd changed the API and the qpegps people [do not want to|didn't] catch up yet. I'm sure they would appreciate patches.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Bitbake Of Gpsd Fails Can't Find Libncurses.so
« Reply #11 on: May 10, 2005, 09:02:26 am »
There is the start of some patches here (patching qpegps to work with the new gpsd) for anyone interested in sorting this out:  http://sourceforge.net/mailarchive/forum.p...8&forum_id=9990


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva