Bridgette -- could you please briefly describe what you did that worked? Did you need to download the entire platform source code to build libgps.so?
On Jul 7, 8:49 am, bridgette <tbridge...@yahoo.com> wrote: > thanks for the input...I did get this working a while back. > > On Jun 11, 12:59 am, Mikkel Christensen > > <mikkel.christen...@ixonos.com> wrote: > > hi, > > > You need to add BOARD_GPS_LIBRARIES := "libgps" to whatever > > BoardConfig.mk file you are using. > > > Then run "touch hardware/libhardware_legacy/gps/gps.cpp" and recompile > > to pick up the changes. > > > Best regards, > > Mikkel > > > On Jun 9, 10:42 pm, Deva R <r.deva...@gmail.com> wrote: > > > > probably it expects a library libgps.default.so or libgps.<hwname>.so > > > > you can check hw_get_module() call in > > > ./hardware/libhardware/hardware.chttp://git.omapzoom.org/?p=platform/hardware/libhardware.git;a=blob;f... > > > > You can add more tract to hw_get_module() [http://goo.gl/ndQ3] to see why > > > library loading is failing. > > > > What is your hardware platform name, initialized with > > > TARGET_BOARD_PLATFORM > > > in your build?? > > > Accordingly, try modifyigAndroid.mk as > > > LOCAL_MODULE := libgps.$(TARGET_BOARD_PLATFORM) > > > or > > > LOCAL_MODULE := libgps.default > > > > -Deva > > > > On Thu, Jun 10, 2010 at 1:23 AM, bridgette <tbridge...@yahoo.com> wrote: > > > > I have created a shared library, libgps.so that implements thegps.h > > > > in order to > > > > use aGPSreceiver withAndroidand the libgps.so file was installed > > > > into the > > > > system/lib when the build completed. > > > > > I get the following from logcat...libhardware_legacy( 772): noGPS > > > > hardware on this device. > > > > > In the hardware/libhardware_legacy/gps/gps.cpp file, a > > > > HAVE_GPS_HARDWARE flag is wrapped around > > > > the call to the gps_get_hardware_interface()...in the same directory, > > > > I set BOARD_GPS_LIBRARIES > > > > yet I still get the "noGPShardware..." message. > > > > > BOARD_GPS_LIBRARIES := libgps.so > > > > > ifneq ($(BOARD_GPS_LIBRARIES),) > > > > LOCAL_CFLAGS += -DHAVE_GPS_HARDWARE > > > > LOCAL_SHARED_LIBRARIES += $(BOARD_GPS_LIBRARIES) > > > > endif > > > > > Any suggestions? > > > > > Thanks. > > > > > -- > > > > unsubscribe:android-porting+unsubscr...@googlegroups.com<android-porting%2Bunsubscribe@ > > > > googlegroups.com> > > > > website:http://groups.google.com/group/android-porting > > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting