Hi,

I get this build failure for recent mscommd/libfsotransport (clean OE setup),
I am not interested in msmcommd itself but OE brings it in when building
fso2-console-image and this failure stops the build.

| /home/ao2/Proj/EZX/OE/build/tmp/sysroots/x86_64-linux/usr/bin/valac -C \
  --debug --vapidir ../vapi --pkg posix --pkg glib-2.0 --pkg gio-2.0 \
  --pkg gee-1.0 --pkg fsotransport-2.0 --pkg config --thread --save-temps \
  --basedir ../.. contract.vala main.vala crc.vala frame.vala timer.vala \
  util.vala linkcontext.vala abstractlinkhandler.vala \
  activelinkhandler.vala flowcontrolhandler.vala setuplinkhandler.vala \
  transmissionhandler.vala linklayercontrol.vala worker.vala \
  remoteclienthandler.vala remoteclient.vala lowlevelcontrol.vala
| msmcommd/src/worker.vala:103.29-103.56: error: The name `HsuartTransport' 
does not exist in the context of `FsoFramework'
|             transport = new 
FsoFramework.HsuartTransport(modem_config["path"]);
|                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Compilation failed: 1 error(s), 0 warning(s)

I think this fails because hsuart is not compiled in libfsotransport as
WANT_MACHINE_PALMPRE is not defined,
see libfsotransport/fsotransport/Makefile.am

Even enabling palmpre machine with a change like this in OE is not
enough as there is not a recipe for palmpre-system-deps in OE AFAICS.

diff --git a/recipes/freesmartphone/libfsotransport_git.bb 
b/recipes/freesmartphone/libfsotransport_git.bb
index 7e7e6d6..9b42705 100644
--- a/recipes/freesmartphone/libfsotransport_git.bb
+++ b/recipes/freesmartphone/libfsotransport_git.bb
@@ -3,4 +3,8 @@ DESCRIPTION = "freesmartphone.org transport library"
 SRCREV = "${FSO_CORNUCOPIA_SRCREV}"
 PV = "0.9.6+gitr${SRCPV}"
 PE = "1"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
+
+EXTRA_OECONF_append = "\
+  --with-machine=palmpre \
+"

And a related question I have: isn't fso designed to be built with
multi-machine support? Isn't this --with-machine=xxx approach from
commit 7e3e45080a97d0022d1c780832cb6e5f3df37cba against this principle?
I think we should be able to enable/disable machines, more like
--enable-modem-qualcomm-palm in fsogsmd, but selecting one should not
assume the others are being disabled.

Thanks,
   Antonio

-- 
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?

Attachment: pgpjwiygiYaDH.pgp
Description: PGP signature

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to