Re: GSM dongle fails to connect



On Thu, 2012-11-08 at 21:54 +0100, Aleksander Morgado wrote:
> On 08/11/12 21:42, Radu Rendec wrote:
> > ./mm-modem.h:163:25: error: unknown type name 'MMModemStateReason'
> > ./mm-modem.h:207:28: error: unknown type name 'MMModemState'
> > ./mm-modem.h:208:28: error: unknown type name 'MMModemState'
> > ./mm-modem.h:209:28: error: unknown type name 'MMModemStateReason'
>
> Those names are defined in include/ModemManager.h, which is a header
> file auto-generated from the DBus introspection files. Do you have
> 'xsltproc' installed? Just saw that we don't look for it in configure.

Thanks for the hint! I hadn't had xsltproc installed, then the build
crashed with "xsltproc: command not found". I installed it and ran
"make" again. This what I did before posting my previous email.

What probably happened is that include/ModemManager.h got created anyway
by the shell (because output from xsltproc was redirected to it). Then,
when I ran "make" again, it saw the file was already there and skipped
that rule that creates it with xsltproc. So I ended up with an empty
include/ModemManager.h.

I removed the empty include/ModemManager.h, ran "make" again and the
build completed without any problems.

I will get back to you as soon as I try it with the 3g modem.

Thanks,

Radu




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]